crow
Copilot instructions12 starsChanged yesterdayMITView on GitHub
The file
We split this copilot-instructions.md into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 2
When asked to explain a choice, don't apologize.
- Very specific: line 3
Before invoking task, create_session, a custom agent, or any skill that may spawn an agent:
- Distinctive: line 6
Use canonical model IDs only.
- Distinctive: line 8
If the requested model is unavailable or the runtime reports a different model, stop the delegated work and select a different model.
- Distinctive: line 50
If the codebase-memory-mcp server is available, use it and update the index as needed.
- Very specific: line 51
When performing code analysis or SonarQube scans, ALWAYS invoke the sonar-scan skill tool BEFORE calling any underlying Sonar MCP tools.
- Distinctive: line 52
If Sonar or ADO MCP tools fail with an Unauthorized or 403 response, stop and check in with the user.
- Distinctive: line 56
After verifying your changes via linting and automated tests, run a sonar scan and fix any issues reported in your new code before …
≈ “Common” is an estimate: at least 1 in 5 of the 3,779 Copilot instructions 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
General Behaviour Guidelines
- When asked to explain a choice, don't apologize. Stick to facts; the goal is to learn and improve, not to assign blame.
- Before invoking
task,create_session, a custom agent, or any skill that may spawn an agent:
- Determine the current model's canonical ID from the session log and the associated pricing tier in the list below. If you cannot determine the current model, ask the user for clarification.
- Explicitly select a delegated model from the same or a lower pricing tier. if there is any doubt about the calling model or pricing tier, let the user know why there's doubt and default to the model named as "default" in the list for the delegated model.
- Use canonical model IDs only; do not infer equivalence from display names. Never rely on an agent or skill default model.
- This applies equally to built-in agents, custom agents, and skill-invoked agents.
- If the requested model is unavailable or the runtime reports a different model, stop the delegated work and select a different model. Do not continue on a higher-cost model. Model cost limits are mandatory, not optimization guidance. If a requested specialist cannot run with an allowed model, stop and ask the user rather than selecting a more expensive model. { "default": "gpt-6-luna", "0 - low": [ "claude-haiku-4.5", "claude-haiku-5.5", "gemini-3.8-flash", "gpt-5.4-nano", "gpt-5.6-luna", "gpt-6-luna", "mai-code-1.1-flash", ], "1 - medium": [ "claude-sonnet-4.6", "claude-sonnet-5", "claude-sonnet-5.5", "gemini-4-argon", "gpt-5.3-codex", "gpt-5.6-terra", "gpt-6-sol", "gpt-6.1-sol", "grok-4.5", "grok-4.6", "grok-4.7", "kimi-k3" ], "2 - high": [ "claude-opus-4.8", "claude-opus-5", "claude-opus-5.5", "gpt-5.6-sol" ], "3 - premium": [ "gpt-6-astra", "claude-fable-5", "claude-fable-5.1" ] }
Automated Tool & Skill Enforcement
- codebase-memory-mcp — Provides the code intelligence graph used for indexing, architecture discovery, symbol search, and cross-file tracing. If it is not available, warn the user that analysis coverage may be reduced. Install it globally in the VS Code user profile.
- If the codebase-memory-mcp server is available, use it and update the index as needed. Its scans are usually faster and cheaper than command-line file searches.
- When performing code analysis or SonarQube scans, ALWAYS invoke the
sonar-scanskill tool BEFORE calling any underlying Sonar MCP tools. - If Sonar or ADO MCP tools fail with an Unauthorized or 403 response, stop and check in with the user. They may need to connect to the VPN to reach those tools.
Development Guidelines
- Once you've completed a code change, run the linter for the language you're working in and fix any issues before running any other tests.
- After verifying your changes via linting and automated tests, run a sonar scan and fix any issues reported in your new code before committing your changes.
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.

