← ClaudeAtlas

chat-compactorlisted

Generate structured session summaries optimized for future AI agent consumption. Use when (1) ending a coding/debugging session, (2) user says "compact", "summarize session", "save context", or "wrap up", (3) context window is getting long and continuity matters, (4) before switching tasks or taking a break. Produces machine-readable handoff documents that let the next session start fluently without re-explaining.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 79
Install: claude install-skill aiskillstore/marketplace
# Chat Compactor Generate structured summaries optimized for AI agent continuity across sessions. ## Why This Exists Human-written summaries and ad-hoc AI summaries lose critical context: - **Decision rationale** gets lost (why X, not Y) - **Dead ends** get forgotten (agent re-tries failed approaches) - **Implicit knowledge** isn't captured (file locations, naming conventions, gotchas) - **State** is unclear (what's done, what's pending, what's blocked) This skill produces **agent-optimized handoff documents** that prime the next session. ## Output Format Generate a markdown file with this structure: ```markdown # Session: [Brief Title] Date: [YYYY-MM-DD] Duration: ~[X] messages ## Context Snapshot [1-2 sentences: What project/task, what state it's in right now] ## What Was Accomplished - [Concrete outcome 1] - [Concrete outcome 2] ## Key Decisions & Rationale | Decision | Why | Alternatives Rejected | |----------|-----|----------------------| | [Choice] | [Reason] | [What didn't work and why] | ## Current State - **Working**: [files/features that are functional] - **Broken/Blocked**: [what's not working and why] - **Modified files**: [list with brief note on changes] ## Dead Ends (Don't Retry) - ❌ [Approach that failed] — [why it failed] ## Next Steps (Prioritized) 1. [ ] [Most important next action] 2. [ ] [Second priority] ## Environment & Gotchas - [Any setup notes, versions, quirks discovered] ## Key Code/Commands Reference [Only if there are non-obvious c