chadixearth/graphyloop/swarm-memory
Claude Code and agent skill by chadixearth/graphyloop
- community
Checking that the SKILL.md file is still in the repository.
Use this skill at the start and end of every non-trivial task to recall and record durable project knowledge through graphyloop memory - what to search before planning, what is worth storing, what must never be stored, and how to correct a wrong memory.
Install
npx vskill@latest install chadixearth/graphyloop/swarm-memorySKILL.md
The same SKILL.md was published earlier as chadixearth/graphyloop/swarm-memory.
Swarm memory
Memory is only useful if it is read before deciding and written after learning. A store that is written but never searched is a diary; one that is searched but never corrected repeats its mistakes forever.
When to activate
- START of any non-trivial task, in the same parallel block as the first reads and before the context pack and contract. A trivial single-file edit skips memory.
- END of any task that produced a decision, a gotcha, or a reusable approach.
- When a past decision is being revisited ("why is it done this way?").
Procedure
- Recall first.
memory_searchwith 2-4 concrete keywords from the task
(component names, error text, feature nouns). Optional type filter: decision, pattern, lesson, event, task.
- Results exist → use them, and say which memory informed the plan.
- Nothing → say nothing and proceed. Never invent a recalled memory.
- Store at the end, one entry.
memory_storewith the right type:
decision— a choice made and why (the alternative rejected matters more than the choice).lesson— a gotcha hit and how it was resolved. This is the highest-value type.pattern— a reusable approach with the file that demonstrates it.event— something that happened (a deploy, a migration, an incident).
- Correct, do not accumulate. A wrong or outdated memory gets
memory_forget
with its id, then a corrected entry. Leaving both means the next session gets contradictory advice with no way to pick.
What makes an entry worth keeping
Good: one dense line, searchable nouns, an anchor.
Bad, and why:
"fixed the bug"— unsearchable, no anchor, no cause.- A pasted 200-line diff — the repo already has it; memory is for the why.
"user prefers dark mode"when it was said once about one screen — over-generalized preferences become wrong rules.
Never store
- Credentials, tokens, connection strings, or anything from a
.envfile — not
even partially. Store the key NAME if it matters.
- Personal data about the user or third parties beyond what the work needs.
- Speculation stated as fact. If it was not verified, either verify it or label it.
Rules
- One entry per task, not one per file touched. A flooded store ranks badly.
- Write the entry yourself at the end; do not delegate it to a subagent whose
context is narrower than the task.
- Memory survives
shutdownand restarts. State does not — re-read
swarm_state after a restart instead of trusting recall for live task status.
- Blocked roots (home directory, harness config dirs, system dirs) refuse memory
writes by design. Accept the skip; do not retry in another directory.
- A build leaves two frozen files next to each other:
ctx-<slug>.md(context
pack) and contract-<slug>.md. Store the lesson or decision, not their content.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/swarm-memory/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chadixearth/graphyloop/swarm-memory)