AGENT SKILL
add-agent-to-repo
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-27
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档skill.yml197 B
03 SKILL.md 正文
Add an agent to the repository
Use this skill when the user wants to add a new agent to this agent-skills repository so it appears in the catalogue and is installable from the VS Code extension.
When to use
- "Add an agent that does X to the repo"
- "Publish this sub-agent definition"
Layout you must produce
Agents live under examples/agents/ and are seeded into the agents Azure Blob
container. Each agent is its own directory; the path below examples/agents/
becomes the agent id. The marker file must be named after the directory:
directory browser-smoke-tester/ → marker browser-smoke-tester.md. Only that
.md file is installed.
examples/agents/<category>/[<sub>/...]/<agent-name>/
├── <agent-name>.md # REQUIRED — marker, name MUST equal the directory name
└── agent.yml # optional — metadata for the catalogue UI
Steps
- Pick a category + name, mirroring the existing tree
(e.g.
examples/agents/testing/browser-smoke-tester/). - Write
<agent-name>.md. This is the agent definition Claude Code installs. The filename must match the directory name exactly, or the API will not detect the agent. - Write
agent.yml(recommended; same schema asskill.yml):name: Browser Smoke Tester version: 1.0.0 author: Your Name <you@example.com> description: One-line summary shown in the tree tooltip. tags: [testing, browser] - (Optional) Declare dependencies. Agents commonly need a skill or an MCP.
Add a
dependencieslist toagent.yml:dependencies: - type: mcp id: browser/playwright - type: agent id: testing/some-other-agentidis the path below the type root. Unknown types, missingid/type, and duplicate entries are ignored. Dependencies are resolved transitively at install time. - Publish. From
api/:npm run seed # overwrites same-named blobs npm run seed -- --wipe # only if you removed/renamed files - Verify. Restart the API (or
?refresh=1) and open the agent in the extension to check metadata, dependencies and the marker.mdcontent preview.
Validation checklist
- [ ] The marker
.mdfile name equals the directory name exactly. - [ ]
agent.ymlname/version/authorare filled; bumpversionwhen editing an existing agent so the "update available" badge fires. - [ ] Any
dependenciesids actually exist in their catalogue.
04 同仓库更多 Skills
dockerfile-linter
暂无简介
★ 0
no-meta-skill
暂无简介
★ 0
commit-helper
暂无简介
★ 0
pr-summary
暂无简介
★ 0
bump-package-version
暂无简介
★ 0
add-skill-to-repo
暂无简介
★ 0