compact
Compact the current chat context into a concise summary. Use when the user invokes /compact, context capacity is running low, or a long session needs a smaller continuation state.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit synthetic-sciences/openscience/backend/cli/skills/other/compact .claude/skills/compactOr install it for every project:
npx degit synthetic-sciences/openscience/backend/cli/skills/other/compact ~/.claude/skills/compactFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: compact description: Compact the current chat context into a concise summary. Use when the user invokes /compact, context capacity is running low, or a long session needs a smaller continuation state. --- # Compact chat context Preserve the objective, constraints, decisions, evidence, current workspace state, unfinished work, and exact next action. Apply any requested focus without dropping material blockers or verification results. Use the native compaction action so the summary becomes continuation context rather than a normal chat response.