saksham10arora-dotcom/claude-frugal

让 Claude 把精力花在思考而非杂务上:Explore 等辅助子代理使用 Haiku,大文件和日志可通过 summarize_free 交给免费 Gemini,总结结果显示在提示符上方。
saksham10arora-dotcom/claude-frugal

frugal 为 Claude Code 提供近乎零成本的工作模式。Explore 等辅助子代理使用 Haiku;summarize_free 工具可把大文件或日志交给免费 Gemini,而不是全部读入 Claude。通过 /frugal on、off、status 控制并查看统计。需要早期访问的函数钩子。
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add saksham10arora-dotcom/claude-frugal claude plugin install frugal
Spend Claude on thinking, not chores. A Claude Code mod.

A real, unedited session: Claude hands a 6,000 line log to free Gemini and gets back a timeline.
Two ways to spend Claude on thinking instead of chores:
summarize_free, a tool Claude can call to hand a big file or log to a free Gemini model and get back only what it needs. Gemini models are tried in order (Lite first), so one being busy doesn't stop it.A line above the prompt counts what went where; /frugal status adds all-time totals.
An honest note from making the demo: for "find the error" questions Claude reaches for Grep, which is cheaper still. summarize_free earns its place on summaries, timelines and questions grep can't answer, or whenever you ask for it.
Get a free key at aistudio.google.com, then either set GEMINI_API_KEY or run /plugin configure frugal@nerfsaksham-frugal (the key goes to secure storage).
/frugal on, /frugal off, /frugal statushaiku or sonnet), which subagent types count as helpersThe file you ask it to summarise, one call to Gemini per summary, and GEMINI_API_KEY.
Claude Code 2.1.287 or newer runs mods out of the box. On 2.1.273 to 2.1.286, start it with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 first.
claude plugin marketplace add saksham10arora-dotcom/claude-frugal
claude plugin install frugal@nerfsaksham-frugal
Every option has a default, so the installer's "userConfig options not yet set" note is safe to ignore.
Or try it without installing:
git clone https://github.com/saksham10arora-dotcom/claude-frugal && claude --plugin-dir claude-frugal
claude plugin validate .
claude plugin test .
Part of a set: teach-me · vhs · frugal · lofi. More community mods: awesome-claude-mods.
MIT. Made by Saksham Arora (@nerfsaksham).