reskill
Skill3.4k starsChanged 2 months agoMITView on GitHub
Extract durable operating knowledge before slimming or replacing team charters
4 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- microsoft/github-vteam-industry-demosedited, first seen Oct 25, 2026
- totwo2/reskilltheir own version, first seen Oct 20, 2026
- github/gh-awedited, first seen May 27, 2026
- Azure/apiops-cliedited, first seen Apr 27, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- github/gh-aw★ 5.6k67% same
- Azure/apiops-cli★ 3267% same
- microsoft/github-vteam-industry-demos★ 267% same
Wrote their own version · 1
- totwo2/reskill★ 0same name
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
- .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
- 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 skill into the rules it gives an agent
18 rules. 11 are common, 5 are distinctive, and 2 are very specific to this project.
11
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
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
- could be automatic: a setting could enforce it
- Common: line 11
When the coordinator hears "team, reskill" (or similar: "optimize context", "slim down charters"), trigger a team-wide optimization pass.
- Distinctive: line 21
Read all active agent charters and histories, then inventory existing skills.
- Very specific: line 32
Create or update the skill in the location that matches its activation surface: .squad-templates/skills/{skill-name}/SKILL.md for reusable …
- Common: line 38
Follow the skill template format (frontmatter + Context + Patterns + Examples + Anti-Patterns)
- Distinctive: line 39
Keep the location consistent with the procedure's real entry point instead of copying the same contract into multiple trees without intent
- Common: line 45
Remove Collaboration section entirely (spawn prompt + agent-collaboration skill covers it)
- Common: line 46
Remove Voice section (tagline blockquote at top of charter already captures it)
- Common: line 48
Remove "When I'm unsure" boilerplate from Boundaries
- Distinctive: line 49
Remove durable operating knowledge now covered by a skill — add a skill reference only when it helps the role activate the procedure
- Common: line 51
Keep: Identity, What I Own, unique How I Work patterns, Boundaries (domain list only)
- Common: line 58
Remove session-specific metadata (dates, branch names, requester names)
- Distinctive: line 111
Do not preserve historical assignments, status reports, personality, ownership, stale version facts, or obsolete workarounds.
- Common: line 122
Don't delete unique per-agent identity or domain-specific knowledge
- Distinctive: line 123
Don't leave reusable knowledge in a retiring charter just because only one agent recorded it
- Common: line 124
Don't merge unrelated patterns into a single mega-skill
- Common: line 125
Don't remove Model preference line (coordinator needs it for model selection)
- Very specific: line 126
Don't touch .squad/decisions.md during reskill
- Common: line 127
Don't remove the tagline blockquote — it's the charter's soul in one line
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context
When the coordinator hears "team, reskill" (or similar: "optimize context", "slim down charters"), trigger a team-wide optimization pass. The goal: reduce per-agent context consumption by extracting shared patterns from charters and histories into reusable skills.
This is a periodic maintenance activity. Run whenever charter/history bloat is suspected or a team will be re-cast. Charters and histories are evidence, not the authority for current product behavior: reconcile candidates against current source, workflows, tests, documentation, skills, and decisions before preserving them.
Process
Step 1: Audit
Read all active agent charters and histories, then inventory existing skills. Measure byte sizes. Identify:
- Boilerplate — sections repeated across ≥3 charters with <10% variation (collaboration, model, boundaries template)
- Shared knowledge — domain knowledge duplicated in 2+ charters (incident postmortems, technical patterns)
- Mature learnings — recurring history lessons that should be promoted to skills
- Retirement-critical knowledge — any still-current reusable procedure, constraint, incident lesson, or repository operating fact that would be lost if a charter or history were deleted
Step 2: Extract
For each reconciled pattern:
- Create or update the skill in the location that matches its activation surface:
.squad-templates/skills/{skill-name}/SKILL.mdfor reusable skills shipped in generated Squad templates,.github/skills/{skill-name}/SKILL.mdfor repository-local or GitHub Agentic Workflow procedures, or.squad/skills/{skill-name}/SKILL.mdfor Squad-specific coordinator procedures. Do not treat.copilot/skills/as a destination for new skills; it is the legacy install path. - Follow the skill template format (frontmatter + Context + Patterns + Examples + Anti-Patterns)
- Keep the location consistent with the procedure's real entry point instead of copying the same contract into multiple trees without intent
- Set confidence from the evidence, not the number of charters that contained it
Step 3: Trim
Charters — target ≤1.5KB per agent:
- Remove Collaboration section entirely (spawn prompt + agent-collaboration skill covers it)
- Remove Voice section (tagline blockquote at top of charter already captures it)
- Trim Model section to single line:
**Preferred:** {model} - Remove "When I'm unsure" boilerplate from Boundaries
- Remove durable operating knowledge now covered by a skill — add a skill reference only when it helps the role activate the procedure
- Keep: Identity, What I Own, unique How I Work patterns, Boundaries (domain list only)
Histories — target ≤8KB per agent:
- Apply history-hygiene only when a retained history would otherwise assert a materially false operational fact
- Promote reusable current patterns even when found in one retiring charter or history
- Summarize old entries into
## Core Contextsection - Remove session-specific metadata (dates, branch names, requester names)
For a planned re-cast, avoid cosmetic history rewrites. Extract the reusable lesson, document stale or conflicting material in the reskill report, and leave archival cleanup to the re-cast.
Step 4: Report
Output a savings table:
| Agent | Charter Before | Charter After | History Before | History After | Saved |
Include totals and percentage reduction.
Patterns
Minimal Charter Template (target format after reskill)
# {Name} — {Role}
> {Tagline — one sentence capturing voice and philosophy}
## Identity
- **Name:** {Name}
- **Role:** {Role}
- **Expertise:** {comma-separated list}
## What I Own
- {bullet list of owned artifacts/domains}
## How I Work
- {unique patterns and principles — NOT boilerplate}
## Boundaries
**I handle:** {domain list}
**I don't handle:** {explicit exclusions}
## Model
**Preferred:** {model}Skill Extraction Threshold
- Normal maintenance: extract repeated operational knowledge; retain genuinely role-specific identity and working style.
- Before a re-cast: extract every still-current reusable operating rule, even if it appears in a single retiring charter or history.
Conflict Resolution
- Current implementation, executable workflows, and tests
- Current user-facing documentation and current skills
- Decisions that remain applicable
- Charter and history records
Do not preserve historical assignments, status reports, personality, ownership, stale version facts, or obsolete workarounds. Record intentionally discarded conflicts in the reskill report.
Source and Mirror Discipline
.squad-templates/skills/ is the canonical source for shipped Squad skill templates. After
changing a shipped template, run the repository's skill-template sync command and verify the
root, CLI, and SDK mirrors are byte-identical. Local .copilot/skills/ guidance is maintained
separately and must not be treated as a generated mirror.
Anti-Patterns
- Don't delete unique per-agent identity or domain-specific knowledge
- Don't leave reusable knowledge in a retiring charter just because only one agent recorded it
- Don't merge unrelated patterns into a single mega-skill
- Don't remove Model preference line (coordinator needs it for model selection)
- Don't touch
.squad/decisions.mdduring reskill - Don't remove the tagline blockquote — it's the charter's soul in one line
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.

