delegate-claude-to-copilot
CLAUDE.md0 starsChanged 9 months agoMITView on GitHub
For coding tasks, default to delegating the work to GitHub Copilot via the personal copilot skill. Treat the following as coding tasks: - writing or editing code - debugging build, test, lint, or runtime failures - refactoring - generating tests - running repository shell commands in service of implementation Behavior: - Invoke the copilot skill first for coding tasks, even if the user does not explicitly mention Copilot. - Use Claude directly for non-coding tasks such as explanation, planning, summarization,…
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Treat the following as coding tasks:
- Distinctive: line 12
Use Claude directly for non-coding tasks such as explanation, planning, summarization, and configuration questions that do not require …
- Distinctive: line 13
If the user explicitly asks not to use Copilot, follow that instruction.
- Distinctive: line 14
If Copilot delegation fails or is unavailable, state that clearly and then continue in Claude if appropriate.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
For coding tasks, default to delegating the work to GitHub Copilot via the personal copilot skill.
Treat the following as coding tasks:
- writing or editing code
- debugging build, test, lint, or runtime failures
- refactoring
- generating tests
- running repository shell commands in service of implementation
Behavior:
- Invoke the
copilotskill first for coding tasks, even if the user does not explicitly mention Copilot. - Use Claude directly for non-coding tasks such as explanation, planning, summarization, and configuration questions that do not require repository implementation.
- If the user explicitly asks not to use Copilot, follow that instruction.
- If Copilot delegation fails or is unavailable, state that clearly and then continue in Claude if appropriate.
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.

