infragate/capa

One capabilities.yaml wires skills, tools, rules, sub-agents, MCP servers, and plugins into Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 30+ other AI coding agents

What it solves

AI coding agents today are configured in scattered places: CLAUDE.md files, .cursor/rules, AGENTS.md, MCP JSON, hooks, and skill folders. Each teammate has a different setup, nothing is pinned to a specific version, and cloning a repository doesn't bring along the agent configuration. CAPA collapses all of this into one file (capabilities.yaml) next to your code, plus a local MCP gateway that sits in front of every tool.

How it works

You declare every capability once in capabilities.yaml: skills, tools, rules, sub-agents, MCP servers, hooks, and plugins. Then you run capa install. CAPA fans that single declaration out to each provider’s native format — like .cursor/rules/, .claude/agents/, AGENTS.md — and writes them with SHA pins in a capabilities.lock file, so a fresh clone gets exactly the same setup. It also registers a local MCP endpoint that proxies upstream MCP servers, lazy-loads tools on demand, and filters which tools each sub-agent can call. You can run your agent from a shadow workspace with capa wrap, avoiding any pollution of your repo. The embedded web UI lets you edit capabilities and see live activity traces.

Who it’s for

CAPA is for developers and teams who use AI coding agents (like Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and many others) and want a single, reproducible, version-controlled way to manage agent skills, tools, rules, and server integrations — without manually syncing files across tools or teammates.

Highlights

  • One file → 35+ agents: write once, install to each provider's native layout
  • MCP gateway: one local endpoint per agent, proxying upstream servers with on-demand tool loading
  • Cheaper inference: lazy-loading tools instead of front-loading the whole catalog reduces tokens by 19–40% (based on 150 trials on claude-opus-4-8)
  • capa wrap: run agents in a shadow workspace to keep provider directories out of your real repo
  • Local Web UI: interactive capabilities editor with live YAML sync, registry browsing, and activity feed
  • Plugins that unpack: Claude and Cursor plugins decompose into skills, MCP, rules, sub-agents, and hooks
  • Registries: browse and add from skills.sh, Cursor Marketplace, and Claude plugin catalogs
  • Sub-agent isolation: each sub-agent gets a filtered MCP endpoint so research agents don’t inherit dangerous tools

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project