chadixearth/graphyloop/swarm-memory

Claude Code and agent skill by chadixearth/graphyloop

Trust tier 2
  • community
LLM review pending
Source check pending

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-memory

SKILL.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

  1. Recall first. memory_search with 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.
  1. Store at the end, one entry. memory_store with 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).
  1. 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.

decision: state lives in <project>/.graphyloop/state.json (was .opencode/graphyloop) — three of four harnesses are not opencode; migration in lib/engine.mjs
lesson: node --test hangs when a failing assert skips stdin.end() on a spawned server — the child holds the stdio pipes; close it in a finally
pattern: file-to-file credential sync (env_sync) keeps values out of the model context — see lib/secrets.mjs

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 .env file — 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 shutdown and 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/chadixearth/graphyloop/swarm-memory/badge)](https://verified-skill.com/skills/chadixearth/graphyloop/swarm-memory)

Something wrong with this skill or its page? Tell us.