endorphin-ai/hasbrains-agent-kit / agent-engineering/skills/convert-to-copilot
convert-to-copilot
VerifiedThis skill should be used when converting a Claude Code agent (+ its launch command + its skills) into a single GitHub Copilot agent (.github/agents/*.agent.md) with supporting context files under .copilot_utils/{agent_name}/. Load when someone says 'convert to copilot', 'make copilot agent', 'copilot version of this agent', 'port this agent to copilot', or when /convert-to-copilot is invoked with an agent file path.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.9 KB |
| SKILL.md | skill md | 11.3 KB |
| assets/copilot-agent-template.md | markdown | 1.6 KB |
| examples/pr-reviewer.md | markdown | 5.2 KB |
| references/advanced-patterns.md | markdown | 3.6 KB |
| references/advanced-subagents.md | markdown | 4.0 KB |
| references/conversion-body.md | markdown | 4.4 KB |
| references/conversion-output.md | markdown | 3.1 KB |
| references/conversion-phases.md | markdown | 4.6 KB |
| references/tool-mapping.md | markdown | 6.1 KB |
| scripts/claude-to-copilot.sh | script | 4.6 KB |
| scripts/convert-agents.sh | script | 1.3 KB |
| scripts/copilot-to-claude.sh | script | 5.6 KB |
| scripts/lib-extract.sh | script | 1.8 KB |
assets/copilot-agent-template.md
View on GitHub---
name: '{agent_name}'
description: '{merged description: agent desc + command trigger phrases. 50-150 chars, single-quoted}'
tools: ['{see tool-mapping.md — "web" not "fetch", "todo" not "task"}']
model: '{Claude Opus 4.5 | Claude Sonnet 4.5 | Claude Haiku 4.5 — omit if inherit}'
target: 'vscode'
argument-hint: '{from command argument-hint}'
---
## PROGRESS TRACKING
**CRITICAL:** Use `manage_todo_list` tool to track progress.
**Initial Setup (before starting work):**
```json
{
"operation": "write",
"todoList": [
{ "id": 1, "title": "PHASE 1: ...", "status": "not-started" },
{ "id": 2, "title": "PHASE 2: ...", "status": "not-started" }
]
}
```
**During Execution:**
```json
{ "operation": "update", "updates": [{ "id": 1, "status": "in-progress" }] }
{ "operation": "update", "updates": [{ "id": 1, "status": "completed" }] }
```
---
## Role
{Agent role description — copy and adapt from Claude agent body}
---
## Context Files
| Context file | What it knows | When you use it |
| ------------------------------------------------ | ---------------- | --------------- |
| `.copilot_utils/{agent_name}/trees/{skill}.md` | {decision logic} | PHASE {N} |
| `.copilot_utils/{agent_name}/context/{skill}.md` | {knowledge} | PHASE {N} |
---
## PHASE 1: {Phase name}
**Apply tree:** `.copilot_utils/{agent_name}/trees/{skill}.md`
{Phase steps...}
**Output Variables:**
- `varName` = {what it contains}
---
## ALWAYS_DO
{Copy ALWAYS_DO rules from Claude agent}
## NEVER_DO
{Copy NEVER_DO rules from Claude agent}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |