squad: Skill for Claude Code

.squad/skills/team-memory-maintenance/SKILL.md

team-memory-maintenance is a skill for Claude Code, Codex from bradygaster/squad. It costs 17 tokens per session (392 once invoked), scanned A, original, MIT.

A shared-memory maintenance guide for Squad session logs, decisions, and agent history. It uses the team's active storage system and keeps records tied to the correct project directory.

In plain words
What is it for?
Use it after substantial sessions to record participants, decisions, outcomes, and concise updates. It also covers processing decision inboxes and maintaining canonical decision records.
Why use it?
It prevents shared records from becoming incomplete, misleading, or out of sync with the storage system. It also keeps tentative requests separate from facts about completed work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is bradygaster/squad's own configuration. It tells Claude Code and Codex how to work on squad itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything squad configures →

About the project

bradygaster/squad is a tool that creates a human-directed team of AI development agents inside a project repository through GitHub Copilot. Developers use it to delegate work among persistent specialists such as frontend, backend, testing, and lead agents while retaining responsibility for decisions and review. The catalogue entries are the skills, agents, and instructions that define and coordinate those team members.

bradygaster/squad · 3,295 stars · on GitHub · bradygaster.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to bradygaster/squad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bradygaster/squad/dev/.squad/skills/team-memory-maintenance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bradygaster/squad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for team-memory-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradygaster/squad/team-memory-maintenance/github.svg)](https://agentmods.dev/skills/bradygaster/squad/team-memory-maintenance)
Your own site
<a href="https://agentmods.dev/skills/bradygaster/squad/team-memory-maintenance"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/team-memory-maintenance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for team-memory-maintenance

Your own site · 80×15
<a href="https://agentmods.dev/skills/bradygaster/squad/team-memory-maintenance"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/team-memory-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00392
Opus 5.5 $0.00007 $0.00157
Sonnet 5.5 $0.00003 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 1mo ago against content hash d65cbbde9f1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

team-memory-maintenance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.squad/skills/team-memory-maintenance/SKILL.md · 46 lines

What it actually says

Team Memory Maintenance

Use this skill only for accepted durable decisions. The current Scribe role does not maintain session logs, orchestration logs, specialist histories, onboarding records, or general team memory.

Scope

  • Allowed targets: .squad/decisions/inbox/ and .squad/decisions.md.
  • Use the active state backend for mutable Squad state.
  • Preserve decision authorship, rationale, and accepted scope.
  • Use archival-integrity procedures whenever accepted records are moved or compacted.

Procedure

  1. Resolve the supplied team root and configured state backend.
  2. List and read every candidate inbox entry before acting.
  3. Merge only decisions that have explicit acceptance evidence.
  4. Deduplicate exact decision headings without rewriting unrelated decisions.
  5. Normalize nested headings while preserving relative hierarchy and fenced code blocks.
  6. Re-read .squad/decisions.md and verify the merged content before deleting an inbox entry.
  7. Refetch after deletion and verify the exact inbox entry is absent.
  8. Stop on any mismatch and report the incomplete operation.

Stop Conditions

  • Stop if the team root, active backend, acceptance evidence, or required read-back capability is unavailable.
  • Stop if merged content or deletion cannot be verified exactly.
  • Do not manufacture a durable record for a tentative request, onboarding observation, or unaccepted recommendation.

Anti-Patterns

  • Writing session logs or specialist histories.
  • Bypassing the state backend with branch switching, note-ref pushes, resets, or manual persistence.
  • Deleting inbox content before verifying the canonical merge.
  • Expanding a decision-only maintenance request into product or repository cleanup.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -19 lines · -5 tokens per session d65cbbde9f1d
  2. 1mo ago First seen · 65 lines · 22 tokens per session scan A 8865fcd3395a

Subscribe to this mod's changes

team-memory-maintenance is a skill published in the GitHub repository bradygaster/squad (3,295 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 392 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

Other skills, from other repositories

apex-context-management

UTILITY SKILL — Two-mode context-window management. RUNTIME: artifact compression (full/summarized/minimal) for orchestrator and codegen agents. AUDIT: post-mortem analysis of Copilot debug logs (token profiling, redundancy, hand-off gaps) for 11-Context Optimizer. WHEN: "context optimization", "token budget"…

jonathan-vella/apex-accelerator · 100 tokens

squads-learn

Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory.

agents-squads/squads-cli · 41 tokens

ce-compound

Document a recently solved problem or durable project vocabulary in docs/solutions/ or CONCEPTS.md. Use when capturing a learning after work.

elleryfamilia/loadout · 32 tokens

loadout-remember

Save a durable, cross-project user preference into loadout's global fragments/profiles — or update the fragment it contradicts. Use when the user states lasting guidance that should follow them across projects and agents ("always X", "never Y", "stop doing Z"), especially when it conflicts with guidance the loadout…

elleryfamilia/loadout · 93 tokens

end-of-session

Captures session learnings into persistent project memory before closing. Updates task files, project knowledge, and configuration so the next session starts with full context instead of from scratch.

bobmatnyc/claude-mpm · 38 tokens

resume

Restore context from a previous session and continue work.

Sh3rd3n/megazord · 11 tokens