Skip to content

Add token-diet to Usage & Observability - #913

Open
congptvinadic-debug wants to merge 1 commit into
jqueryscript:mainfrom
congptvinadic-debug:add-token-diet
Open

congptvinadic-debug wants to merge 1 commit into
jqueryscript:mainfrom
congptvinadic-debug:add-token-diet

Conversation

@congptvinadic-debug

Copy link
Copy Markdown

Adds token-diet (MIT, no dependencies, npx claude-token-diet): reads Claude Code's local session logs and lists what to cut (tool definitions loaded every session but rarely called, outputs re-sent with hundreds of later requests, sessions that should have been compacted, cheaper models per kind of work). Also a Claude Code plugin with a /compact reminder, output clipping and a handoff file on /clear.

Disclosure: I maintain it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants