Reskill

From bradygaster/squad · View interactive version

Reskill is an AI agent skill from the GitHub repository bradygaster/squad. Extract durable operating knowledge before slimming or replacing team charters

How to use this skill

Skill file

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:

lesson, or repository operating fact that would be lost if a charter or history were deleted

Step 2: Extract

For each reconciled pattern:

  1. Create or update the skill in the location that matches its activation surface:

.squad-templates/skills/{skill-name}/SKILL.md for reusable skills shipped in generated

Squad templates, .github/skills/{skill-name}/SKILL.md for repository-local or GitHub

Agentic Workflow procedures, or .squad/skills/{skill-name}/SKILL.md for Squad-specific

coordinator procedures. Do not treat

.copilot/skills/ as a destination for new skills; it is the legacy install path.

  1. Follow the skill template format (frontmatter + Context + Patterns + Examples + Anti-Patterns)
  2. Keep the location consistent with the procedure's real entry point instead of copying the same

contract into multiple trees without intent

  1. Set confidence from the evidence, not the number of charters that contained it

Step 3: Trim

Charters — target ≤1.5KB per agent:

helps the role activate the procedure

Histories — target ≤8KB per agent:

operational fact

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

identity and working style.

a single retiring charter or history.

Conflict Resolution

  1. Current implementation, executable workflows, and tests
  2. Current user-facing documentation and current skills
  3. Decisions that remain applicable
  4. 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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.