A web application for managing, analyzing, and transforming Claude Code and GitHub Copilot sessions.
- Clone Sessions - Create copies with selective removal of tool calls and thinking blocks
- Compress Messages - LLM-based compression to reduce context window usage
- Visualize Context - See where tokens are being consumed
- Browse Sessions - Navigate Claude and Copilot sessions across projects
Claude Code sessions accumulate context over time, eventually hitting limits or degrading performance. This tool lets you "slim down" sessions by:
- Removing old tool calls (50-100% from oldest portion)
- Removing thinking blocks (always 100%)
- Compressing older messages to 10-35% of original length
npm install
npm run dev- Node.js 22+
- OpenRouter API key (for compression) - set
OPENROUTER_API_KEYin.env.local
| Source | Location |
|---|---|
| Claude Code | ~/.claude/projects/ |
| GitHub Copilot | VS Code workspace storage |
src/
├── routes/ # API endpoints
├── services/ # Business logic
├── sources/ # Session source adapters
├── providers/ # LLM provider abstraction
└── lib/ # Utilities
public/js/ # Frontend (vanilla JS + Tailwind)
views/pages/ # EJS templates
npm test # Run tests
npm run typecheck # Type check
npm run dev # Dev server with hot reloadMIT