From cpr
Wrap up a work session. Updates memory files, logs decisions and lessons, appends to the session log.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cpr:endThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Persist the current session's state so the next session can resume cleanly.
Persist the current session's state so the next session can resume cleanly.
Look at what happened during this session:
Rewrite .claude/memory/status.md to reflect current state:
If this is a project with plan.md, update task checkboxes:
- [x] Task- [-] TaskReview the session and identify any architectural or design decisions that were made.
Write these to decisions.md directly — do NOT ask the user unless the session was
ambiguous and you genuinely cannot determine what was decided or why.
Create decisions.md with frontmatter if it doesn't exist yet.
Workspace mode: check whether the decision is task-specific or cross-task. Task-specific decisions belong in the task file or task directory, not at root.
ADR format:
### YYYY-MM-DD — Decision Title
**Context**: What situation prompted this decision?
**Decision**: What did we decide?
**Alternatives considered**: What else was on the table?
**Trade-offs**: What are we giving up?
Review the session for workflow friction, things that worked well, tool quirks, or command syntax worth noting. Write these directly — do NOT ask the user unless nothing meaningful can be inferred from the session.
Workflow lessons → lessons.md
Tool knowledge → tools.md (CLI syntax, missing tools and what was used instead,
flag traps, argument quirks)
Note at the top of lessons.md (add if creating for the first time):
_For tool-specific knowledge (CLI syntax, missing tools, flag traps), see [tools.md](tools.md)._
Create each file with frontmatter if it doesn't exist.
Workspace mode: root-level lessons.md and tools.md are for cross-task knowledge
only. Task-specific learnings go into the task file or task directory.
Append a brief entry to .claude/memory/diary.md. Create it if it doesn't exist.
Do NOT add diary.md to the MEMORY.md index — it is never auto-loaded.
Format:
### YYYY-MM-DD HH:MM — {{short title summarizing the session}}
**Session**: {{session ID}}
{{prose summary of the session — what was worked on, what changed, and what comes next.
Write it like a journal entry: clear and human-readable, not a bullet dump.
Up to 5 paragraphs. No need to go deep on technical details.}}
If any new topic files were created this session (e.g., decisions.md, lessons.md,
tools.md), add them to .claude/memory/MEMORY.md with a one-line entry:
- [Title](file.md) — one-liner description
Tell the user what was saved — files updated, key state changes, what the next session should pick up. Keep it to 3-4 lines.
npx claudepluginhub torarnv/claude-project-manager --plugin cprEnds a work session by writing a concise HANDOFF.md snapshot summarizing progress, decisions, and next steps for the next session.
Generates and saves Markdown session logs capturing objectives, file changes, referenced materials, technical notes, future plans, open items, and metrics to resume project work across conversations.
Writes a short distilled summary of a working session to docs/sessions/YYYY-MM-DD-<topic>.md after substantial work. Useful for maintaining continuity across sessions without dumping raw chat transcripts.