← ClaudeAtlas

context-graph-compressorlisted

Compress any conversation into a portable JSON context graph for handoff to a new chat or LLM. Trigger on: "compress this chat", "save context", "new chat", "hand off", "transfer context", "too many tokens", "start fresh", "export conversation", "context graph", "continue in new session". Also trigger proactively when the user mentions starting over in a long session.
Adityapal67/context-graph-compressor · ★ 26 · AI & Automation · score 85
Install: claude install-skill Adityapal67/context-graph-compressor
# Context Graph Compressor v2 Convert a conversation into a structured, portable JSON state graph — preserving decisions, facts, problems, goals, code, assumptions, and relationships — so any LLM can resume from the most important conversational state at minimal token cost. > **Honest scope:** This preserves the most important state from a conversation. It is not a > lossless transcript. Some nuance and detail will be lost. The goal is continuity, not reproduction. --- ## Compression Modes Infer from user intent. Default to `compact`. | Mode | When | Target tokens | |---|---|---| | `compact` | Handoff to new chat, token saving (DEFAULT) | 400–800 | | `readable` | Human summary, sharing with team, archiving | 1000–2000 | **`compact` triggers:** "new chat", "hand off", "transfer", "save context", "too many tokens", "start fresh" **`readable` triggers:** "summarize", "readable", "share", "export", "archive" --- ## Node Types | Code | Full | Use when | |---|---|---| | `F` | Fact | Explicitly stated technical truth — stack, versions, config, schema | | `D` | Decision | A choice was made, or something was ruled out | | `P` | Problem | A bug, error, or blocker — with or without resolution | | `G` | Goal | What the user is trying to build or achieve | | `C` | Code | A specific snippet, method, annotation, or fix — preserve verbatim | | `A` | Assumption | Something inferred but never explicitly stated | | `X` | Context | Open threads, deferred work, unresolved questions | *