What problem does it solve? A bare /compact command summarizes a session generically, often losing the architecture decisions and open threads that matter. This Skill analyzes the current Claude Code session transcript, measures prompting quality and friction, and produces a focused /compact instruction so compaction preserves what the session was actually about. ## Core Features & Use Cases - Session spine extraction: Collapses a multi-megabyte transcript into a compact JSON spine with a computed score, friction metrics, and per-turn token data. - Persistent intent store: Merges conclusions into a per-repository store so re-runs reuse prior analysis instead of re-deriving it, with turn-level citations for every claim. - Interactive HTML report: Renders the session as an interactive document with a concept graph and a copyable /compact instruction at the top. - Use Case: Before compacting a long debugging session, run /qpact to get a measured quality score, see where the session drifted, and copy a /compact line that names the exact decisions and unresolved threads to preserve. ## Quick Start Ask the assistant to run /qpact to analyze the current session and open the HTML report with the copyable /compact instruction.