You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Session Distiller strips bloated sessions to ~10% of original size while
preserving all conversation text verbatim. Per-tool-type rules: Read stripped
entirely, Bash keeps head+tail, Edit keeps diff preview, Agent keeps up to
2000 chars. Creates backup + index in session folder, renders as expandable
bundle in dashboard tree.
Image Trimmer replaces base64 image blocks with [image redacted] placeholders.
35-line standalone script, also available as /trim-images skill.
Dashboard Distill button, CLI --distill flag, POST /api/session-distill endpoint.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
**Claude Code Organizer (CCO)** is a free, open-source dashboard that lets you manage all Claude Code configuration — memories, skills, MCP servers, settings, agents, rules, and hooks — across global and project scopes. It includes a security scanner for MCP tool poisoning and prompt injection, a per-item context token budget tracker, per-project MCP enable/disable controls, and bulk cleanup for duplicate configs. All without leaving the window.
19
19
20
-
> **v0.16.0** — Context budget constants and MCP security features now verified against Claude Code's leaked source. MCP Controls lets you disable servers per-project, matching `/mcp disable` behavior exactly.
20
+
> **v0.17.0** — Session Distiller strips bloated sessions down to ~10% of their original size while keeping every word of conversation intact. Image Trimmer removes base64 screenshots that trigger "image exceeds dimension limit" warnings. Both tools run from the dashboard or CLI.
21
21
22
22
> Scan for poisoned MCP servers. Reclaim wasted context tokens. Disable MCP servers per-project. Find and delete duplicate memories. Move misplaced configs where they belong.
23
23
24
24
> **Privacy:** CCO reads Claude Code config files on your machine (global and project-level). Nothing is sent externally. Zero telemetry.
25
25
26
26

27
27
28
-
<sub>258 tests (105 unit + 153 E2E) | Zero dependencies | Demo recorded by AI using [Pagecast](https://github.com/mcpware/pagecast)</sub>
28
+
<sub>263 tests (110 unit + 153 E2E) | Zero dependencies | Demo recorded by AI using [Pagecast](https://github.com/mcpware/pagecast)</sub>
29
29
30
30
> 100+ stars in 5 days. Built by a CS dropout who found 140 invisible config files controlling Claude and decided no one should have to `cat` each one. First open source project — thank you to everyone who starred, tested, and reported issues.
31
31
@@ -76,6 +76,7 @@ Or run directly: `npx @mcpware/claude-code-organizer`
76
76
| Undo every action |**Yes**| No | No | No |
77
77
| Bulk operations |**Yes**| No | No | No |
78
78
| Zero-install (`npx`) |**Yes**| Varies | No (Tauri/Electron) | No (VS Code) |
79
+
| Session distillation + image trimming |**Yes**| No | No | No |
79
80
| MCP tools (AI-accessible) |**Yes**| No | No | No |
80
81
81
82
## Context Budget: See How Many Tokens Claude Code Pre-Loads
@@ -141,6 +142,40 @@ Built by reverse-engineering Claude Code's leaked source (`~/.claude.json` → `
141
142
- Per-project — disabling in one project doesn't affect others
142
143
- Persisted to `~/.claude.json` (same file Claude Code uses)
143
144
145
+
## Session Distiller: Reclaim Bloated Sessions
146
+
147
+
Claude Code sessions grow fast. After a few hours of coding, a single session can hit 70MB — full of base64 screenshots, multi-thousand-line tool outputs, and file contents you'll never need again. When you `--resume` that session, you're burning context on noise.
148
+
149
+
Session Distiller fixes this. It reads a session JSONL, keeps every word of your actual conversation, and strips tool results down to what matters:
150
+
151
+
-**Edit results** — keeps the file path and a preview of old/new strings (200 chars each)
152
+
-**Bash results** — keeps head 5 + tail 5 lines of output
153
+
-**Read results** — stripped entirely (the file is still on disk, Claude can re-read it)
154
+
-**Agent results** — keeps up to 2000 chars (research reports are worth preserving)
155
+
-**Write results** — keeps file path and a head/tail preview
156
+
157
+
The original session is backed up before anything changes. An index file is generated so you can see what was kept and where to find the full version.
158
+
159
+
**From the dashboard:** Click the ✂ Distill button on any session row. The distilled session appears as an expandable bundle showing the backup and index files.
Sometimes you just need to remove screenshots — not distill the whole session. The image trimmer replaces every base64 image block with an `[image redacted]` placeholder. Nothing else changes.
172
+
173
+
```bash
174
+
node src/trim-images.mjs <session.jsonl>
175
+
```
176
+
177
+
Or invoke from Claude Code directly with the `/trim-images` skill when you see the "image exceeds dimension limit" warning.
178
+
144
179
## Verified Against Claude Code Source
145
180
146
181
When Anthropic's Claude Code source was leaked (April 2026), we used it to verify and improve CCO's accuracy:
@@ -166,7 +201,7 @@ Every constant, merge rule, and policy check cites the specific source file it w
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@mcpware/claude-code-organizer",
3
-
"version": "0.16.1",
3
+
"version": "0.17.0",
4
4
"description": "Organize all your Claude Code memories, skills, MCP servers, commands, agents, rules, and hooks — see what loads globally vs per-project, then move items between scopes",
0 commit comments