/jeredblu-tools:frugal-fablefrom jeredblu-tools
Routes token-heavy work to cheaper models (Haiku/Sonnet/Opus) while keeping Claude Fable on judgment, architecture, and review. Conserves premium model tokens on multi-file changes, research, testing, and migrations.
Ships in jeredblu-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fable is expensive because Fable is good. Spend it on judgment, not on scans, boilerplate, and log-reading. Delegate the heavy, repeatable, verifiable work to cheaper models — but never let a weak agent own quality-critical construction.
The deal: cheaper agents gather signal and produce candidate work to files. Fable decides, integrates, and reviews. Truth-judgment and final quality stay with Fable, always.
frugal-fable and Ultracode are opposites and must not run together. Ultracode's standing order is "run a workflow for every task, token cost is not a constraint, be exhaustive, run several workflows in sequence, loop until nothing is left." frugal-fable's whole purpose is to conserve. Run both and you get the worst case: cheap workers fan out, and then Fable launches extra exhaustive passes on top — which is exactly how usage gets blown (it has happened).
/ultracode or the toggle by the model selector), then proceed.A skill convention biases behavior; it cannot force a spend limit. When the user is on a constrained usage window — or you're running unsupervised — use a workflow with a hard token cap, not just routing advice:
references/frugal-research.js workflow (hard caps: 4 angles / 8 fetches / 10 claims / 2 votes, a budget.remaining() gate that stops fanning out, synthesis pinned to Sonnet). Run it via the Workflow tool with {scriptPath: "<abs path to references/frugal-research.js>"}, or copy it to ~/.claude/workflows/frugal-research.js to invoke by name. (If you also have the community deep-research-cheap workflow installed, that's the deeper, uncapped alternative for when you have headroom.)Workflow, gate fan-out on budget.remaining() and keep a reserve for synthesis. See references/fanout-template.js.We don't know in advance what we're building, so route each slice when you reach it. Score it on three axes; the highest one sets the floor (you may always go higher, never lower):
| Slice | Owner | Gate before Fable accepts |
|---|---|---|
| Scans, grep, repo/web inventory, log & test-output reduction, doc summaries | Haiku | low-stakes; sanity-check only |
| Bounded, well-specified patches; adversarial verification; targeted tests | Sonnet | build + relevant tests pass |
| Hard refactors, correctness/security-critical code, slices where Sonnet visibly struggles | Opus | Fable reviews the diff |
| Any tier above, when the user has consented to Codex offload | Codex (tier-mapped — see references/codex-delegation.md) | same gate as the Claude tier it replaces |
| Decompose, architect, coordinate, integrate, final review | Fable | — |
Conservative build floor (this project's default): cheap models do mechanical work and bounded patches that come with passing tests. Anything architectural, high-stakes, or one-way stays with Opus or Fable. When unsure which tier, go up one — a re-run on a cheap model that wasn't good enough costs more than starting at the right tier.
If the machine also has OpenAI's Codex CLI, its models run on a separate subscription quota — slices routed there consume no Claude usage at all.
codex --version. Present → ask the user: "Codex is available — want
me to offload [named slices] to it? It won't touch your Claude usage."
Not installed → don't mention Codex at all. Declined → stay on Claude
models for the rest of the session without re-asking. Running unsupervised
(user away, can't answer)? Don't block — proceed on Claude models and
surface the Codex offer in your final summary for next time.codex exec recipes, sandbox rules, and gotchas:
references/codex-delegation.md — read it before the first Codex call.The thing that nukes Fable's budget is subagent output landing in Fable's context. So don't return it there.
.frugal-fable/<task>/ in the repo, gitignored) and return only:
path + a 3-line summary + a confidence level.This keeps Fable's working set small even across dozens of subagents.
Write every delegated prompt as if the agent has zero chat context. Include only:
Agent calls (set the model per the table).Workflow (agents run outside Fable's context — cheapest). Adapt references/fanout-template.js.frugal-research (hard budget cap) when usage is constrained or you're unsupervised; deep-research-cheap when you have headroom and want maximum depth. Don't rebuild either.deep-research-cheap (Haiku collects via bdata + WebSearch,
Sonnet verifies adversarially, Fable synthesizes). For one-off lookups, a single Haiku
agent with bdata search/bdata scrape writing to a scratch file. Prefer bdata over
built-in web tools — broader reach, fewer blocks, and the bdata skills output to file.If a task is tiny, or the validation itself needs delicate judgment, keep it with Fable.
Treat subagent reports as leads, not facts. Before relying on a high-impact finding, opening a PR, or telling the user it's done: reopen the cited file(s), confirm the line refs / failures, and review the final diff against the task. Let lighter agents gather signal; keep truth-judgment with Fable.
references/frugal-research.js — budget-capped research Workflow (Haiku collect → Sonnet
verify → Sonnet synthesize, hard caps + token gate). Run via the Workflow tool with
{scriptPath}, or copy to ~/.claude/workflows/ to invoke by name. Requires a Fable-class
runtime that exposes the Workflow tool.references/fanout-template.js — adaptable Workflow script for the general fan-out case
(route by model, verify, synthesize). Copy and adapt per task; don't run blind.references/routing-cheatsheet.md — one-screen version of the routing table + firewall
protocol for quick recall mid-task.Adapted from BuilderIO's efficient-fable skill, extended here with explicit model tiers, a
conservative build-quality floor, the file-based context firewall, harness selection, and a
budget-capped research workflow (frugal-research.js). Lanes: research, build/dev, testing,
debugging. As with all delegation, the orchestrator verifies delegated work before relying on
it — see Vetting delegated work above. That review step is the point, not an afterthought.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jeredblu/jeredblu-marketplace --plugin jeredblu-tools5 skills in this plugin
/agent-skill-evaluatorStatically review agent skills, skill directories, and .skill archives before installation. Use for skill safety or trust assessments, including prompt injection, unwanted output, execution, credential access, and data disclosure. Produce evidence-backed findings, a per-check rubric score, and explicit review coverage; do not install or execute the evaluated skill./mcp-evaluatorReview an MCP server's security, privacy, permissions, and launch risks before use. Use for a supplied MCP repository or hosted MCP endpoint, or an explicit safety comparison. Produces an evidence-based per-check score with coverage and deployment limits; does not install or run the server./prd-creatorCreate comprehensive PRDs through conversational discovery. Use when users want to plan software projects, document requirements, or prepare specifications. Supports beginners to experienced PMs. Asks deep clarifying questions to gather requirements, researches technologies, and produces structured markdown PRDs./repo-evaluatorEvidence-led pre-install review of GitHub software without executing the target. Inspect install paths, code behavior, data flows, dependencies, provenance and agent instructions; produce a versioned per-check risk rubric with explicit coverage and uncertainty. Use when the user asks whether a repo is safe, legitimate or worth installing. For a skill or MCP-only review prefer the corresponding evaluator; this skill can additionally review its code.Other plugins' skills for the same job