Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add endorphin-ai/hasbrains-agent-kit --skill convert-to-copilotgit clone --depth 1 https://github.com/endorphin-ai/hasbrains-agent-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/endorphin-ai/hasbrains-agent-kit/convert-to-copilot)<a href="https://agentmods.dev/skills/endorphin-ai/hasbrains-agent-kit/convert-to-copilot"><img src="https://agentmods.dev/badge/skills/endorphin-ai/hasbrains-agent-kit/convert-to-copilot/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/endorphin-ai/hasbrains-agent-kit/convert-to-copilot"><img src="https://agentmods.dev/badge/skills/endorphin-ai/hasbrains-agent-kit/convert-to-copilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.02671 |
| Opus 5.5 | $0.00041 | $0.01068 |
| Sonnet 5.5 | $0.00021 | $0.00534 |
| Haiku 4.5 | $0.00010 | $0.00267 |
Grade A, and why
convert-to-copilot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Convert Claude Code → GitHub Copilot Agent
Converts a Claude Code agent + command + skills into a .github/agents/*.agent.md with supporting
files in a per-agent .copilot_utils/{agent_name}/ directory.
Canonical Output Structure
.github/
└── agents/
└── {agent_name}.agent.md ← single merged file (agent + command)
.copilot_utils/
└── {agent_name}/
├── context/ ← WHAT to use (knowledge, conventions, reference)
│ └── {skill}.md
└── trees/ ← HOW to decide (branching, if/else logic)
└── {skill}.md
External guide: https://github.com/endorphin-ai/vs-code-copilot-agents/blob/main/COPILOT_AGENTS_GUIDE.md
Three-File Separation Principle
Every file has exactly one role:
| File Type | Location | Contains | Example |
|---|---|---|---|
| Agent | .github/agents/ |
WHAT to do — workflow, phases, orchestration | "Read file, apply tree, validate, create output" |
| Tree | .copilot_utils/{agent_name}/trees/ |
HOW to decide — if/else branching logic | "If label contains X → use path Y" |
| Context | .copilot_utils/{agent_name}/context/ |
WHAT to use — reference info, patterns, rules | "Available scaffolds: A, B, C" |
NEVER embed knowledge or decision logic in the agent body. Reference files instead:
- Decisions →
**Apply tree:** .copilot_utils/{agent_name}/trees/{file}.md - Reference →
**Reference:** .copilot_utils/{agent_name}/context/{file}.md
Variables
{agent_file} = $ARGUMENTS (path to Claude agent .md file)
{command_file} = (path to Claude command .md — ask if not provided)
{agent_name} = (extracted from agent frontmatter `name` field)
{output_agent} = .github/agents/{agent_name}.agent.md
{output_dir} = .copilot_utils/{agent_name}
{trees_dir} = .copilot_utils/{agent_name}/trees
{knowledge_dir} = .copilot_utils/{agent_name}/context
{output_folder} = .copilot-convert-results
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/copilot-agent-template.md 1.6 KB
- examples/pr-reviewer.md 5.2 KB
- README.md 1.9 KB
- references/advanced-patterns.md 3.6 KB
- references/advanced-subagents.md 4.0 KB
- references/conversion-body.md 4.4 KB
- references/conversion-output.md 3.1 KB
- references/conversion-phases.md 4.6 KB
- references/tool-mapping.md 6.1 KB
- scripts/claude-to-copilot.sh 4.6 KB runs code
- scripts/convert-agents.sh 1.3 KB runs code
- scripts/copilot-to-claude.sh 5.6 KB runs code
- scripts/lib-extract.sh 1.8 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 240 lines · 103 tokens per session scan A 688b86a89563
convert-to-copilot is a skill published in the GitHub repository endorphin-ai/hasbrains-agent-kit (9 stars, last pushed 12d ago), licensed MIT. It adds 103 tokens to every session and 2,671 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
Other skills, from other repositories
hydra
Multi-agent orchestration framework for Claude Code. Automatically delegates tasks to cheaper, faster sub-agents (Haiku, Sonnet) while maintaining Opus-level quality through verification. Use when working on any coding task — Hydra activates automatically to route file exploration, test running, documentation, code…
rfc
Manage architecture RFCs: create, review, list, update, and transition status. Use when user mentions "RFC", "technical proposal", "architecture proposal", or wants to draft, review, list, update, or change status of RFCs.
cleaning-up-branches
Deletes merged git branches (local and remote) and flags stale unmerged branches for manual review. Use when user mentions "cleanup branches", "delete merged branches", "prune old branches", "remove stale branches", "branch cleanup", or runs /cleanup-branches command.
prototype
Rapid UI prototyping — generates 3 visually distinct HTML/CSS components from a text prompt and serves them in a live browser gallery. Use when user runs /prototype, asks to "prototype a UI", "mock up a component", "generate HTML mockups", "create UI variations", "design exploration", "quick UI concept", or wants to…
quality-stack
Scan a project to detect configured quality and testing tools across JVM (Gradle/Maven), Android (AGP/Compose/KMP), Node.js/TypeScript, and Python ecosystems. Cross-reference against research-backed recommendations and assist with setup. Auto-detects project type(s) including monorepos with mixed ecosystems. Use when…
doc-freshness
Detect documentation drift, stale references, and cross-document inconsistencies in any project. Scans for code-doc drift (API/function changes not reflected in docs), cross-doc drift (conflicting information across documents), and stale references (broken links, deleted files, outdated versions). Use when checking…