Skip to main content

Scaffolds Claude Code / Cursor / Codex skills that teach coding agents to build with the cuga framework

Project description

cuga-harness-kit

Skills that teach Claude Code, Cursor, Codex, and Bob how to install, launch, and build with cuga — the open-source generalist agent framework.

No git clone, no marketplace install. Just:

pip install cuga-harness-kit
cuga-harness-kit init

Run init from an empty new project you're starting from scratch, or from inside an existing cuga checkout — either way it writes the same skill set into the current directory:

  • .claude/skills/<name>/SKILL.md — auto-discovered by Claude Code just by opening the folder.
  • .cursor/rules/cuga-<name>.mdc — auto-discovered by Cursor.
  • AGENTS.md — read wholesale by Codex (and other AGENTS.md-aware tools). Re-running init only touches the <!-- cuga-harness-kit:start/end --> block, so it won't clobber anything else you've written in that file.
  • .bob/rules/cuga-<name>.md — loaded by IBM Bob. Unlike the other three, Bob has no frontmatter/description-based selection: every file under .bob/rules/ is injected into every conversation in full, not just when relevant. (Bob also auto-loads AGENTS.md by default, so the Codex output above already reaches it too — the .bob/rules/ files exist for teams that want per-skill files instead of one shared doc.)

Then open the folder in your assistant of choice and ask something like "help me build a cuga tool" or "how do I launch cuga".

What's included (v1)

Skill Teaches
getting-started Entry point — routes to the right skill below.
install-and-launch pip install cuga, cuga start <mode>.
build-agent CugaAgent / CugaSupervisor SDK basics.
build-cuga-skill Authoring cuga's own runtime skills (.cuga/skills/<name>/SKILL.md) — not to be confused with the IDE-assistant skills in this repo.
build-tool Registering a LangChain / OpenAPI / MCP tool.
author-policy Intent guards, playbooks, tool approval/guides, output formatters — one unified skill.
knowledge-rag Document ingestion/search.
debug-trajectory cuga viz, cuga doctor, common failure patterns.

All 8 are authored once, as Claude-native SKILL.md files under src/cuga_harness_kit/skills/, and rendered into the Cursor/Codex/Bob shapes at init time (src/cuga_harness_kit/render.py) — there's a single source of truth per skill, not four copies to keep in sync by hand.

CLI

cuga-harness-kit init [--targets claude,cursor,codex,bob] [--force] [--dry-run]
  • --targets — comma-separated subset of claude, cursor, codex, bob (default: all four).
  • --force — overwrite .claude/skills/*, .cursor/rules/*, and .bob/rules/* files that already exist with different content (default: skip and report). AGENTS.md's managed block always updates regardless, since it never touches content outside its markers.
  • --dry-run — print what would be written without touching disk.

Development

uv sync  # or: pip install -e '.[dev]' equivalent via [dependency-groups]
uv run pytest

Phase 2 (not yet built)

Real Claude Code plugin packaging (.claude-plugin/plugin.json + marketplace listing for /plugin install), slash commands, session hooks, a smarter update/diff command, and additional harness targets (Windsurf, .clinerules, GEMINI.md) — add these only if a real gap shows up.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cuga_harness_kit-0.1.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cuga_harness_kit-0.1.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file cuga_harness_kit-0.1.0.tar.gz.

File metadata

  • Download URL: cuga_harness_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cuga_harness_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b399e21999c0f05654e8bff622b439ffe55c22118410f4ca48e9da9d9d09ff02
MD5 bf1fd553c9fad58c264c569062a9312f
BLAKE2b-256 c44ea2d48039cfea41185c2b32c313bdf1b7cfc2b9873822d6939473aea02167

See more details on using hashes here.

File details

Details for the file cuga_harness_kit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cuga_harness_kit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cuga_harness_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe336b90ac954f184d397211b432467b95f70d30ff847597ef02a7e9431460de
MD5 1239ef69f70fd990503f5716f00275f0
BLAKE2b-256 a1978ac87667b3a6a9ed899b2e943bd9b0f6cb5ec02241905154fd461731db0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page