✳ClaudeModsClaude Code 模组目录
☰
● 0 人在线 · 浏览 0 次
+ 提交作品
← 返回作品集
Reddit 帖子 · 用量与成本 / 仪表盘与 HUD / 工具与集成 / 工作流与 CI

optimAIzr:内嵌 Claude Code 的成本优化 HUD 插件

作者用 Claude Code 构建 optimAIzr,借助新 mod 支持嵌入工作流,可显示每轮成本与 5 小时预算、按省费情况切换 Opus→Sonnet,并实时展示燃烧率、节省额与缓存命中。

sstichstichstich@stichstichstich
已翻译

关于这个 mod

作者用 Claude Code 开发了 optimAIzr,用于发现浪费的 Claude 使用开销,并已在自有会话中试用。随着 Claude Code 新增 mod 支持,作者将其直接集成进工作流:可展示每一轮对话的成本与 5 小时可用额度(runway),在节省额度足够时自动从 Opus 切换到 Sonnet,并通过实时 HUD 展示 token 燃烧率、节省情况和缓存命中率。特别之处在于它不会盲目切换模型——对于长对话,切换前会先计算重新加载上下文的成本再决定是否值得。项目免费且开源,可通过插件市场直接安装。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

/plugin marketplace add blendbunjaku/optimaizr
/plugin install optimaizr@optimaizr
原文 / README

Claude Code mods dropped yesterday, so I made optimAIzr live inside Claude Code. I built optimAIzr with Claude Code to find wasted Claude usage, and I’ve been using it on my own sessions. With the new mod support, I wanted to bring it directly into the workflow. Now it can show the cost of each turn and your 5h runway, switch Opus → Sonnet when the savings justify it, and show burn rate, savings and cache hits in a live HUD. The interesting part is that it doesn’t blindly switch. For long conversations, it considers the cost of reloading the context before switching. It’s free and open source. You can install it directly in Claude Code: /plugin marketplace add blendbunjaku/optimaizr /plugin install optimaizr@optimaizr Source: github.com/blendbunjaku/optimaizr Built with Claude Code, now running inside Claude Code. submitted by /u/stichstichstich [link] [comments]

查看原始来源 ↗

更多类似作品