memory-write
Append, rebuild, and verify records into a memory log for long-term project knowledge retention.
Install
mkdir -p .claude/skills/memory-write && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17936" && unzip -o skill.zip -d .claude/skills/memory-write && rm skill.zipInstalls to .claude/skills/memory-write
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Append a durable record (source or concept) to the governed memory log, then rebuild and verify.Key capabilities
- →Draft a one-paragraph summary for the record
- →Collect source IDs for concept records
- →Write source or concept records to the memory log
- →Rebuild the governed memory index
- →Verify the integrity of the memory log
How it works
This skill appends durable records, either sources or concepts, to a governed memory log, requiring a summary and metadata, followed by a rebuild and verification of the index.
Inputs & outputs
When to use memory-write
- →Persist a source document for future reference
- →Draft a concept record linking multiple source IDs
- →Categorize knowledge with tags like retrieval or design
- →Verify the integrity of the memory log after appending
- →Update the index with durable project insights
About this skill
Skill: memory-write
Use this skill when you need to persist something durable — a source you ingested, or a concept you derived. Writing is append-only and always followed by a rebuild and a verify.
When to use
- You read a source worth keeping → write a
source. - A durable idea emerged across sources → write a
conceptthat cites them.
When not to use
- For scratch thinking that does not need to survive the session. Not everything is memory. Over-writing pollutes the index with noise.
Steps
-
Draft a one-paragraph
summary. This is the navigation layer — make it stand on its own. If a reader cannot tell from the summary whether to open the body, rewrite it. -
For a concept, collect the ids of the sources it relies on.
-
Write the record:
governed-memory write \ --type concept \ --title "Summary-first navigation scales sublinearly" \ --summary "Indexing summaries instead of bodies lets a reader decide what to open before paying the token cost." \ --source <source-id> \ --tag retrieval --tag design \ --sensitivity public -
Rebuild and verify:
governed-memory rebuild governed-memory verify # must print OK before you stop
Guardrails
- A
sourcerecord must not declare--source. --sensitivity restrictedrequires--acknowledge-restrictedand explicit user consent.- If
verifyfails, fix the log (not the index) and rebuild.
When not to use it
- →For scratch thinking that does not need to survive the session
- →When over-writing the index with noise is a concern
Limitations
- →A `source` record must not declare `--source`
- →`--sensitivity restricted` requires explicit user consent
- →If `verify` fails, the log must be fixed, not the index
How it compares
This skill enforces a structured, append-only process for persisting knowledge with mandatory verification, ensuring integrity and discoverability, unlike informal note-taking.
Compared to similar skills
memory-write side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| memory-write (this skill) | 0 | 1mo | No flags | Beginner |
| braindump | 7 | 5mo | No flags | Beginner |
| super-search | 10 | 1mo | Review | Beginner |
| mem-search | 8 | 3mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
braindump
huytieu
Quick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction
super-search
supermemoryai
Search your coding memory. Use when user asks about past work, previous sessions, how something was implemented, what they worked on before, or wants to recall information from earlier sessions.
mem-search
thedotmack
Search claude-mem's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.
baoyu-danger-x-to-markdown
JimLiu
Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to markdown", "tweet to markdown", "save tweet", or provides x.com/twitter.com URLs for conversion.
session-search
pchalasani
For CLI agents WITHOUT subagent support (e.g., Codex CLI). Search previous code agent sessions for specific work, decisions, or code patterns.
hindsight-cloud
vectorize-io
Store team knowledge, project conventions, and learnings from tasks. Use to remember what works and recall context before new tasks. Connects to Hindsight Cloud. (user)