I've been grappling with this for weeks, not just in Claude but in Codex as well, which isn't quite as bad but still annoying. AGENTS.md does very little, agents will consistently violate the communication preferences, especially as the session drags on. It's incredible to me that there's no good way to reliably change the way an LLM responds to you that a workaround like this would even be necessary. It seems like s…
> especially as the session drags on. This is because these harnesses are missing a very important feature. Anything like this needs to be included with every turn, otherwise the LLM quickly drifts. I first noticed it when I wrote a harness for D&D (because it's so damn noticeable there), but now I include this for any harness I write.
Vomit: Clean up Claude 5's token output with a separate LLM
61–70 of 315 posts
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#62Blog post: https://zachahn.com/posts/1787191554
The prompt I use to tell the LLM what to fix: https://github.com/zachahn/vomit/blob/main/internal/config/s...
Wasn't received too well on Lobsters haha, wrote a small extra blurb about it there: https://lobste.rs/s/juekuk/how_fix_claude_5_s_token_vomit
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#63Re: Vomit: Clean up Claude 5's token output with a separate LLM
#64Just set the following incantation: You must use ASD-STE100 Simplified Technical English (STE) when it doesn't detract from meaning.
I'll give that a try. Hopefully it reduces the text vomit Claude tends to do. Right now all I have is > - Give terse and concise answers unless the user asks you to elaborate. Big walls of text are not usefull when trying to communicate.
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#65> Caveats belong inline, no "one thing to note" or "it's worth mentioning" footer. If it is worth raising or calling out, do so where it is most relevant and not as a foot note.
Opus 5 has a god awful habit of always doing a Columbo on every single response, and it is such a jarring read that it amps my cognitive burden having to back-read everything.
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#66Just set the following incantation: You must use ASD-STE100 Simplified Technical English (STE) when it doesn't detract from meaning.
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#67[1] https://vale.sh/
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#68Re: Vomit: Clean up Claude 5's token output with a separate LLM
#69Earlier quoted context omitted.
> especially as the session drags on. This is because these harnesses are missing a very important feature. Anything like this needs to be included with every turn, otherwise the LLM quickly drifts. I first noticed it when I wrote a harness for D&D (because it's so damn noticeable there), but now I include this for any harness I write.
https://code.claude.com/docs/en/hooks https://learn.chatgpt.com/docs/hooks
Re: Vomit: Clean up Claude 5's token output with a separate LLM
#70I like the "Claudish to English" name better. https://github.com/gvzdv/claudish-to-english
Are people really having trouble parsing this??