Skip to main content

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, Cursor, Codex, or Bob from the project folder you want to set up:

Run `uv tool install --upgrade cuga-harness-kit`, then `cuga-harness-kit init` in this folder. Read and follow the full `using-cuga` skill.

This prompt installs the latest published release from PyPI.

The assistant will install this kit, scaffold the cuga guidance files, then follow using-cuga:

  1. Inspect the existing project and reuse any established provider, execution mode, and successful checks.
  2. Configure your LLM provider and verify a model request. Install CUGA for a local SDK app or local server when needed; use existing server-side configuration for a remote managed-server client.
  3. Explain what you want to build and choose SDK embedding (usually your own app/UI) or a managed CUGA server (Manage UI, draft/publish config, HTTP clients). A custom UI can use either path.
  4. 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-running init only 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 .env API-key setup.

What's included

Skill Teaches
using-cuga New-build entry point: verify LLM configuration, understand the goal, choose SDK or managed server with the user.
getting-started Routes focused requests to the appropriate builder skill.
install-and-launch uv init, uv add cuga, .env API keys, uv run cuga start <mode>.
build-agent Embedded single-agent CugaAgent SDK basics.
build-supervisor SDK and managed multi-agent teams, specialist ID references, delegation, draft/publish checks and supervisor demos.
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 of claude, 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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cuga-harness-kit 0.1.5
File Size Uploaded Provenance
cuga_harness_kit-0.1.5.tar.gz 229.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cuga-harness-kit 0.1.5
File Interpreter ABI Platform
cuga_harness_kit-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 458.1 kB

Release files / cuga_harness_kit-0.1.5.tar.gz

Download URL cuga_harness_kit-0.1.5.tar.gz
Size 229.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4070badecd4fe657834338f2f9e81fb2964b9d8818a17d4242fa9f5c3c351a3e
BLAKE2b-256 checksum
How to use checksums
5614ff08229338a131d459a0fddfa1f97e368d477e3d8bd6fc173a4ef6368e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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.5-py3-none-any.whl

Download URL cuga_harness_kit-0.1.5-py3-none-any.whl
Size 228.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de008e8286312d4dd085c4b697b50ab634b2b52cbd43d2031de69f8eca7cb81c
BLAKE2b-256 checksum
How to use checksums
8437947d2145a7887e7ad5d1db8bd21e7939d60157127cc9add52217b94bf969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page