Skilllibrary context-summarization
Compress a large working context into a durable, restart-friendly summary that preserves active objective, decisions, changed surfaces, blockers, and next steps. Use when a session is long, handoff is needed, or the context window is getting noisy and a compact recovery surface would help. Do not use for user-facing narrative summaries where implementation state does not matter.
install
source · Clone the upstream repo
git clone https://github.com/merceralex397-collab/skilllibrary
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/merceralex397-collab/skilllibrary "$T" && mkdir -p ~/.claude/skills && cp -r "$T/06-agent-role-candidates/context-summarization" ~/.claude/skills/merceralex397-collab-skilllibrary-context-summarization && rm -rf "$T"
manifest:
06-agent-role-candidates/context-summarization/SKILL.mdsource content
Purpose
Use this skill to shrink context without losing the thread.
Operating procedure
- Extract the active objective.
- Preserve decisions and constraints that still matter.
- List changed files or surfaces if known.
- Preserve blockers, open questions, and next step.
- Omit fluff, repeated history, and resolved tangents.
Decision rules
- Prefer restart utility over completeness.
- Preserve decisions, constraints, blockers, and next action before examples or rationale.
- If a fact is uncertain, mark it uncertain rather than smoothing it over.
Output requirements
Return:
ObjectiveStateDecisionsBlockersNext Step
References
- Read
.references/summary-order.md - Read
.references/what-to-drop.md - Read
.references/restart-utility.md