team-memory-maintenance
Skill3.4k starsChanged 2 months agoMITView on GitHub
Merge accepted Squad decisions through the active state backend with exact verification
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
- 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
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill only for accepted durable decisions.
- Very specific: line 17
Use the active state backend for mutable Squad state.
- Distinctive: line 19
Use archival-integrity procedures whenever accepted records are moved or compacted.
- Distinctive: line 30
Stop on any mismatch and report the incomplete operation.
- Distinctive: line 34
Stop if the team root, active backend, acceptance evidence, or required read-back capability is unavailable.
- Distinctive: line 36
Stop if merged content or deletion cannot be verified exactly.
- Distinctive: line 37
Do not manufacture a durable record for a tentative request, onboarding observation, or unaccepted recommendation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
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
- Resolve the supplied team root and configured state backend.
- List and read every candidate inbox entry before acting.
- Merge only decisions that have explicit acceptance evidence.
- Deduplicate exact decision headings without rewriting unrelated decisions.
- Normalize nested headings while preserving relative hierarchy and fenced code blocks.
- Re-read
.squad/decisions.mdand verify the merged content before deleting an inbox entry. - Refetch after deletion and verify the exact inbox entry is absent.
- 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.
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.

