/memory-system:memory-systemfrom memory-system
Read and write task memories in docs/memories/. Use when planning, starting work, after searches or user feedback, and when completing tasks.
Ships in memory-system. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Project task memories live in docs/memories/ as Markdown files, one per task. This is separate from any host-level memory you may use.
This plugin's hooks enforce the timing in any repo that has a docs/memories/ directory, per repo or git worktree (each worktree uses its own docs/memories/):
docs/memories/ is blocked until a live memory exists: state: in_progress and either new or changed in this working tree or branch (untracked, modified, staged, or committed on the branch since it left the default branch), or written by this session. Writing the memory itself is always allowed.apply_patch call before editing other files. Every file in a patch, including both ends of a move, must pass the gate before its memory writes are recorded.in_progress memory from a finished task no longer unlocks edits: mark finished tasks completed (or cancelled).MEMORY_GATE=off in the environment disables the hooks.state: in_progress.state: completed (or cancelled).Survey all memories cheaply (everything through Related Memories, before Task (TCREI) or Status):
for f in docs/memories/[0-9]*.md; do
[ -e "$f" ] || continue
echo "=== $f ==="
awk '/^## Task \(TCREI\)|^## Status/{exit} {print}' "$f"
echo
done
Pick the most relevant paths from context (current task, links in Related Memories, descriptions). Read the full file only for those.
YYYY-MM-DD-<short-task-slug>.md (kebab-case slug).state: in_progress, timestamps).completed / cancelled), Lessons / Learnings, final timestamps.Prefer links to code/docs over long pasted content. One memory per task.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub atebites-hub/memory-system --plugin memory-system