Save a session summary to memory. The "write" side of session continuity — /load is the "read" side.
From ai-memorynpx claudepluginhub dankinsoid/ai-memory --plugin ai-memoryThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
The full transcript is saved automatically — compact captures the substance: what was decided, what went wrong, what the user wants. Not a play-by-play.
Compact is a handoff to a future agent — write what you'd need to continue this work with no other context. Be concrete and actionable, not polished.
Two parts: a structured header for quick orientation, then a compression-gradient narrative where detail increases toward the end (recent work matters most for resumption, early work only needs enough context to understand the arc).
Skip compact for short sessions — if the compact would be comparable in size to the sum of all messages, don't generate it. Just call memory_session without the compact field; the transcript is saved automatically and is sufficient for recovery.
Goal: <why this session exists — intent, not just topic>
Status: in-progress | completed | blocked
Next: <immediate next action, one line>
Blockers: <if any, otherwise "none">
---
<Overview sentence — what was this session about, what's the outcome.>
<Early session — high compression: 1-2 sentences per topic.>
<Middle session — moderate detail: key decisions with rationale.>
<Recent work — full detail: what was tried, what worked, what didn't.
Include code snippets, exact error messages, specific function names.>
<Current state: what is working, what is broken, what is half-done.>
## Dead ends
- <approach tried → why it failed> (skip section if none)
## User requirements
- <requirements, preferences, corrections from the user>
- <specific to this project/task — things the next agent must respect>
/load budget is shared with facts and transcript tail; a bloated compact crowds them out.memory_session mcp toolPass session_id: ${CLAUDE_SESSION_ID}
Pass project: from the SessionStart context