frugal-offload
frugal-offload -- the BRIDGE between token-optimizer (the spend-frugally discipline) and llama- bridge (the offload-to-a-local-model mechanism): the routing rule that turns 'spend fewer Claude tokens here' into a verified local delegation, then closes the cost loop. Use WHENEVER the ask is whether/how to hand bulk or mechanical work to a cheaper local model to save tokens: 'should I delegate this to save tokens', 'offload this bulk task', 'is this cheap enough to run local', 'route the mechanical work to ollama', 'which subtasks are delegation-worthy'. It declares the SEAM: token-optimizer flags a subtask as bulk/mechanical/verifiable/low-stakes, frugal-offload decides it clears the bar (output CHECKABLE, stakes LOW, volume real), routes it to llama-bridge with a verification gate, and the token accounting feeds back to token-optimizer's spend ledger. Only offload what you can verify cheaply. NOT token-optimizer, NOT llama-bridge, NOT skilltank -- frugal-offload owns only the WHEN-to-convert decision.
- License 许可
- GPL-3.0
- 所属仓库
- inputloop/garden
- 最近更新
- 2026-10-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- frugal-offload
- description
- frugal-offload -- the BRIDGE between token-optimizer (the spend-frugally discipline) and llama- bridge (the offload-to-a-local-model mechanism): the routing rule that turns 'spend fewer Claude tokens here' into a verified local delegation, then closes the cost loop. Use WHENEVER the ask is whether/how to hand bulk or mechanical work to a cheaper local model to save tokens: 'should I delegate this to save tokens', 'offload this bulk task', 'is this cheap enough to run local', 'route the mechanical work to ollama', 'which subtasks are delegation-worthy'. It declares the SEAM: token-optimizer flags a subtask as bulk/mechanical/verifiable/low-stakes, frugal-offload decides it clears the bar (output CHECKABLE, stakes LOW, volume real), routes it to llama-bridge with a verification gate, and the token accounting feeds back to token-optimizer's spend ledger. Only offload what you can verify cheaply. NOT token-optimizer, NOT llama-bridge, NOT skilltank -- frugal-offload owns only the WHEN-to-convert decision.
02 资源文件 2
- 参考文档NOTICE.md2.9 KB
- 脚本scripts/offload_gate.py2.3 KB
03 SKILL.md 正文
frugal-offload -- the seam between spending less and offloading
token-optimizer decides HOW to spend Claude tokens frugally (its ten moves, "spend like it's your
own money"). llama-bridge is one concrete way to spend less: hand a subtask to a local Ollama
model. Neither skill mentions the other, so the frugality intent rarely becomes an actual offload.
frugal-offload is the thin routing rule that connects them -- it owns the WHEN that sits between
token-optimizer's WHAT and llama-bridge's HOW.
The seam
token-optimizer flags a subtask as bulk / mechanical / verifiable / low-stakes (the POLICY)
to frugal-offload.gate(subtask) -- THIS bridge: does it clear the offload bar?
OFFLOAD if: the output is objectively CHECKABLE (schema / must-include / exact match)
AND stakes are LOW (a wrong answer is caught, not shipped)
AND volume is real (bulk / repetitive, or a long mechanical transform)
KEEP on Claude if: judgment-heavy, ambiguous, high-stakes, or one-shot-tiny
to llama-bridge runs it on a local model WITH a verification gate (require_json / must_include / escalate_to)
cost feedback llama-bridge's token accounting returns to token-optimizer's spend ledger as evidence
The discipline that makes this safe: only offload what you can verify cheaply. An unverifiable
local answer is not frugal -- it is a liability that costs more to clean up, which is token-optimizer's
own premise (bad output costs more than good). scripts/offload_gate.py is a ~30-line decision helper
that encodes exactly this bar; run python3 scripts/offload_gate.py --selftest.
When it fires
At the moment token-optimizer would say "this is a candidate to delegate," frugal-offload converts that intent into a concrete llama-bridge call -- or into a clean "no, keep it here" with the reason. It does not decide whether to run token-optimizer (that discipline is always-on) or how to drive the local model (that is llama-bridge); it decides only whether THIS flagged subtask should cross.
Boundaries
- The frugality discipline itself -- the ten moves, when to run it -> token-optimizer.
- Running / choosing / verifying the local model, the MCP bridge, cost accounting -> llama-bridge.
- Whether a repeated procedure should become a skill at all -> skilltank.
- General intake routing across all skills -> omni-tool / gauntlet.
frugal-offload owns exactly one decision: converting a token-optimizer frugality flag into a verified llama-bridge offload, with the cost loop closed. It reimplements neither side.
04 同仓库更多 Skills
alpha
暂无简介
gamma
暂无简介
quiet
A fixture skill that declares no preferences, so skill.quiet.* has no reader.
demo
A fixture skill for tests/prefs-declared-spec.rb; it declares two preferences inline.
concise
Synthesized by polygram from memory tag 'concise'. explicitly flagged. Review and tighten this description before relying on it for triggering.
writing-forms
Which writing form a dated deliverable takes in the shop, and the five techniques every form shares. Use whenever someone is about to write a dated deliverable — "which form is this?", "write it up", "land a note / card / model / lens", "what shape does a … take", "is there a form for this", or when a new PREFIX-date-slug filename is about to be minted. Carries the rule that a deliverable picks ONE form and says so in its filename, points at the register c/wf (columns d/c/wf) as the source of truth, names the most-used forms, the five cross-cutting techniques (two piles · cite at the act · a falsifier on every concern · the pair rule · his words), how a new form is born, and the fence on notes other sessions wrote. Not rolls (report kinds and their guards), not reformat-prompt (the REFORMAT pair), not run-card (the RUNCARD), not skill-creator (skills). Owns the FORM, not the content.