Agent Composition is a canonical model of what an agent is made of and how its parts relate, so that an agent built in any framework can be taken apart, mapped and managed without losing track of what depends on what.

A composition is one JSON file. It lists the parts of an agent, says for each whether it works on any harness or only on one, and records the relationships between the parts: which skill builds on which, which file one skill reads from another, which parts were copied from where, and what each part needs from whoever runs the agent.

This specification is transport-neutral and framework-neutral. It requires no particular network, harness, model or vendor.


1. Scope#

1.1. What this standard is#

The Common Agent Specification describes an agent from the outside: how to call it, what it offers, who answers for it. It says nothing about the inside, on purpose. Agent Composition is the inside. It is optional: an agent that never shows its insides, such as one reached only at an A2A address, is still a complete Common Agent.

Agent Composition is descriptive in what it covers: it records an agent as it was built and never tells a framework how to build one. It is normative in its format: every composition follows the same parts, relationships and rules, so any tool can read any composition.

A composition names the same agent, by name and version, as its Common Agent Descriptor. Nothing else links the two.

1.2. How it relates to the Common Agent Specification#

The Common Agent Specification is the outside of an agent: its identity, its Descriptor, its refusals and the records others keep about it. This standard is the inside: the parts the agent is built from and what depends on what. An agent can conform to the Common Agent Specification with no composition at all, and a composition does not change what that specification requires of the agent. Publishing a composition is a choice the agent's owner makes.

1.3. How a composition is carried#

A composition is carried inside an Agent Plugin, under the extensions namespace net.commonagent, in a folder named net.commonagent/ that holds composition.json. Section 6.2 gives the layout.

Agent Plugins 1.0.0 allows extension namespaces written as reverse domain names and gives them no meaning of their own, and a client MUST ignore a namespace it does not implement. A client that has never heard of Agent Composition therefore installs and runs the plugin exactly as before.

1.4. Requirements language#

The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as described in RFC 2119.


2. Parts#

Six kinds of part make up an agent. Each one says whether it is portable (it works on any harness that follows the standard it names) or bound (it works only on the harness it names).

Part What it is In the Design agent
agent The whole: its name, version and where its source lives. design-agent, langchain-ai/design-agent at 86d8f66
instructions The prompt the agent works from. instructions.md
skill An Agent Skills folder: SKILL.md and its files. 36 skills, such as stills, launch-film, hyperframes
file A script, reference or asset. Usually inside a skill; sometimes stored apart. 793 files in its skills, plus 6 fonts in skill-binaries/
tool Something the agent calls: an MCP server, or a function in its own code. 12 MCP servers (Notion, Linear, Figma, GitHub and others), which its config lists as commented-out examples and does not set up; 34 code tools and services of its own (upload_files, fetch_asset, image, voice, render status and trace tools, a Slack channel, a schedule and the LangSmith service)
helper A sub-agent it starts for a piece of the work. 6 helpers: worker, general-purpose, learning, and the worker again at three effort levels (low, xhigh, max)

Four kinds of need sit outside the agent. A part points at a need; the need is met by whoever runs the agent. A need says neither portable nor bound, because it is not built into the agent.

Need What it is In the Design agent
model A model role, with what it must do (see images, use tools). lead, helper, look, tool selector, learning
compute A machine the work runs on. A sandbox with Chrome, ffmpeg, Node, Python, HyperFrames, D2, Playwright and fonts
key An account it calls with. Names the service, never holds the secret. The keys its code reads: ElevenLabs, Google, HeyGen and LangSmith
material Content the customer supplies and the agent reads. The brand pack and licensed fonts

3. Relationships#

Relationships carry what a list of parts cannot: what breaks when you move one part without another.

Relationship From and to In the Design agent
follows agent to instructions design-agent follows instructions.md
has agent to skill, tool, helper design-agent has 36 skills, 46 tools and 6 helpers
routes-to instructions or skill to skill instructions route to media-production, which routes to 15 skills
reads skill to file of another skill 86 in all. pr-to-video reads 17 files and folders in four other skills, such as hyperframes' script-format.md
builds-on skill to skill 16 skills build on hyperframes; 37 pairs of skills in all
stores-apart skill to file outside it hyperframes-creative stores 6 fonts in skill-binaries/
copied-from skill to a source and version 17 skills from heygen-com/hyperframes v0.8.169; 1 from langchain-ai/langsmith-skills
needs skill, tool or helper to need 18 skills need the sandbox; list_traces and read_trace need the LangSmith key
shares helper to the agent's skills or tools every helper reads the same /skills/ as the lead

4. Rules#

  1. Every part MUST have an id unique within the composition, and a kind from section 2.
  2. Every part MUST say portable or bound. A bound part MUST name the harness it is bound to.
  3. Whatever a framework has that this model cannot express MUST still be recorded, as a bound part with the framework's own name for it. Nothing is dropped in the mapping without a trace.
  4. A key MUST NOT hold a secret. It names the service and what the key is for.
  5. A copied part SHOULD name its source, version and license.
  6. A file SHOULD carry its size and sha256, so a copy can be checked against the original.

5. The Design agent, composed#

The worked example is a real, public, open-source agent: the Design agent of LangChain, at langchain-ai/design-agent, commit 86d8f66. Its composition is in examples/design-agent.composition.json, and a readable page sets the same composition out to read.

Count What it counts
36 skills
86 links between skills (reads), in 37 pairs of skills
18 skills copied from elsewhere
6 helpers

Each distinct file or folder a skill references in another skill's folder, by a relative path in any of its markdown files, is one reads; each pair of skills with at least one reads is one builds-on.

The composition in the example was written by an inspection of the repository. The routes-to relationships and the material need are added by hand, because an inspection cannot detect them.

How its parts relate, drawn as one line for each relationship:

design-agent --follows--> instructions
instructions --routes-to--> media-production
media-production --routes-to--> 15 skills, among them stills, thumbnails, data-viz, storyboard, slideshow, launch-film and hyperframes
16 video skills --builds-on--> hyperframes
pr-to-video --reads--> 17 files and folders of 4 other skills, among them hyperframes-creative
hyperframes-creative --stores-apart--> 6 fonts
hyperframes --copied-from--> heygen-com/hyperframes v0.8.169
design-agent --has--> worker, general-purpose, learning and worker at three effort levels
6 helpers --shares--> the agent's skills
18 skills --needs--> sandbox
design-agent --has--> 12 MCP servers (examples in config, not set up) and 34 code tools
list_traces, read_trace --needs--> LangSmith key

5.1. What is bound#

Mapped honestly, the Design agent splits in two. Its skills, files, instructions and MCP servers are portable. Its code tools, its six helpers, its memory, its Slack channel and its schedule are bound to Deep Agents, and its LangSmith service is bound to LangSmith. The bound half is its engine: how it plans long jobs, delegates to helpers and watches renders.


6. Format#

6.1. The file#

A composition is one JSON file, composition.json. It has an agent member that names the agent, a parts array and a relationships array. Each member is defined by the JSON Schema in schema/composition.schema.json, version 0.2.2-draft, written for JSON Schema 2020-12.

An excerpt of the Design agent's:

{
  "agent": { "name": "design-agent", "version": "86d8f66", "source": "https://github.com/langchain-ai/design-agent" },
  "parts": [
    { "id": "instructions", "kind": "instructions", "path": "instructions.md", "portable": true },
    { "id": "hyperframes", "kind": "skill", "path": "skills/hyperframes", "portable": true },
    { "id": "pr-to-video", "kind": "skill", "path": "skills/pr-to-video", "portable": true },
    { "id": "file.skill-binaries-hyperframes-creative-frame-presets-code-editorial-fonts-Inter-400.woff2", "kind": "file", "path": "skill-binaries/hyperframes-creative/frame-presets/code-editorial/fonts/Inter-400.woff2", "size": 23664, "portable": true },
    { "id": "worker", "kind": "helper", "bound": "deepagents", "native": "SubAgent" },
    { "id": "upload_files", "kind": "tool", "bound": "deepagents", "native": "code tool" },
    { "id": "sandbox", "kind": "compute", "needs": ["chrome", "ffmpeg", "node", "python", "hyperframes", "d2", "playwright", "fonts"] },
    { "id": "elevenlabs-key", "kind": "key", "service": "ElevenLabs" }
  ],
  "relationships": [
    { "from": "instructions", "rel": "routes-to", "to": "media-production" },
    { "from": "pr-to-video", "rel": "builds-on", "to": "hyperframes" },
    { "from": "pr-to-video", "rel": "reads", "to": "hyperframes", "file": "references/script-format.md" },
    { "from": "hyperframes-creative", "rel": "stores-apart", "to": "file.skill-binaries-hyperframes-creative-frame-presets-code-editorial-fonts-Inter-400.woff2" },
    { "from": "hyperframes", "rel": "copied-from", "source": "heygen-com/hyperframes", "version": "v0.8.169", "license": "Apache-2.0" },
    { "from": "worker", "rel": "shares", "to": "skills" }
  ]
}

The members are these.

Member Where What it says
agent top name and version of the agent, the same as in its Common Agent Descriptor, and optionally source and license. Relationships name the agent by this name.
parts[].id part The part's id, unique within the composition (rule 1).
parts[].kind part One of the ten kinds of section 2: agent, instructions, skill, file, tool, helper, model, compute, key and material.
parts[].portable part true for a portable part.
parts[].bound part The name of the harness a bound part is bound to, such as deepagents (rule 2).
parts[].native part The framework's own name for the part (rule 3).
parts[].path part Where the part is inside the agent's source.
parts[].size, parts[].sha256 file The size in bytes and the sha256 of the file (rule 6).
parts[].needs compute What the machine must provide.
parts[].service, parts[].for key The service the key is for and what it is used for (rule 4).
parts[].role, parts[].must model The model's role and what it must be able to do.
relationships[].from, .rel, .to relationship The part the relationship starts at, one of the nine names of section 3, and the part it ends at. A to of skills or tools means all of the agent's skills or all of its tools.
relationships[].file reads The file of the other skill that is read.
relationships[].source, .version, .license copied-from Where the part was copied from, at what version, under what license (rule 5). A copied-from relationship has a source and no to.
note top A sentence for a reader, such as that a composition is an excerpt.

6.2. Carried in an Agent Plugin#

A composition is carried in an Agent Plugin. The plugin's manifest has an extensions entry for the namespace net.commonagent, and a folder of the same name holds the file.

<name>/
├── plugin.json              the Agent Plugins manifest
├── skills/<name>/           the agent's skills
└── net.commonagent/
    └── composition.json     the composition
"extensions": {
  "net.commonagent": {
    "composition": { "path": "net.commonagent/composition.json", "sha256": "<digest>" }
  }
}

The pointer names the file and SHOULD carry the sha256 of its bytes. A reader that implements this standard finds every composition under this one key. A reader that does not implement it ignores the namespace, as Agent Plugins 1.0.0 requires.


7. Conformance#

A composition conforms to this version when it validates against the schema of section 6.1 and the MUST statements of section 4 hold. The schema cannot check three of them, so a checker also tests that:

  1. every part id is unique within the composition (rule 1);
  2. every from and to of a relationship names a part id, the name in agent, or one of skills and tools where section 6.1 allows it; and
  3. no key part carries a secret (rule 4).

A tool that reads compositions MUST ignore a member it does not know, so that a later version can add members. A tool that writes one MUST write only the members of this version.


8. Open questions#

These are open in this draft, and a later version will settle them.

  • Memory. The Design agent keeps two scopes, house rules in /memories/agent/ and a person's preferences in /memories/user/. Is memory a seventh part, or a need?
  • Shared context. Nothing in this agent reads another agent's context. The model has no place for it yet.
  • Events and dependencies. Claude Code hooks, monitors and channels run when something happens and not when the agent calls them, and a plugin can depend on another plugin. The model has no part for the first and no relationship for the second, so Appendix C records them as bound parts under Claude Code's names, with the dependencies left in the manifest's part. Plugins of other frameworks may need the same.
  • Work order. CrewAI tasks, processes and flows say which piece of work comes first, which agent does it and what feeds the next. The model has no part for a piece of work and no relationship for order, so Appendix D records them as bound parts under CrewAI's names. Other frameworks that run agents in a sequence may need the same.
  • Routing by name. Skills also name other skills in their text ("use the storyboard skill"). This draft counts only file links. Should prose mentions count as routes-to?

9. References#

9.1. Normative#

9.2. Informative#


Appendix A: Mapping from Deep Agents (informative)#

This appendix is informative. It shows how the layout of LangChain Deep Agents maps into this model. Appendices B, C and D map Agent Plugins, Claude Code plugins and CrewAI the same way.

Deep Agents Agent Composition
instructions.md instructions, portable
skills/<name>/ skill with its files, portable
../<skill>/... links in SKILL.md reads and builds-on
skill-binaries/ files with stores-apart
skills-lock.json upstreams copied-from with source, version, license
config/mcp.toml servers tool (MCP), portable
tools built in code tool, bound: deepagents
SubAgent entries helper, bound: deepagents, with shares
model settings per role model needs
sandbox/ recipe compute need
Context Hub sync, check-ins, Slack channel recorded as bound: langsmith parts under their own names

Appendix B: Mapping from Agent Plugins 1.0.0 (informative)#

This appendix is informative. It shows how a plugin built to Agent Plugins 1.0.0 maps into this model. A plugin is the package a composition travels in (section 6.2), so the mapping answers two questions: what a reader can take from a plugin's own files, and what the plugin has no place for. Where nothing in the model fits, the part takes the nearest kind, is marked bound to the framework that owns it, and carries that framework's own name in native (rule 3).

Agent Plugins Agent Composition
plugin.json fields name, version, license and repository The agent member: name, version, license and source
plugin.json fields description, author, homepage, keywords and $schema Not copied. They stay in plugin.json, which travels beside the composition.
skills/<name>/ with a SKILL.md skill, portable. Agent Plugins requires each skill to conform to the Agent Skills specification, and a client skips one that does not.
scripts/, references/ and assets/ inside a skill file, portable
mcp.json, a server of type stdio tool (MCP), portable. Its command, args, env and cwd stay in mcp.json, named by the part's path.
mcp.json, a server of type streamable-http or sse tool (MCP), portable. Its url and headers stay in mcp.json.
A credential an MCP server needs A key need, which the tool needs. Agent Plugins has no field for one: it forbids secrets in env and headers and leaves authorization to the client.
${PLUGIN_DATA} A compute need: a writable folder that survives plugin updates
${PLUGIN_ROOT} Not a part. It names where the plugin's own files are, and each part's path is relative to the plugin root.
extensions entry and folder named net.commonagent The composition itself (section 6.2)
extensions entry and folder of any other namespace file, bound to the client that owns the namespace, with native set to "extensions entry" or "extension directory". Agent Plugins gives these no meaning, and this standard only records them.
Any other file at the plugin root, such as LICENSE and CHANGELOG.md file, portable
A component type Agent Plugins does not define, such as commands/, agents/ and hooks/ Recorded under the appendix of the framework that owns it, such as Appendix C. Agent Plugins tells a client to ignore component types it does not support.

B.1. What a plugin cannot hold#

Agent Plugins 1.0.0 defines exactly two components, skills and MCP servers, and a manifest of metadata. It has no place for the following, so they ride in the net.commonagent extension as composition.json:

  • Instructions. No component is a prompt for the whole agent.
  • Helpers. No component is a sub-agent.
  • Needs. Apart from the data folder, a plugin cannot say which model, which machine, which account or which supplied content the agent needs.
  • Relationships. A plugin cannot say that one skill builds on another, that a skill reads a file of another, that a part was copied from a source, that a file is stored apart from its skill, or that a tool needs a key.

A client that does not implement the namespace ignores it, as Agent Plugins requires, and the plugin loads as before.

B.2. Grounded in sanity-io/agent-toolkit#

The example is the Sanity plugin, sanity-io/agent-toolkit, at commit c4ab758a3aaff34052a8d50efd064127a6c3cc1e. It is an Agent Plugin as written: its root plugin.json names the 1.0.0 schema, and its root mcp.json does too.

Count What it counts
11 skills in skills/, such as sanity-best-practices, sanity-singletons and sanity-migration
67 files inside those skills, besides the 11 SKILL.md files
1 MCP server, Sanity, of type streamable-http
0 extensions entries, and no composition
30 rows in the Knowledge Router of AGENTS.md, pointing at 25 files of 5 skills
4 commands in commands/
7 files for other clients: two in .claude-plugin/, one in .codex-plugin/, two in .cursor-plugin/, one in .agents/plugins/, and .mcp.json

All 11 skills use only fields of the Agent Skills specification, so each is portable. The Knowledge Router is the plugin's only instructions, and it is not a component of Agent Plugins, so it is recorded as an instructions part with a routes-to relationship for each skill it names. The four commands are not a component of Agent Plugins, and the plugin's own README lists them for Claude Code and Cursor, so they are recorded as bound parts under Claude Code's name (Appendix C). The files for other clients are file parts bound to the client whose folder holds them. Nine pairs of skills name each other in backticks in their text, one skill naming another. This draft counts only file links (section 8, routing by name), so those mentions are not recorded as relationships. The repository's own scripts, package.json, renovate.json and workflow are tooling for the repository and not part of the agent.

An excerpt of the composition:

{
  "note": "An excerpt of the composition of sanity-io/agent-toolkit at commit c4ab758: its instructions, two of its 11 skills, its MCP server, one command and the manifest of another client.",
  "agent": { "name": "sanity", "version": "1.0.0", "source": "https://github.com/sanity-io/agent-toolkit", "license": "MIT" },
  "parts": [
    { "id": "agents-md", "kind": "instructions", "path": "AGENTS.md", "portable": true },
    { "id": "sanity-best-practices", "kind": "skill", "path": "skills/sanity-best-practices", "portable": true },
    { "id": "sanity-singletons", "kind": "skill", "path": "skills/sanity-singletons", "portable": true },
    { "id": "sanity-mcp", "kind": "tool", "path": "mcp.json", "portable": true, "native": "mcpServers.Sanity" },
    { "id": "typegen", "kind": "skill", "path": "commands/typegen.md", "bound": "claude-code", "native": "command" },
    { "id": "cursor-manifest", "kind": "file", "path": ".cursor-plugin/plugin.json", "bound": "cursor", "native": "plugin manifest", "size": 591, "sha256": "3c568065f4fa46e8526e8c646bb546c87b138cce5c6b5baddf52d75f0ff29ccd" }
  ],
  "relationships": [
    { "from": "sanity", "rel": "follows", "to": "agents-md" },
    { "from": "sanity", "rel": "has", "to": "skills" },
    { "from": "sanity", "rel": "has", "to": "sanity-mcp" },
    { "from": "agents-md", "rel": "routes-to", "to": "sanity-best-practices" },
    { "from": "agents-md", "rel": "routes-to", "to": "sanity-singletons" }
  ]
}

B.3. Sources#

  • Agent Plugins Specification 1.0.0: sections 5 (manifest), 6 and 7 (components), 8 (client extensions) and 9 (PLUGIN_ROOT and PLUGIN_DATA)
  • plugin.json, mcp.json, AGENTS.md, commands/, skills/ and the files for other clients in sanity-io/agent-toolkit at the commit above

Appendix C: Mapping from Claude Code plugins (informative)#

This appendix is informative. It shows how a plugin built for Claude Code maps into this model. A Claude Code plugin holds more kinds of component than an Agent Plugin does, and several of them work only in Claude Code, so many rows are bound. Where nothing in the model fits, the part takes the nearest kind, is marked bound, and carries Claude Code's own name in native (rule 3).

Claude Code plugin Agent Composition
.claude-plugin/plugin.json fields name, version, license and repository The agent member: name, version, license and source
The manifest file itself, with its other fields: displayName, description, author, homepage, keywords, metadata, defaultEnabled, engines, network and the listing fields file, bound: claude-code, native "plugin.json". The fields stay in the file, and the part names it.
skills/<name>/SKILL.md skill. Portable when its frontmatter uses only the fields of the Agent Skills specification. Bound: claude-code when it uses others, because Claude Code's documentation says claude.ai uploads and the Skills API reject them.
Supporting files in a skill file, with the same portable or bound mark as its skill
commands/<name>.md and the commands map of plugin.json skill, bound: claude-code, native "command". Commands take the same frontmatter as skills, run as /<plugin>:<name>, and are not a folder in the Agent Skills form.
agents/<name>.md helper, bound: claude-code, native "subagent". Its file is its prompt, named by path.
A subagent's model field A model need, which the helper needs
A subagent's tools field shares from the helper to those tools. Tools Claude Code provides, such as Read and Grep, are tool parts bound: claude-code, native "built-in tool".
A subagent's skills field shares from the helper to those skills
A subagent's memory field A bound part, native "subagent memory". This is the first open question of section 8, and this appendix does not answer it.
A subagent's other fields: effort, maxTurns, background, isolation, color and the rest Stay in the subagent's file, named by the helper's path
hooks/hooks.json and the hooks key tool, bound: claude-code, native "hook", one for each script or command a hook runs. The hooks.json file is a file, bound: claude-code. See section 8, events and dependencies.
Scripts and modules a hook calls file, bound: claude-code, because they read the hook's payload from Claude Code
.mcp.json and the mcpServers key, including .mcpb and .dxt bundles tool (MCP). Portable when the entry uses only what Agent Plugins' mcp.json has, bound: claude-code when it uses more. Claude Code spells the Streamable HTTP type http, where Agent Plugins writes streamable-http.
.lsp.json and the lspServers key tool, bound: claude-code, native "LSP server"
output-styles/<name>.md and the outputStyles key instructions, bound: claude-code, native "output style". An output style changes the system prompt.
experimental.monitors tool, bound: claude-code, native "monitor". It is a background process, and the docs mark it experimental.
channels tool, bound: claude-code, native "channel", with the MCP server it names as its own tool part
workflows/ and bin/ file, bound: claude-code, native "workflow" and "executable"
experimental.themes and themes/ file, bound: claude-code, native "theme". A theme changes how the interface looks, and nothing about the agent.
userConfig option with sensitive set A key need, with service taken from the option's title. The value is never recorded.
Other userConfig options A material need, native "userConfig"
dependencies Stay in the manifest file's part. The model has no relationship from one plugin to another (section 8, events and dependencies).
${CLAUDE_PLUGIN_ROOT} Not a part, as in Appendix B
${CLAUDE_PLUGIN_DATA} A compute need: a folder that survives plugin updates
${CLAUDE_PROJECT_DIR} A material need: the project the person works in
.claude-plugin/marketplace.json, when the repository ships one file, bound: claude-code, native "marketplace.json". It says how the plugin is distributed and not what it is made of.
CLAUDE.md at the plugin root Not a part. Claude Code does not load it, and its documentation says to put instructions in a skill.
Settings: enabledPlugins, pluginConfigs and extraKnownMarketplaces Not parts. They are the person's settings and live outside the plugin. pluginConfigs is where the userConfig values are saved.

C.1. Grounded in hookify#

The example is the hookify plugin, in anthropics/claude-plugins-official at commit 669039194fe272fe458c3c112cb6441b6dcc25a2, in the folder plugins/hookify. It lets a person write rules in markdown files that block or warn about what Claude does. It uses a command, a subagent, a skill and hooks, and no MCP server.

Count What it counts
25 files in the plugin
1 manifest, .claude-plugin/plugin.json, version 0.1.1
4 commands: hookify, list, configure and help
1 subagent: conversation-analyzer, with the tools Read and Grep and the model setting inherit
1 skill: writing-rules
4 hooks, one each for PreToolUse, PostToolUse, Stop and UserPromptSubmit, each running a Python script
3 commands that tell Claude to load the writing-rules skill first: hookify, list and configure

The skill's frontmatter has a version field, which the Agent Skills specification does not have, so by the rule in the table the skill is bound to Claude Code. The hook scripts need python3, and they read rule files the person writes in their own project at .claude/hookify.*.local.md, which is material. The hookify command starts the conversation-analyzer subagent through Claude Code's Task tool, and that link is in the command's text and is not recorded as a relationship. Hookify has no CLAUDE.md or other instructions part.

An excerpt of the composition:

{
  "note": "An excerpt of the composition of the hookify plugin at commit 6690391 of anthropics/claude-plugins-official: its manifest, one command, its skill, its subagent, one of its four hooks and what they need.",
  "agent": { "name": "hookify", "version": "0.1.1", "source": "https://github.com/anthropics/claude-plugins-official/tree/main/plugins/hookify", "license": "Apache-2.0" },
  "parts": [
    { "id": "manifest", "kind": "file", "path": ".claude-plugin/plugin.json", "bound": "claude-code", "native": "plugin.json", "size": 232, "sha256": "550683ed7c6b70d4aa83f4ecb64ec7baffcadb3a0bb2d78925aeed6d509b789a" },
    { "id": "writing-rules", "kind": "skill", "path": "skills/writing-rules", "bound": "claude-code", "description": "Its SKILL.md frontmatter has a version field, which the Agent Skills specification does not." },
    { "id": "list", "kind": "skill", "path": "commands/list.md", "bound": "claude-code", "native": "command" },
    { "id": "conversation-analyzer", "kind": "helper", "path": "agents/conversation-analyzer.md", "bound": "claude-code", "native": "subagent" },
    { "id": "read", "kind": "tool", "bound": "claude-code", "native": "built-in tool Read" },
    { "id": "grep", "kind": "tool", "bound": "claude-code", "native": "built-in tool Grep" },
    { "id": "hooks-json", "kind": "file", "path": "hooks/hooks.json", "bound": "claude-code", "native": "hooks/hooks.json", "size": 1036, "sha256": "d60651c94a42751d75db2f930faf083302acb45db9a7d8f4a5f6878f71537298" },
    { "id": "hook-pretooluse", "kind": "tool", "path": "hooks/pretooluse.py", "bound": "claude-code", "native": "hook (PreToolUse)" },
    { "id": "analyzer-model", "kind": "model", "role": "conversation-analyzer, which inherits the session's model" },
    { "id": "python", "kind": "compute", "needs": ["python3"] },
    { "id": "rule-files", "kind": "material", "path": ".claude/hookify.*.local.md", "description": "Rule files the person writes in their own project." }
  ],
  "relationships": [
    { "from": "hookify", "rel": "has", "to": "writing-rules" },
    { "from": "hookify", "rel": "has", "to": "list" },
    { "from": "hookify", "rel": "has", "to": "conversation-analyzer" },
    { "from": "hookify", "rel": "has", "to": "hook-pretooluse" },
    { "from": "list", "rel": "routes-to", "to": "writing-rules" },
    { "from": "conversation-analyzer", "rel": "shares", "to": "read" },
    { "from": "conversation-analyzer", "rel": "shares", "to": "grep" },
    { "from": "conversation-analyzer", "rel": "needs", "to": "analyzer-model" },
    { "from": "hook-pretooluse", "rel": "needs", "to": "python" },
    { "from": "hook-pretooluse", "rel": "needs", "to": "rule-files" }
  ]
}

C.2. Sources#

  • Plugin manifest reference: the fields of plugin.json, the standard layout, path rules, userConfig, channels and environment variables
  • Add components to a plugin: skills, commands, agents, hooks, MCP servers, LSP servers, themes, output styles, channels and monitors
  • Marketplace reference: marketplace.json, plugin entries and strict mode
  • Skills, section "Using skill frontmatter outside Claude Code": which fields work outside Claude Code
  • Subagents, section "Supported frontmatter fields": the fields of an agent file
  • Output styles and Settings
  • The files of plugins/hookify in anthropics/claude-plugins-official at the commit above

Appendix D: Mapping from CrewAI (informative)#

This appendix is informative. It shows how a project built with CrewAI maps into this model. Where nothing in the model fits, the part takes the nearest kind, is marked bound: crewai, and carries CrewAI's own name in native (rule 3). CrewAI's settings that tune a run, such as max_iter, max_rpm, verbose and cache, have no member in the model, and they stay in the file named by the part's path.

The crew is the agent, and each CrewAI agent in it is a helper, because a crew is started and answers as one unit and no member of a sequential crew leads the others. When a Flow is the entry point, the flow is the agent and each crew it starts is a helper.

CrewAI Agent Composition
The project: pyproject.toml name and version, and the @CrewBase class of crew.py The agent member, with source set to the project folder. The crew.py file is a file, bound: crewai, native "@CrewBase class".
An Agent: an entry of config/agents.yaml, a file agents/<name>.jsonc in a new project, or Agent(...) in code helper, bound: crewai, native "Agent". Its role, goal and backstory are its prompt and stay in the file named by path.
A Task: an entry of config/tasks.yaml or Task(...) instructions, bound: crewai, native "Task". Which agent runs it, its context and its expected_output are said in the part's description. The crew follows it.
config/agents.yaml, config/tasks.yaml, crew.jsonc file, bound: crewai
llm, function_calling_llm, manager_llm, planning_llm, chat_llm model needs, one for each role, which the helper or the crew needs. An agent that sets no llm uses the crew's default model.
embedder A model need with the role "embedder"
tools: a BaseTool subclass, the @tool decorator, or a class of crewai_tools tool, bound: crewai, native "BaseTool" or the class name. A helper shares the tools in its tools list.
mcps tool (MCP), portable
apps tool, bound: crewai, native "Apps"
skills, on an agent or on the crew skill, portable. CrewAI skills are SKILL.md folders with the fields of the Agent Skills specification. A crew-level list is shares for every helper, and an agent-level list is shares for that helper.
allow_code_execution with code_execution_mode "safe" A compute need for Docker. In mode "unsafe" it is a compute need for the machine the crew runs on.
API keys read from the environment, as in .env.example key needs, naming the service and never the value
inputs of kickoff and crew.jsonc material need
process "sequential" Stays in the crew.py part's description. The model has no relationship for order (section 8, work order).
process "hierarchical" with manager_agent or manager_llm manager_agent is a helper, bound: crewai, native "manager agent". manager_llm is a model need. The delegation stays in the crew.py part.
allow_delegation Stays in the helper's description
A Flow with @start, @listen and @router file, bound: crewai, native "Flow". The crews it starts are helpers. See section 8, work order.
guardrail, guardrails, human_input, step_callback, task_callback, before_kickoff_callbacks and after_kickoff_callbacks Stay in the part they are set on, named by its path
planning and reasoning Stay in the crew.py part or the helper that sets them. planning_llm is a model need.
memory, the unified Memory class: shared crew memory, a private scope for one agent, stored in LanceDB under ./.crewai/memory or $CREWAI_STORAGE_DIR/memory file, bound: crewai, native "Memory". The part's description says whether the scope is shared by the crew or private to one agent. This touches the first and second open questions of section 8, memory and shared context, and this appendix does not answer them.
knowledge_sources, on an agent or on the crew, with files in the project's knowledge/ folder and stored under $CREWAI_STORAGE_DIR/knowledge file, bound: crewai, native "KnowledgeSource". Knowledge set on the crew is available to every agent, which touches the second open question, shared context. This appendix does not answer it.
security_config, checkpoint, tracing, share_crew, output_log_file Stay in the crew.py part's file

D.1. Grounded in the recruitment crew#

The example is the recruitment crew in crewAIInc/crewAI-examples, folder crews/recruitment, at commit da94a91e691e1cf5b3151416bb15b5b62729bea8. It is a classic project: agents and tasks in YAML and a @CrewBase class in crew.py. The repository carries no licence file, so the composition records none.

Count What it counts
4 agents: researcher, matcher, communicator and reporter
4 tasks, run one after another by Process.sequential, the last with the outputs of the first three as its context
3 tools: SerperDevTool, ScrapeWebsiteTool and LinkedInTool, which the project defines itself in tools/linkedin.py
3 keys named in .env.example: OpenAI, Serper and a LinkedIn session cookie
0 knowledge sources, 0 memory, 0 skills, 0 flows

No agent sets an llm, and the README says the crew uses GPT-4o unless it is changed, so there is one model need, for the default. The LinkedIn tool drives Firefox through selenium, so it needs a machine with both. The job requirements are passed in through main.py as inputs, which is material. The example uses no memory and no knowledge, so those two rows of the table come from CrewAI's documentation and not from this project.

An excerpt of the composition:

{
  "note": "An excerpt of the composition of crews/recruitment of crewAIInc/crewAI-examples at commit da94a91: the crew's files, two of its four agents and tasks, one tool and what the crew needs.",
  "agent": { "name": "recruitment", "version": "0.1.0", "source": "https://github.com/crewAIInc/crewAI-examples/tree/main/crews/recruitment" },
  "parts": [
    { "id": "agents-yaml", "kind": "file", "path": "src/recruitment/config/agents.yaml", "bound": "crewai", "native": "agents.yaml", "size": 1261, "sha256": "b5bde08a45aa89324c03140c664d666989887f87ce291c6e1f79d5f98d6531fa" },
    { "id": "tasks-yaml", "kind": "file", "path": "src/recruitment/config/tasks.yaml", "bound": "crewai", "native": "tasks.yaml", "size": 1936, "sha256": "58c64277b0cc7bb24a5df05c131b0f306a69277e2e3de4f92b2e81091dbbe8c6" },
    { "id": "crew-py", "kind": "file", "path": "src/recruitment/crew.py", "bound": "crewai", "native": "@CrewBase class", "size": 2416, "sha256": "2d1b23ac604c64c6618346200fa2e1372d692cc2cf0426f2c791924da01eb155", "description": "Process.sequential, verbose, allow_delegation false for every agent." },
    { "id": "researcher", "kind": "helper", "path": "src/recruitment/config/agents.yaml", "bound": "crewai", "native": "Agent", "description": "researcher: Job Candidate Researcher." },
    { "id": "reporter", "kind": "helper", "path": "src/recruitment/config/agents.yaml", "bound": "crewai", "native": "Agent", "description": "reporter: Candidate Reporting Specialist." },
    { "id": "research-task", "kind": "instructions", "path": "src/recruitment/config/tasks.yaml", "bound": "crewai", "native": "Task", "description": "research_candidates_task, run first by the researcher." },
    { "id": "report-task", "kind": "instructions", "path": "src/recruitment/config/tasks.yaml", "bound": "crewai", "native": "Task", "description": "report_candidates_task, run last by the reporter, with the outputs of the three earlier tasks as its context." },
    { "id": "linkedin-tool", "kind": "tool", "path": "src/recruitment/tools/linkedin.py", "bound": "crewai", "native": "BaseTool" },
    { "id": "serper-tool", "kind": "tool", "bound": "crewai", "native": "crewai_tools SerperDevTool" },
    { "id": "default-model", "kind": "model", "role": "all four agents, which set no llm and so use the crew's default model" },
    { "id": "browser", "kind": "compute", "needs": ["Firefox", "selenium"] },
    { "id": "linkedin-key", "kind": "key", "service": "LinkedIn", "for": "profile search, through a signed-in session cookie" },
    { "id": "serper-key", "kind": "key", "service": "Serper", "for": "web search" },
    { "id": "job-requirements", "kind": "material", "path": "src/recruitment/main.py", "description": "The job requirements passed to the crew as inputs." }
  ],
  "relationships": [
    { "from": "recruitment", "rel": "has", "to": "researcher" },
    { "from": "recruitment", "rel": "has", "to": "reporter" },
    { "from": "recruitment", "rel": "has", "to": "linkedin-tool" },
    { "from": "recruitment", "rel": "has", "to": "serper-tool" },
    { "from": "recruitment", "rel": "follows", "to": "research-task" },
    { "from": "recruitment", "rel": "follows", "to": "report-task" },
    { "from": "researcher", "rel": "shares", "to": "linkedin-tool" },
    { "from": "researcher", "rel": "shares", "to": "serper-tool" },
    { "from": "researcher", "rel": "needs", "to": "default-model" },
    { "from": "linkedin-tool", "rel": "needs", "to": "linkedin-key" },
    { "from": "linkedin-tool", "rel": "needs", "to": "browser" },
    { "from": "serper-tool", "rel": "needs", "to": "serper-key" },
    { "from": "research-task", "rel": "needs", "to": "job-requirements" }
  ]
}

D.2. Sources#

  • Agents: the attributes of an agent, and how agents are defined in JSONC, in classic YAML and in code
  • Tasks: the attributes of a task, context, guardrails and output
  • Crews: the attributes of a crew
  • Processes: sequential and hierarchical
  • Tools, Skills, Memory, Knowledge, Flows and LLMs
  • The files of crews/recruitment in crewAIInc/crewAI-examples at the commit above

Change history#

0.2.2-draft, 2026-12-05. The worked example is now the full composition written by an inspection of the repository, with routes-to and material added by hand; counts corrected; how links are counted is defined. No rule, part, relationship or member of the format changes.

0.2.1-draft, 2026-12-05. Added a readable page for the worked example, built from the example's JSON file, which does not change. No rule, part, relationship or member of the format changes.

0.2.0-draft, 2026-12-05. Added informative mappings for Agent Plugins, Claude Code plugins and CrewAI, as Appendices B, C and D, each grounded in one real public example. Two open questions are added: events and dependencies, and work order. No rule, part, relationship or member of the format changes.

0.1.1-draft, 2026-12-05. Corrected the worked example's counts, counted one consistent way: media-production routes to 15 skills, pr-to-video reads twelve files from four other skills, and the skills have 62 links between 34 pairs of skills, counted across every markdown file in the skills. The 16 skills that build on hyperframes were checked by the same method and stand. No rule, relationship or member of the format changes.

0.1.0-draft, 2026-12-05. The first draft. It defines six kinds of part and four kinds of need, nine relationships and six rules, a JSON format with a schema, how a composition is carried in an Agent Plugin under the net.commonagent namespace, and a worked example from the open-source Design agent of LangChain. Three questions are left open: memory, shared context and routing by name.