By April, the capabilities file covered more than MCP proxying. CAPA 1.3 (April 6) added sub-agents. A sub-agent is a named specialist with dedicated instructions, and it receives only the listed tools.
The problem
A general agent with every tool will eventually use one that it should not. For example, the research pass does not need to publish, push, or send. If these tools are in its list, the only safeguard is the prompt, and prompts leak.
We wanted the restriction in the config, where it can be inspected.
Declare the specialist
A sub-agent references skill ids and tool ids that already exist in the file. The following sub-agent only performs lookups and then stops.
subagents:
- id: research-agent
description: >-
Looks up product facts before a brief is written. Use when a draft
needs sources. Does not publish.
skills:
- draft-brief
tools:
- draft-status
instructions: |
You gather sources for the brief. You do not publish it.
capa install then writes this definition in the native format of each provider. Cursor receives .cursor/agents/research-agent.md. Claude Code receives .claude/agents/research-agent.md and, additionally, a second MCP entry (capa-research-agent) that only accepts the listed tools. Any request for another tool is rejected.
The figure below shows the Cursor file from this install.

Cursor uses the description to determine when to delegate. Thus, the description has to specify when to use the agent and what it must not do (e.g. “Helps with research” is not sufficient).
What this is not
The filtered MCP endpoint is the hard boundary, and currently that registration exists for Claude Code. Cursor keeps a single capa MCP entry and uses the agent file for delegation. Therefore, when the tool list must be enforced rather than suggested, it is important to check which client the install targeted.
Removing the sub-agent from the file and re-running capa install deletes the agent files. Additionally, capa clean removes all of them.
Why it mattered
The February post reduced the tool list for the main agent. Sub-agents apply the same reduction to each role. Specifically, the research agent can print a status line. However, it cannot publish the brief, because that tool was not assigned to it.
Sub-agents were introduced in CAPA 1.3. The agent file above is from a current install (version 2.2.4).