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.
Assistant quickstart
Paste this into Claude Code or Cursor or Bob from the project folder you want to set up:
Run `uv tool install cuga-harness-kit`, then `cuga-harness-kit init` in this folder. Then suggest what I should do next to get cuga running.
The assistant will install this kit, scaffold the cuga guidance files, then suggest the next steps:
uv add cuga— add cuga to your project.- Create a
.env— usedocs/cuga-env-api-keys.mdfor your LLM provider. - Choose a path:
uv run cuga start demofor examples,uv run cuga start managerfor draft/publish configuration, or embedCugaAgentin Python. - Ask "help me build a cuga tool" or "how do I add a policy" when you're ready to build.
Manual install
No git clone, no marketplace install:
uv tool install cuga-harness-kit
(if update: uv pip install -e . --reinstall-package cuga-harness-kit)
cuga-harness-kit init
If you're installing inside an already-active virtualenv instead of as a CLI tool, use uv pip install cuga-harness-kit.
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..cursor/rules/cuga-<name>.mdc— auto-discovered by Cursor.AGENTS.md— read by Codex. Re-runninginitonly touches the managed block, so it won't clobber the rest of the file..bob/skills/<name>/SKILL.md— auto-discovered by IBM Bob.docs/cuga-env-api-keys.md— local reference for.envAPI-key setup.
What's included
| Skill | Teaches |
|---|---|
getting-started |
Entry point — routes to the right skill below. |
install-and-launch |
uv init, uv add cuga, .env API keys, uv run cuga start <mode>. |
build-agent |
Embedded CugaAgent / CugaSupervisor SDK basics. |
managed-server |
Manage UI/HTTP draft → test → publish config; production invocation. |
build-cuga-skill |
Authoring cuga's own runtime skills — not the same as 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. |
knowledge-rag |
Document ingestion/search. |
debug-trajectory |
cuga viz, cuga doctor, common failure patterns. |
Each is authored once as a SKILL.md under src/cuga_harness_kit/builder-skills/, then rendered into the Cursor/Codex shapes (or used verbatim for Claude/Bob) at init time.
CLI
cuga-harness-kit init [--targets claude,cursor,codex,bob] [--force] [--dry-run]
cuga-harness-kit update # alias for `init --force`
--targets— comma-separated subset ofclaude,cursor,codex,bob(default: all four).--force— overwrite scaffolded files that already exist and differ (default: skip and report).--dry-run— print what would be written without touching disk.
Migration pipeline (optional, claude/bob only)
Besides the guidance skills above, this kit can also scaffold cuga-migrator — a separate tool that converts an existing agent system into a cuga SDK implementation, via a 5-stage pipeline (analyst → implementer → test_writer → evaluator → debugger). It's opt-in and exclusive: it replaces the guidance skills for that run rather than adding to them.
cuga-harness-kit init --targets claude --migration # or --targets bob
This scaffolds the migration skills/agents, launch scripts, cuga-templates/, and
migration_from//migration_to/, then clones the cuga SDK
for the pipeline to reference. Once scaffolded, three more subcommands become available, grouped
under migrate:
cuga-harness-kit migrate source_sync <source-name>
cuga-harness-kit migrate cuga_sync
cuga-harness-kit migrate run <source-name> <target-name>
You can also just ask Claude Code / Bob directly, in natural language. See the scaffolded kit's
own README.md for the full walkthrough. Useful flags: --skip-sdk (don't clone the SDK),
--cuga-ref <branch-or-tag> (pin a version).
Updating
New releases of cuga-harness-kit ship improved skill content. To pick it up in a project that already ran init:
uv tool upgrade cuga-harness-kit
cuga-harness-kit update
update overwrites scaffolded files unconditionally — if you hand-edited one to customize it, update will clobber that edit (there's no diff/merge, except for AGENTS.md's managed block). Copy customizations out first if you want to keep them.
cuga project setup
When the generated skills help you install cuga in an app, they default to a uv project so dependencies are captured in pyproject.toml:
uv init my-cuga-app
cd my-cuga-app
uv add cuga
The SDK configures an agent in your Python process. The managed server reads per-agent draft and published versions from its config store. SDK tools/policies and .cuga/ files do not automatically update managed config; use the managed-server skill for that workflow.
For API keys and provider settings, see docs/env-api-keys.md.
Development
uv sync
uv run pytest
For the runtime-backed builder checks and their coverage limits, see builder validation.
Metadata
Release files for cuga-harness-kit 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cuga_harness_kit-0.1.2.tar.gz | 216.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuga_harness_kit-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 434.5 kB
Release files / cuga_harness_kit-0.1.2.tar.gz
| Download URL | cuga_harness_kit-0.1.2.tar.gz |
|---|---|
| Size | 216.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08d8fdee4ddffff1624d9b0e6439b020c061feebe489efa3d1309fe6a2ac1013
|
|
BLAKE2b-256 checksum How to use checksums |
0079be939096792558f859f4a223e111db1c6d2522035736f37c4f29456a5936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Release files / cuga_harness_kit-0.1.2-py3-none-any.whl
| Download URL | cuga_harness_kit-0.1.2-py3-none-any.whl |
|---|---|
| Size | 217.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
838c8dc8fa672928480eadae7acde6d57ac7a4c000a215c202600bb5746abf5c
|
|
BLAKE2b-256 checksum How to use checksums |
e8d1a5a1722fcc110a405b65a3dac8ecc9113ad8a154062ee1530cfdefc365a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Security for cuga-harness-kit 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.