agent-plugins
Skill0 starsChanged 2 days agoMITView on GitHub
Standards for packaging skills, agents, hooks, and MCP servers as agent plugins and publishing marketplaces: the open Agent Plugins format, Claude Code plugins, and Copilot and Codex extensions. Use when creating, converting, or reviewing a plugin.json, marketplace.json, or plugin layout.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- peter-gy/agent-pluginstheir own version, first seen Sep 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- peter-gy/agent-plugins★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-contextSkill
- architecture-decisionsSkill
- brand-identitySkill
- browser-controlSkill
- cross-harnessSkill
- efficient-tool-callsSkill
- git-historySkill
- github-actionsSkill
- gitignore-standardsSkill
- html-reportSkill
- java-developmentSkill
- mermaid-diagramsSkill
- meta-workspaceSkill
- product-designSkill
- project-backlogSkill
- project-setupSkill
- project-upgradeSkill
- python-developmentSkill
- refinement-tribunalSkill
- session-handoffSkill
- shell-scriptsSkill
- software-architectureSkill
- technical-documentationSkill
- test-designSkill
- typescript-developmentSkill
- web-auth-bridgeSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 69
Paths: start with ./, use forward slashes, stay inside the plugin root, and never contain ...
- Very specific: line 71
Secrets: never go in manifests, env, or headers.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent plugins
Package agent context so each target harness installs it as one versioned unit, and keep the plugin flavors apart. How to write the skills, agents, or hooks inside a plugin is out of scope; follow any standards the user has for those.
Library projects only
- Plugins are authored in library projects: repositories whose job is to publish agent context to others. Consumer projects (applications, services) install plugins; they do not author them.
- In a consumer project, do not add a plugin manifest or marketplace unless the user asks. Repository-local context belongs in the harness's own project locations, such as
AGENTS.mdor a skills folder. - Package as a plugin when components must ship together (a skill with its MCP server or hook), when others install by name from a catalog, or when updates must be versioned. A single skill copied into a skills folder needs no plugin.
Flavors
There is no single plugin format. Name the flavor every time you write a file, and never mix one flavor's fields into another's manifest.
| Flavor | Marker | Core components | Read by (2026-11) |
| Agent Plugins 1.0 (open spec) | Root plugin.json with "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json" | skills/, mcp.json. Everything else in reverse-domain extension namespaces. | VS Code, Copilot CLI and app, Codex, Cursor, Kiro, others |
| Claude Code | .claude-plugin/plugin.json (optional; layout alone also works) | skills/, commands/, agents/, hooks/hooks.json, .mcp.json, .lsp.json, more | Claude Code, claude.ai, Cowork. Copilot CLI and VS Code also read it. |
| Copilot legacy | Root plugin.json without $schema | Path fields for agents, skills, commands, hooks, MCP, LSP | Copilot CLI, VS Code |
| Codex compatibility | .codex-plugin/plugin.json | Fallback for Codex settings when root extensions.com.openai is absent | Codex |
Differences that break plugins:
- Closed vs open manifest. 1.0 allows only
$schema,name,version,description,author,homepage,repository,license,keywords,extensions. Component paths, inline MCP, and harness keys are not allowed there. Claude's manifest takes component paths, inlinemcpServers,userConfig, and more. - Fixed vs configurable locations. 1.0 discovers only immediate children of
skills/and the rootmcp.json. Claude and Copilot legacy can point at other paths. - MCP file. 1.0:
mcp.json, with its own$schema(same version asplugin.json) and atypeper server. Claude:.mcp.jsonor inline. Do not point one at the other. - Root variables. 1.0:
${PLUGIN_ROOT}and${PLUGIN_DATA}, expanded only in MCP stdioargs,envvalues, andcwd. Claude:${CLAUDE_PLUGIN_ROOT}and${CLAUDE_PLUGIN_DATA}, in hooks, MCP, LSP, and more. - Format detection. VS Code and Copilot use 1.0 semantics when the root
plugin.jsonhas the 1.0$schema, and only then ignore.claude-plugin/. Without$schema, a rootplugin.jsonis read as Copilot legacy. - Marketplaces. 1.0 defines none; each harness reads its own catalog file. See marketplaces.md.
Choosing targets
List the harnesses the plugin must load in, asking if unknown, then pick the layout:
| Targets | Layout |
| Any 1.0 client, not Claude Code | 1.0 core only |
| Claude Code only | Claude format only |
| Claude Code and 1.0 clients (default for a public library) | 1.0 core plus .claude-plugin/plugin.json, sharing skills/ |
Put each harness-only component where only that harness reads it: a 1.0 extension namespace (com.github.copilot/, extensions.com.openai) and Claude's own folders. The same agent or hook usually needs a copy per harness, because frontmatter, tool names, and hook events differ. Watch for default paths that two harnesses share: Codex and Claude both read hooks/hooks.json.
Workflow
- Confirm the repository is a library. If it is a consumer project, ask before adding plugin files.
- Record the plugin's purpose and targets wherever the repository keeps feature intent, and list the targets in the plugin's README.
- Lay out components first, then write manifests, then catalog entries.
- Validate: run the checker, then each target harness's own validator, then install the plugin locally in every target and confirm each component loads. The commands are in the harness references.
python3 "<skill-dir>/scripts/check_plugin.py" <plugin-or-repo-root> # Windows: py -3
python3 "<skill-dir>/scripts/check_plugin.py" <plugin-or-repo-root> --jsonThe checker reads every flavor it finds: manifest fields and names, skills/ entries, mcp.json, component paths, links that escape the plugin root, and catalogs. Errors exit 1.
Rules
- Name: use the same name in every manifest and every catalog entry; installs resolve by the catalog entry name. Agent Plugins 1.0 allows
a-z,0-9,-, and.. When Claude Code is also a target, use kebab-case without dots, not starting withclaude-oranthropic-. Do not rename an existing plugin to fit a harness it does not target; the name is its install identity. - Paths start with
./, use forward slashes, stay inside the plugin root, and never contain... Harnesses copy plugins into a cache, so anything outside the root, including symlink targets, is missing after install. - State goes in the plugin data directory (
${PLUGIN_DATA}or${CLAUDE_PLUGIN_DATA}), never under the plugin root. The root is replaced on every update. - Secrets never go in manifests,
env, orheaders. Use the harness's sensitive config or auth mechanism (ClaudeuserConfigwithsensitive; Codexextensions["com.openai"].authon the MCP server entry). - MCP stdio
commandis one executable token (a bare name or a./path), not a shell string. Put arguments inargs. - Versions: pick one policy per catalog. Either bump
versionon every release, or omit it everywhere and let harnesses track commits. Never set it in both the manifest and the catalog entry. - Freshness: formats and harness support change monthly. When a behaviour matters, check the dated facts in the references against the linked docs, and record what you verified.
References
- agent-plugins-spec.md: read when writing a 1.0 manifest,
mcp.json, or an extension namespace. - claude-code.md: read when Claude Code is a target.
- github-copilot.md: read when GitHub Copilot (CLI, app, or VS Code) is a target.
- codex.md: read when Codex is a target.
- marketplaces.md: read when publishing a catalog or serving several harnesses from one repository.
- library-layout.md: read when adding plugins to a library that already ships loose skills, or when several plugins share components.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

