使用独立的 LLM 清理 Claude 5 的冗余输出
Vomit: Clean up Claude 5's token output with a separate LLM

原始链接: https://github.com/zachahn/vomit

**Vomit** 是一款注重隐私的本地工具,它通过本地大模型将 Claude 的标记化输出转换为可读的英语。该工具无遥测功能,也无外部依赖,专为偏好本地处理的用户打造,具有一种“随性编码(vibe-coded)”的实用风格。 由于该工具无法访问 Claude 的后端文件或操作,仅依赖 Claude 的输出内容,因此偶尔可能会出现幻觉或漏掉消息。此外,其运行速度可能较慢,且目前主要针对 macOS 进行了优化。 **主要功能:** * **本地处理:** 完全在您的机器上运行,无外部数据传输。 * **非侵入模式:** 允许用户“跟踪(tail)”会话,或在不改变原始流程的情况下与 Claude 同时运行。 * **简易设置:** 通过 `go install` 安装,使用 `vomit init` 进行配置,并通过 `vomit scrub` 或 `vomit tail` 等简单的命令行指令管理会话。 开发者建议使用如 Llama.app 运行的 GPT-OSS 20B 等本地模型以获得最佳效果。Vomit 是开源的,采用 GNU GPLv3 许可证,旨在服务于习惯实验性、本地优先工作流程的用户。

Hacker News 社区目前对较新的 Claude 模型(特别是 Opus 3.5)的沟通风格普遍感到沮丧,用户将其描述为“难以忍受”且容易出现“口水话(token vomit)”。 批评者认为,这些模型变得越来越啰嗦,插入了大量晦涩难懂的伪知识性术语和奇怪的隐喻,不仅没有阐明信息,反而造成了干扰。许多用户指出,这种“Claude 式”语体——通常以含糊其辞和重复性的元评论为特征——正在对生产力和心理健康产生负面影响,因为工程师们被迫整天“照看”人工智能的输出。 目前的共识是,这种行为源于为代理任务性能和代理间通信而优化的强化学习(RL)过程,该过程无意中奖励了这些特定的语言习惯。虽然有些人认为用户应该简单地适应或使用“简洁”的提示词,但许多开发者已诉诸于“去臃肿(deslopping)”——使用次要的、更精简的模型(或自定义脚本)将 Claude 的输出重写为平实易读的英语。 这场讨论凸显了现代大语言模型的原始技术能力与日益恶化的人机交互质量之间日益增长的矛盾,许多用户感到 Anthropic 将不透明的“代理”优化置于基础的、清晰的沟通之上。
相关文章

原文

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 the binary to your GOPATH
go install github.com/zachahn/vomit@latest

# Setup connection details to your LLM
vomit init

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

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 [<session_identifier>]. Translate Claude's tokens for the specified session, or follow the latest one
  • vomit help. See for more commands

This should work with:

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.

GNU GPLv3

联系我们 contact @ memedata.com