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.

synthetic-sciences Updated 4.4k repo stars
An OpenScience session comparing EGFR inhibitor potency: the trace shows the search, the written files, the analysis run and the answer with a results table

File contents

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.

synthetic-sciences/openscience commit 02e6cb83e4

Frequently asked questions

npx get-skill add synthetic-sciences/compact