squad
Copilot instructions3.4k starsChanged 2 months agoMITView on GitHub
You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously, follow these guidelines. IMPORTANT — run this check on EVERY session start, before doing any work: Inspect your agent_instructions for the coordinator canaries. This is a two-state payload-integrity check within a known Squad coordinator session; it verifies whether the coordinator payload loaded fully or was visibly truncated. It is not proof that an agent with no canaries is safely non-Squad — wholly…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- bradygaster/squadword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- bradygaster/squad★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository247 other files it gives its agents.
- .github/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- packages/squad-cli/templates/copilot-instructions.mdCopilot instructions
- packages/squad-sdk/templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- templates/copilot-instructions.mdCopilot instructions
- action-skill-contractsSkill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- architectural-reviewSkill
- archival-integritySkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- content-scopeSkill
- distributed-meshSkill
- documentation-maintenanceSkill
- github-multi-accountSkill
- git-workflowSkill
- history-hygieneSkill
- init-modeSkill
- model-selectionSkill
- pr-lifecycleSkill
- protected-filesSkill
- release-processSkill
- reskillSkill
- reviewer-protocolSkill
- secret-handlingSkill
- security-reviewSkill
- squad-conventionsSkill
- test-disciplineSkill
- windows-compatibilitySkill
- agentic-workflow-designerSkill
- gh-aw-reliabilitySkill
- iterative-retrievalSkill
- reflectSkill
- {skill-name}Skill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-machine-coordinationSkill
- cross-squad-communicationSkill
- cross-squadSkill
- distributed-meshSkill
- docs-standardsSkill
- e2e-template-testingSkill
- economy-modeSkill
- error-recoverySkill
- external-commsSkill
- fact-checkingSkill
- gh-auth-isolationSkill
- gh-aw-enlistmentSkill
- github-multi-accountSkill
- The first 60 shown.
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
15 rules. About 0 are common, 3 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
If the HEAD canary SQUAD_COORDINATOR_CANARY_HEAD_b7d2 is absent, the Squad coordinator payload is not observable from inside this prompt.
- Very specific: line 13
If the HEAD canary SQUAD_COORDINATOR_CANARY_HEAD_b7d2 is present and the EOF canary SQUAD_COORDINATOR_CANARY_a8f3 is present, the …
- Very specific: line 14
If the HEAD canary SQUAD_COORDINATOR_CANARY_HEAD_b7d2 is present but the EOF canary SQUAD_COORDINATOR_CANARY_a8f3 is absent, the …
- Very specific: line 22
Do not continue with normal Squad routing, spawning, PR, or branch-protection behavior after emitting the warning.
- Distinctive: line 26
Before starting work on any issue:
- Very specific: line 28
Read .squad/team.md for the team roster, member roles, and your capability profile.
- Very specific: line 29
Read .squad/routing.md for work routing rules.
- Very specific: line 30
If the issue has a squad:{member} label, read that member's charter at .squad/agents/{member}/charter.md to understand their domain …
- Very specific: line 34
Before starting work, check your capability profile in .squad/team.md under the Coding Agent → Capabilities section.
- Very specific: line 45
Use the squad branch convention:
- Distinctive: line 53
When opening a PR:
- Very specific: line 55
If the issue had a squad:{member} label, mention the member: Working as {member} ({role})
- Very specific: line 56
If this is a 🟡 needs-review task, add to the PR description: ⚠️ This task was flagged as "needs review" — please have a squad member …
- Very specific: line 57
Follow any project conventions in .squad/decisions.md
- Distinctive: line 61
If you make a decision that affects other team members, write it to:
≈ “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
<!-- squad:copilot-instructions:start -->Copilot Coding Agent — Squad Instructions
You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously, follow these guidelines.
Coordinator Canary Check
IMPORTANT — run this check on EVERY session start, before doing any work:
Inspect your agent_instructions for the coordinator canaries. This is a two-state payload-integrity check within a known Squad coordinator session; it verifies whether the coordinator payload loaded fully or was visibly truncated. It is not proof that an agent with no canaries is safely non-Squad — wholly absent payloads and proven non-Squad agents require a host-level identity beacon before custom-agent instruction ingestion.
- If the HEAD canary
SQUAD_COORDINATOR_CANARY_HEAD_b7d2is absent, the Squad coordinator payload is not observable from inside this prompt. Treat non-Squad discrimination as an OPEN host-level concern; do not claim this check proved the current agent is non-Squad. - If the HEAD canary
SQUAD_COORDINATOR_CANARY_HEAD_b7d2is present and the EOF canarySQUAD_COORDINATOR_CANARY_a8f3is present, the coordinator prompt loaded fully. Proceed with normal Squad behavior. - If the HEAD canary
SQUAD_COORDINATOR_CANARY_HEAD_b7d2is present but the EOF canarySQUAD_COORDINATOR_CANARY_a8f3is absent, the coordinator prompt loaded but was truncated before the end.
When the coordinator prompt is truncated, you MUST:
- STOP — do not proceed with standard Squad behavior.
- WARN the user with this exact message:
⚠️ Squad coordinator (squad.agent.md) loaded but appears to be truncated before the EOF canary. Do NOT proceed with standard Squad behavior — Squad's safety rails are incomplete. Please restart your session. - Do not continue with normal Squad routing, spawning, PR, or branch-protection behavior after emitting the warning.
Team Context
Before starting work on any issue:
- Read
.squad/team.mdfor the team roster, member roles, and your capability profile. - Read
.squad/routing.mdfor work routing rules. - If the issue has a
squad:{member}label, read that member's charter at.squad/agents/{member}/charter.mdto understand their domain expertise and coding style — work in their voice.
Capability Self-Check
Before starting work, check your capability profile in .squad/team.md under the Coding Agent → Capabilities section.
- 🟢 Good fit — proceed autonomously.
- 🟡 Needs review — proceed, but note in the PR description that a squad member should review.
- 🔴 Not suitable — do NOT start work. Instead, comment on the issue:
🤖 This issue doesn't match my capability profile (reason: {why}). Suggesting reassignment to a squad member.
Branch Naming
Use the squad branch convention:
squad/{issue-number}-{kebab-case-slug}Example: squad/42-fix-login-validation
PR Guidelines
When opening a PR:
- Reference the issue:
Closes #{issue-number} - If the issue had a
squad:{member}label, mention the member:Working as {member} ({role}) - If this is a 🟡 needs-review task, add to the PR description:
⚠️ This task was flagged as "needs review" — please have a squad member review before merging. - Follow any project conventions in
.squad/decisions.md
Decisions
If you make a decision that affects other team members, write it to:
.squad/decisions/inbox/copilot-{brief-slug}.mdThe Scribe will merge it into the shared decisions file.
<!-- squad:copilot-instructions:end -->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.

