memory
Skill4 starsChanged 5 months agoMITView on GitHub
Use before the first memory verb — read or write — whenever the orchestrator is about to touch memory as this turn's subject: deciding what persists, searching, curating, or triaging what a session injected at start.
66 other projects use a version of this.
Adopted by
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- DioNanos/nexuscrewtheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- pobsteta/aigoratheir own version, first seen Oct 2, 2026
- vbcherepanov/total-agent-memorytheir own version, first seen Sep 30, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
Used with
Projects with it also use harness-review, postmortem and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fockusSkillharness-review
Harness v3 統合レビュースキル。コード・プラン・スコープを多角的にレビュー。以下で起動: レビュー、コードレビュー、プランレビュー、スコープ分析、セキュリティ、品質チェック、harness-review。実装・新機能・バグ修正・セットアップ・リリースには使わない。
Also in 3 projects that use this
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 4 projects that use this
MicrosoftSkilldev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
- +1 more from microsoft
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- google-gemini/gemini-cli★ 107ksame name
- Chachamaru127/claude-code-harness★ 3.1ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- memvid/claude-brain★ 578same name
- shobcoder/shob★ 577same name
- boshu2/agentops★ 447same name
- lokikill123/codex-token-skills★ 119same name
- 686f6c61/alfred-dev★ 116same name
56 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- agent-contract-handoffSkill
- agent-creationSkill
- agent-protocolSkill
- agent-responseSkill
- blog-writingSkill
- brief-specSkill
- code-reviewSkill
- code-standardsSkill
- command-executionSkill
- diagram-builderSkill
- executionSkill
- fast-queriesSkill
- gaia-auditSkill
- gaia-checkSkill
- gaia-compactSkill
- gaia-patternsSkill
- gaia-plannerSkill
- gaia-releaseSkill
- gaia-researchSkill
- gaia-verifySkill
- git-conventionsSkill
- gmail-policySkill
- gmail-triageSkill
- gws-setupSkill
- investigationSkill
- orchestrator-present-approvalSkill
- pending-approvalsSkill
- readme-writingSkill
- scheduled-taskSkill
- security-tiersSkill
- session-reflectionSkill
- skill-creationSkill
- subagent-request-approvalSkill
- technical-explanationSkill
- ticket-writingSkill
- verification-oracleSkill
- verification-rubricSkill
- visual-verifySkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 57 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Every curated item serves one human-facing role:
- Distinctive: line 36
Before saving, ask: does this already have a canonical home?
- Distinctive: line 40
Do not copy a fact into memory merely because it matters.
- Distinctive: line 72
Choose the home: Run *Other home first*, and continue only for genuinely curated value.
- Distinctive: line 94
Verify the durable result: Read back the affected rows, lifecycle, scope, and links.
- Distinctive: line 156
Claiming perfect history: only schema and migrations define what survives.
“Common” is measured: kept by at least 6 in 10 of the 57 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory
Memory is the curation technique that turns selected experience into continuity: durable knowledge kept small, live work kept visible, and raw operational history left on the automatic event floors where it belongs.
The three floors
| Floor | Purpose | Lifecycle |
| Events | Commands, dispatches, session events, and other operational facts | Automatic and short-lived |
| Episodes | Searchable agent-turn outcomes and anomalies | Automatic, retained for diagnosis |
| Curated memory | User-governed knowledge and work that must affect future decisions | Deliberate and long-lived |
Events and episodes are evidence, not durable truth.
Think in roles, not storage vocabulary
Every curated item serves one human-facing role:
- Durable knowledge: stable facts, accepted decisions, useful dead ends, user preferences, and meaningful milestones.
- Live thread: one actionable concern that must reappear in a later session.
- Historical log: append-only context useful for audit but not reinjection.
The internal class, status, type, slug, and link enums implement these
roles. Consult reference.md only when materializing or debugging them.
Other home first
Before saving, ask: does this already have a canonical home? Work in flight belongs in a brief, plan, or task; domain state in project context or the owning system; raw execution detail in events, episodes, or the transcript.
Do not copy a fact into memory merely because it matters. A second source of truth becomes stale; a durable reference to the canonical object is enough.
The one-line initiative test
- Observed Gaia fail or rub in use:
initiative=gaia_system, host-scoped bygaia/store/writer.py::apply_host_scope; a project anchor is refused. - Decided to build or change Gaia: project-scoped
initiative=gaia.
Choose from how the fact was produced, not the current directory. The writer
enforces the destination after that choice; reference.md owns its mechanics.
Process
- Read the injected memory, then sweep what you are about to touch. The
digest and anchors in context are a worklist under a SessionStart budget, not
the corpus. Before writing into an initiative — or whenever the question is
what it still owes — read its whole live-pending set with
gaia memory get-relevant --initiative=<key>, uncapped and with bodies. A reader who only sees the digest can add rows and never retire one. - Search before writing; do not read silence as absence. Find the topic's
existing owner and its lineage — a duplicate divides relevance instead of
strengthening knowledge. An empty result answers "no row matches this
phrasing", never "this initiative owes nothing": a pending is worded as the
problem looked when it opened, not as what just resolved it, so step 1's
sweep is what finds it. For a project initiative that gap is a scoping
hypothesis — confirm with the right
--workspacebefore trusting the empty result. It is not one for a host-scoped initiative (gaia_system): every reader unions the caller's workspace with_gaia_host(bin/cli/memory.py::_reader_workspaces), so an emptygaia memory get-relevant --initiativethere already covers every workspace and is the complete answer. - Choose the home. Run Other home first, and continue only for genuinely curated value.
- Adjudicate the change. The orchestrator chooses scope (see The one-line test for a host-scoped initiative), create/append/correct/transition/link, role, lifecycle, and verification. Preserve lineage when knowledge replaces or graduates from earlier work.
Curate against the exception boundary, then report. Curation is delegated: the orchestrator adjudicates and executes directly, inside the boundary below, and reports what changed afterward — it does not show a proposal and wait for it to be confirmed.
Operation Handling add/append/reclassify/linkonproject/feedback/atom/negativerowsautonomous, brief report type=userrows (about the user)autonomous, flagged above the report for veto (convention — no mechanical backstop) contradicting or superseding a user decision_*rowask first edit/deleteT3 approval flow; delegate to a specialist and never autoexecute checkpointautonomous after the milestone test; it is one atomic operation and remains all-or-nothing closing an objectively verifiable brief/plan autonomous, report; run gaia brief verifyby hand beforeset-status—close(which runs verification for free,bin/cli/brief.py::_cmd_close) is not on the orchestrator'sgaiaCLI lane, onlyset-statusispromoting a TASK never direct — dispatch gaia-verifierapprovals read/report only - Verify the durable result. Read back the affected rows, lifecycle, scope, and links. Report partial batch failures per operation.
When curated memory earns attention
- Decision: accepted, with no canonical home, and it binds a later choice.
- Project milestone: it closes a meaningful arc. A routine session close is not one; minting a checkpoint for it turns memory into session summaries.
- Live handoff: one unresolved concern has no structured work object and must resurface. One concern per thread — a single status cannot honestly represent several.
- Learning or dead end: it prevents repeated investigation or error.
- Gaia improvement: a concrete symptom, component, evidence and reproduction
deserves visible follow-up. Persist it as a
feedbacklive thread in initiativegaia_system, carried forward until closed or graduated.
When curated memory loses it
Attention is finite and a live thread spends it every session. Two exits, and neither is deletion:
- Closed — the concern was resolved or stopped being relevant.
reclassify --status=closedretires it from the worklist and keeps the row. - Graduated — the work finished and left knowledge worth holding.
reclassify --status=graduated, or--class=anchorwhen future dispatches should carry the knowledge;link --kind=graduated_topreserves the lineage from the thread to the anchor it became.
Both verbs are non-mutative, so cost is never the reason a thread stays open. Whoever observes the resolution owns the exit: a session that resolves a thread and does not close it has moved that thread's cost onto every session after it.
Ownership
- The user governs durable knowledge and every "ask first"/"veto" exception.
- The orchestrator reads deliberately, resolves ownership, adjudicates, curates within the exception boundary, and reports.
gaia-operatormaterializes already-adjudicated instructions exactly.- Other specialists only propose (
memory_delta,memorialize_suggestions); they never write curated memory directly. - The runtime enforces the writer boundary and core data invariants. The skill supplies curation judgment; it does not duplicate enforcement details.
Handoffs
session-reflectionrecovers decisions, live work, learnings, Gaia improvements and closures, then hands off the curation this skill governs.gaia-compactruns after durable persistence and carries only transient continuity plus references to what was saved.reference.mdcontains exact CLI forms, enums, scope rules, retrieval, checkpoint payloads, access telemetry, history coverage, and graph mechanics.examples.mdcontains worked create/update/batch/checkpoint cases.
Anti-patterns
- Digest or search as corpus: either can miss an initiative or old wording; only the deliberate whole-initiative sweep supports closure.
- Wrong-scope convenience: cwd does not decide where knowledge belongs.
- A resolved thread nobody closes: it taxes every later session.
- Stale update metadata:
appendchanges only the body, while repeatingaddwithout--descriptionclears that description; verify both. - Curating against an old snapshot: re-read affected rows before closure; concurrent sessions and hooks can change the corpus.
- Claiming perfect history: only schema and migrations define what survives.
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.

