Skills are compressed, reusable knowledge snippets stored inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bradygaster/squad/llms.txt
Use this file to discover all available pages before exploring further.
.squad/skills/ or .copilot/skills/. They teach agents specific techniques, conventions, and workflows — and because they live as files in your repository, they travel with the team. Instead of re-explaining how your PR process works or what your test conventions are every session, you write a skill once and every agent has access to it.
Skills reduce context window consumption. Rather than duplicating the same boilerplate across every agent charter, you extract shared patterns into a skill file and reference it. The Squad project itself consolidates over 5KB of redundant charter content into a handful of focused skills.
Anatomy of a Skill
Every skill is a markdown file namedSKILL.md inside a named directory. The frontmatter describes the skill and how it should be matched; the body contains the actual knowledge.
Here is the template:
agent-collaboration skill that ships with every Squad init:
| Field | Description |
|---|---|
name | Unique identifier for the skill — used for loading and referencing |
description | One-line summary for the skill registry |
domain | Category for matching (e.g., testing, security, git) |
confidence | How reliable this knowledge is: low, medium, or high |
source | How the knowledge was acquired: manual, observed, or earned |
tools | Optional MCP tools relevant to this skill’s workflows |
Built-in Skills
Everysquad init scaffolds a set of skills into .copilot/skills/. These cover the core collaboration patterns all agents need:
agent-collaboration
Worktree awareness, decision recording, and cross-agent communication patterns.
agent-conduct
Behavioral standards — response format, escalation, and reviewer protocols.
architectural-proposals
How to write and submit architectural proposals before committing to code.
architectural-review
Standards for reviewing proposals, what to approve vs. reject, and how to document decisions.
ci-validation-gates
CI/CD validation requirements — what must pass before a PR can merge.
cli-wiring
How to wire new commands into the CLI, flag conventions, and help text standards.
client-compatibility
Cross-client compatibility requirements for APIs and SDK surfaces.
distributed-mesh
Patterns for connecting multiple Squad instances in a distributed mesh topology.
git-workflow
Branching strategy, commit conventions, and merge policies.
history-hygiene
How to write useful
history.md entries — what to record and what to omit.init-mode
Scaffolding patterns and idempotency requirements for initialization flows.
model-selection
How to choose the right model for a task based on complexity and cost.
pr-lifecycle
Pull request lifecycle from branch creation through merge, including review gates.
protected-files
Which files agents must never modify without explicit human approval.
release-process
Versioning, changelog, and release gating standards.
reskill
How to update or replace a skill when the underlying pattern changes.
reviewer-protocol
Reviewer authority, rejection lockout, and revision handoff procedures.
secret-handling
How to handle secrets, tokens, and credentials — never commit, always rotate.
security-review
Security review checklist and what triggers a mandatory security audit.
squad-conventions
Project-wide conventions — naming, file layout, and inter-agent communication.
github-multi-account
Patterns for managing multiple GitHub accounts and SSH identities in multi-user or CI environments.
windows-compatibility
Windows-specific path handling, shell conventions, and cross-platform compatibility requirements.
Creating a Custom Skill
Create the skill directory
Create a named directory under
.copilot/skills/ (available to all agents) or .squad/skills/ (available to squad-scoped agents):Write the SKILL.md
Create the skill file with frontmatter and content sections:
Anti-Patterns
- Don’t write tests to
tests/— collocated only - Don’t import from
dist/in tests — always import fromsrc/
Loading Skills
The SDK’sSkillRegistry handles skill loading, matching, and injection. Skills are loaded from their directories at session startup and matched to tasks by keyword triggers and agent role affinity.
+0.5 to the score (capped at 0.7), and a matching agent role adds +0.3. Skills with a score above 0 are returned, sorted by score descending.
Skills in .copilot/skills/ are available to all agents. Skills in .squad/skills/ are squad-scoped. Both directories are scanned at session startup.
The squad nap Command
squad nap performs context hygiene — it compresses accumulated session context, prunes stale entries, and archives skills that have been superseded.
squad nap after long sessions or before starting a major new feature. It keeps history files focused and prevents skill directories from accumulating outdated entries that could confuse agents.