Clean up Claude 5's token vomit with a separate LLM

Bluestein2 pts0 comments

GitHub - zachahn/vomit: Clean up Claude 5's token vomit with a separate LLM. Save your tokens, Claude 5 is hopeless · GitHub

/" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

zachahn

vomit

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Latest commit

History<br>28 Commits<br>28 Commits

Folders and files<br>NameNameLast commit message<br>Last commit date<br>cmd/decomment

cmd/decomment

internal

internal

.gitignore

.gitignore

CLAUDE.md

CLAUDE.md

LICENSE

LICENSE

README.md

README.md

Rakefile

Rakefile

go.mod

go.mod

init.go

init.go

list.go

list.go

main.go

main.go

main_test.go

main_test.go

printer.go

printer.go

scrub.go

scrub.go

scrub_test.go

scrub_test.go

tail.go

tail.go

version.go

version.go

View all files

Repository files navigation

Vomit

Vomit converts Claude's token vomit into English by piping it through a local LLM. It's fully local (no telemetry) and has no external dependencies.

Disclaimer:

The local LLM can only see what Claude tries to communicate (no access to any actions or files), so it hallucinates a bit

It's pretty slow

This is totally vibe-coded, only tested on Mac

There is a possibility you'll completely miss Claude's message. You can use something like AgentsView to get the original messages, as Vomit does not touch anything during runtime (except technically it writes files to your TMPDIR)

Install

# Install the binary to your GOPATH<br>go install github.com/zachahn/vomit@latest

# Setup connection details to your LLM<br>vomit init

# Instructions on how to replace Claude's output via hooks<br>vomit scrub -claude

Usage

In addition, there's a non-invasive mode if you want to run Vomit on the side.

vomit list. List Claude session identifiers

vomit tail []. Translate Claude's tokens for the specified session, or follow the latest one

vomit help. See for more commands

This should work with:

Llama.app

Ollama

Anything that uses the OpenAI API?

If you don't have a local LLM set up already, I think I recommend using Llama.app, then downloading GPT-OSS 20B through it. Run the init subcommand after you set this up.

License

GNU GPLv3

About<br>Clean up Claude 5's token vomit with a separate LLM. Save your tokens, Claude 5 is hopeless<br>Topics<br>aiai-toolsclaude-code<br>Resources<br>Readme<br>GPL-3.0 license<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

vomit claude session files token license

Related Articles