/context-compaction-memory:session-sunsetfrom Context Compaction Recovery & Session Handover
Writes a structured session handover when context is nearly full, before a major pivot, or on explicit request. Guards against premature sunset on task completion.
Ships in Context Compaction Recovery & Session Handover. 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.
🛑 ANTI-TRIGGERS (Completion Bias Guard) 🛑 Task Completion ≠ Session Sunset. Unless the workflow's trigger 1 holds, you must halt and wait for the next turn (do NOT sunset) if you are:
Sunsets are strictly reserved for the workflow's §1 triggers: Context Exhaustion or Cost, Macro-Semantic Pivots, or Explicit Human Directives.
If you meet a valid sunset condition, you MUST immediately read and strictly adhere to ${CLAUDE_SKILL_DIR}/references/session-sunset-workflow.md before terminating. This prevents Zero-State Amnesia.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub neomjs/neo-agent-skills --plugin context-compaction-memory5 skills in this plugin
/context-recoveryReconstruct exact branch, PR, issue, and task state from live records; use immediately after /compact, context compression, resuming a summarized session, or detecting a lossy summary./memory-miningSearch prior commits, issues, decisions, and session memory before diagnosing regressions ('used to work', surprise validation failures), proposing architecture or roadmaps, or starting work or PR review./turn-memory-pre-flightUse when asked to add, append or paste anything into CLAUDE.md or AGENTS.md (loaded into every session): decides whether it belongs there or in an on-demand skill or doc, before you propose or edit./upstream-skill-feedbackOpt-in protocol to report reproducible skill or plugin misfires upstream; use when an installed neo-agent-skills skill or plugin bundle hits an unmapped standalone step, false gate, or broken instruction.Other plugins' skills for the same job