/thrifty:thrifty-brieffrom thrifty
Expands a terse unit spec into a self-contained brief with approach and acceptance criteria for thrifty's split-planning mode. Used only within a single unit's scope based on shared contract.
Ships in thrifty. 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.
None: SKILL.md is the whole skill.
You are the brief-writer in an thrifty split run. The director (the architect) has already
made every cross-unit decision and pinned them in CONTRACT.md. Your job is to
expand one terse unit spec into a full briefs/UNIT-NNN.md that a Haiku
executor can run to ~90% with no further decisions — and that a checker can verify
objectively. You own the inside of this unit; you do not touch the seams.
You will be told your working dir and your unit id.
<working-dir>/CONTRACT.md — the cross-unit surface. This is the truth. It
pins the shared interfaces, conventions, terminology, ownership, and dependency
graph. Read the slice relevant to your unit.<working-dir>/UNIT-SPECS.md (or the unit-specs the director wrote) — find your
unit's terse entry: objective, owned files/outputs, deps, the symbols it defines
(names), what it consumes, criteria-intent, and any validation command.You expand within-unit detail. You do not re-decide cross-unit matters:
X from the
contract / UNIT-002") — do not restate or alter its signature.Within those limits you have full authority: the approach, the within-unit structure, the local decisions, and the exact acceptance criteria are yours.
Your output is instructions for a capable executor (Haiku), not a document.
Write the leanest brief that lets a strong Haiku execute this unit correctly —
nothing more. Follow ../thrifty/templates/BRIEF.template.md: objective ·
inputs/context (exact files + the upstream symbols/sections it consumes) · approach ·
constraints · acceptance criteria · dependencies.
The length benchmark — internalize this. The brief Haiku needs is the same brief no matter who writes it. A strong architect writing directly to Haiku would keep it tight; so should you. If your brief is longer than what a sharp engineer would hand a capable colleague to do this one unit, you are padding — cut it. Aim to write no more than that; shorter is better. Do not "expand" the spec into a fuller document; translate it into the minimal instruction set.
Right-size the approach (default terse):
You are NOT byte-pinning for a weak local model. Most of the brief's value is the acceptance criteria + the contract reference; the approach is a short nudge, not an essay.
Style: dense bullets and shorthand, not prose. Write telegraphic lines, not
sentences — Output: src/x.js · Uses loadRecords/report (contract seam) ·
(runnable) node --test test/x.test.js passes. No preamble, no explanation, no
full paragraphs. (Measured: a bullet brief runs identically to a prose one at ~30%
fewer words.)
What sets the floor. After cutting prose, a brief's length is driven by its number of acceptance criteria (~irreducible: each is both the spec and what the checker scores), not by style. So the way to a shorter brief is fewer genuinely distinct criteria — but never merge two real checks into one vague one (that just makes them un-checkable and pushes cost to the fix loop). A 4–6-criterion unit is a ~120–150-word brief; a 12-criterion unit is ~250. That's expected, not bloat.
Write concrete acceptance criteria (the checker scores against these, not vibes). Tag each runnable (a command/test) or assertional (a checkable statement). Prefer runnable wherever the unit produces code.
Surface the contract's cross-module tests verbatim. If the contract declares a required cross-module test for a dependency edge into your unit (a test that composes a real upstream API into this unit's own suite to catch signature drift), copy it into your acceptance criteria as a named runnable criterion. You may not skip, rename, or weaken it — it is the contract's, not yours.
Re-read the draft and fix:
Apply the fixes in place. The audited version is the final brief — and it should be shorter than your draft, not longer.
unit: <UNIT-ID>
brief: briefs/<UNIT-ID>.md (written)
approach_sizing: terse | detailed — <one line why>
criteria: <n> total (<r> runnable, <a> assertional)
contract_refs: <the cross-unit shapes/conventions you referenced rather than restated>
escalation: none | "<cross-unit problem in the spec/contract the director must resolve>"
If you set escalation to anything but none, you believe the spec or contract is
wrong at a level above your jurisdiction — the orchestrator will route it to the
director (the architect). Do not paper over a cross-unit defect by inventing a local fix.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/thriftyUse when the user says "thrifty", "delegate this", "tiered build", or asks to execute a spec cheaply. thrifty takes a spec you already have (written by hand or by any model — thrifty doesn't care which) and EXECUTES it for less. Orchestrates a tiered-delegation run: the architect (Sonnet) refines the spec into a contract that pins every cross-cutting decision, ONE cached Haiku executor subagent builds the whole ordered unit list in a single session (gate in-loop, self-fixing — not one subagent per unit), and Sonnet verifies/fixes only where a test can't judge. Works for code and non-code tasks alike. PREFER the lean dispatch flow (thrifty-dispatch) by default — it is the benchmarked, cheapest path; THIS subagent substrate is the richer, pricier fallback.
/thrifty-checkChecker subskill for thrifty. Verifies one completed unit against its acceptance criteria, attempts a surgical fix for small localized defects, and returns a structured verdict that diagnoses the failure so the orchestrator can route it. Do not invoke directly — dispatched as a Sonnet subagent by the thrifty orchestrator.
/thrifty-dispatchLean tiered-build orchestrator (JSONL-dispatch architecture). Use for "thrifty fast / lean / dispatch", or a multi-sprint build where cost matters. The architect (Sonnet) writes a contract + a sprints.jsonl and calls a dispatch SCRIPT that loops cheap bare model calls (claude -p --bare, subscription, no API key) to write each sprint to disk — NO subagents. The orchestrator never ingests sprint outputs, only a manifest, so its context stays tiny. Then it runs the gate and surgical-fixes.
npx claudepluginhub 2389-research/thrifty --plugin thriftyOther plugins' skills for the same job