Copilot Custom Agents Pack: 12 .agent.md Agents + Checker

Twelve Copilot agents that do one job each, with only the tools that job needs.

Copilot Custom Agents Pack: 12 .agent.md Agents + Checker product illustration

The 12 agents

AgentToolsWhat it does
reviewerread, searchReviews a diff or PR: bugs, security, missing tests; path:line - severity - fix findings. Never edits.
plannerread, searchTurns a request into numbered steps with files, tests, migrations and open questions. Never writes code.
test-writerread, search, edit, executeWrites tests in your framework's style, runs them, checks they fail when the code is wrong.
security-reviewerread, searchInjection, access control, secrets, SSRF, uploads, unsafe parsing, prompt injection in AI features.
debuggerread, search, edit, executeReproduce, failing test, root cause in one sentence, minimal fix.
refactorerread, search, edit, executeSmall behaviour-preserving steps with tests green after each.
docs-writerread, search, editREADME, API docs, docstrings, changelogs that match the code.
upgrade-helperread, search, edit, execute, webReads the upgrade guide for every version crossed, applies changes, fixes breakages.
accessibility-auditorread, searchWCAG 2.2 audit: semantics, labels, keyboard, focus, contrast, target size.
performance-reviewerread, search, executeN+1 queries, missing indexes, bundle bloat, leaks, with evidence. Never edits.
pr-describerread, search, executePR title and description from git log / git diff (read-only git).
codebase-guideread, searchExplains how a feature works with file references, for onboarding.

Every agent uses only the fields that GitHub Copilot reads everywhere (name, description, tools with the standard aliases), so the same files work in Copilot in VS Code, Copilot CLI, JetBrains/Eclipse/Xcode and the Copilot cloud agent on GitHub.com. Read-only agents have no edit or execute tool, so they cannot change your code.

Quick start

python3 tools/agentkit.py list
python3 tools/agentkit.py install /path/to/repo                    # -> .github/agents/ (commit it to share with the team)
python3 tools/agentkit.py install /path/to/repo --agent reviewer --agent planner
python3 tools/agentkit.py install --user                          # -> ~/.copilot/agents/ (just for you)

Existing files are kept unless you pass --force (which saves a .bak). --dry-run shows what would be written. Then pick the agent from the agents dropdown in Copilot Chat, or assign it to a task on GitHub.com.

Check agent files

python3 tools/agentkit.py check .github/agents

Flags what makes an agent silently misbehave:

  • missing description (required), YAML errors, unknown fields, retired infer
  • old .chatmode.md files that need renaming to .agent.md
  • handoffs, agents, argument-hint, advancedOptions: read only by the VS Code Local harness (deprecated, removed February 2027) and ignored by Copilot
  • tool names Copilot ignores (for example old Local names like codebase), tools: []
  • model-policy: required without a model, an agent nobody can invoke (user-invocable: false + disable-model-invocation: true), invalid target
  • mcp-servers without command/url, or with literal secrets in env instead of ${{ secrets.COPILOT_MCP_... }}
  • prompt bodies over the 30,000-character limit, #file:/#tool: references, broken Markdown links, secrets in the file, duplicate agent ids

Exit code 1 on errors; --json for CI.

Convert to Claude Code subagents

python3 tools/agentkit.py to-claude .github/agents --out .claude/agents

Writes Claude Code subagents: name in kebab-case, description, and tools mapped (read -> Read; search -> Grep, Glob; edit -> Edit, Write; execute -> Bash; web -> WebFetch, WebSearch).

Demo output (preview)

The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 12 tests OK on Python 3.13 and 3.10.

Real terminal output from Copilot Custom Agents Pack: 12 .agent.md Agents + Checker: demo and passing tests

./tools/demo.sh lists the agents, installs them into a temp repo, checks them (0 errors), checks examples/broken-agents (3 files with 13 typical mistakes), converts to Claude Code subagents.

How it was tested

./run_tests.sh (12 tests, Python 3.9+): all 12 agents pass the checker with zero warnings and use only portable fields; read-only agents have no edit/execute tools; each broken example is caught; secrets, size limit, empty body, YAML errors, duplicates; valid MCP secret references and tool forms pass; install is idempotent with --force backups; Claude conversion; the demo runs.

Honest limits

  • Agents guide Copilot's behaviour; they don't guarantee output. Review what an agent changes.
  • Tool availability depends on the Copilot client and your MCP setup; the checker validates names, it cannot confirm a tool exists at runtime.
  • Copilot's custom agent format is evolving; written against the GitHub and VS Code custom agent references as of November 2026.

Format and license

Zip, 26 KB, v1.0, 22 files. You may use and modify this kit for your own work and for clients you serve, including paid client work. Not affiliated with or endorsed by GitHub or Microsoft.

FAQ

VS Code or github.com?
Both read .github/agents/*.agent.md; a few fields only work in one harness and the checker tells you which.
I have .chatmode.md files?
Rename to .agent.md; agentkit check flags the fields that changed.
Can the reviewer change code?
No. Review-type agents get read and search tools only.
How do I get the files?
Pay by card right here on youraitools.co: your download links appear on this page the moment the payment goes through (claim window: 72 hours, up to 5 downloads per 7 days). Need the files re-sent later? Email hello@youraitools.co.
Refunds?
Email hello@youraitools.co within 14 days if it doesn’t work and we can’t fix it.
Can I pay with crypto?
Yes. Pay the same price in USDC or USDT on Base, Ethereum, Arbitrum, Optimism, Polygon or Solana from the "Pay with crypto" button, with no account or KYC. We check the payment on-chain and show your download links as soon as it confirms.

Get Copilot Custom Agents Pack: 12 .agent.md Agents + Checker

12 ready GitHub Copilot custom agents (.agent.md) with least-privilege tools: reviewer, planner, test writer, security, debugger and more, plus a checker.

Save with a bundle

Pairs well with

Related

1 email a week: new x402 + MCP tools and free kits.

Short weekly digest of new x402 + MCP tools and free kits, including the MCP OAuth Checker. No spam, unsubscribe any time.