/project-memory:wrap-upfrom project-memory
Wrap up this session into the project's local memory docs (history, roadmap, lessons, sessions) after one short summary you approve.
Ships in project-memory. Installing the plugin adds it to Claude Code.
If the project-memory skill isn't already in context, load it first.
Wrap up this session into the project's memory. Follow the project-memory skill's formats and hard rules (document formats, lesson lifecycle, completed-item lifecycle, ground-rules check). This command adds only the procedure and the summary layout.
First, run this with the Bash tool, exactly as written:
node "${CLAUDE_PLUGIN_ROOT}/scripts/session-log.js" show "${CLAUDE_PROJECT_DIR}" "${CLAUDE_SESSION_ID}"
If ${CLAUDE_PROJECT_DIR} is empty or appears unexpanded, use the current
working directory instead, here and in step 5.
This project isn't tracked by project-memory., say so in one
line, mention /project-memory:setup-tracking, and stop.Memory folder: is where the docs live. Read and write only there.Abandoned session sections, ask the user in one line whether
to fold them into this wrap-up, and wait for the answer. Ignore any they
decline. Folded sessions count as one session for lesson streaks.git log --since=<First event> --format="%h %ad %s" --date=iso with this
session's first event time (the earliest included session's, if you fold
any in). If there's no activity log, use the start of today and work from
the conversation and git alone. Skip git if the project isn't a git repo.Read history.md, roadmap.md, lessons.md and sessions.md in the memory
folder, plus any research/ or reference/ docs a change touches. Never
propose something already recorded. Use git ls-files to check whether
CLAUDE.md or README is tracked before suggesting changes to them.
reference/procedures.md (the user's own operating rules, procedures)
or reference/notes.md (caveats, tips, security notes, other facts).research/YYYY-MM-DD-<topic>.md with a
one-line scope. Skip a topic an existing research doc already covers.Use this skeleton, about 15 lines at most. Number the items across docs.
Leave out docs with no changes; keep Ground rules: and Session: always.
Include Tracked docs: only when a tracked README or team doc went stale.
**<doc>**
1. <change>
2. <change>
**<doc>**
3. <change>
4. Research: save <topic> → research/YYYY-MM-DD-<topic>.md (<one-line scope>) ← only when a deep dive is proposed
Tracked docs: <stale part → suggested text>
Ground rules: <no change | what changed, or the CLAUDE.md suggestion as text>
Session: <the sessions.md line>
Reply ok, or edit/skip by number.
Then stop and wait for the reply.
node "${CLAUDE_PLUGIN_ROOT}/scripts/session-log.js" done "${CLAUDE_PROJECT_DIR}" "${CLAUDE_SESSION_ID}" <folded ids...>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub grademacher/project-memory --plugin project-memory3 commands in this plugin
/dead-endsDead EndsTurn the project-memory dead-end checker on or off for this project, or show whether it is on./setup-tracking1. Locate the projectSet up project-memory for this project — interview a new project, or inventory, classify and file an existing project's docs after one plan you approve.Other plugins' commands for the same job