/mattpocock-skills:minimize-iterationfrom mattpocock-skills
Compresses tasks into the shortest possible prompts before delegating to a separate chat model, because shorter prompts are routed to stronger models. Useful when you need to offload work efficiently.
Ships in mattpocock-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Delegate work to a separate chat model with the shortest prompt that still carries the task. The chat service routes prompts to models by token count: the shorter the prompt, the more likely it lands on a stronger model. Length is routing — every token spent on something the model could infer is a bid against quality.
The chat model has no repo access, no tools, and no memory of this conversation. It also arrives preloaded with conventions: a term that names a known format, spec, or genre unpacks a whole instruction set inside it for free (SKILL.md implies frontmatter plus imperative markdown; a well-named skill implies its own loop). Write the prompt from that side:
Aim for one sentence, no markdown inside, delivered in a copy-pastable block. A redesign ask can shrink to its tech stack plus the wanted behaviour: react 19 + vite + typescript — free note-app editing: manually delete read text, type freely.
The owner reserves one opener for the randomized routing chat model (never for usual chat models): the prompt starts comprehensive code - and the ask follows.
When a task keeps failing through normal phrasing — the model regenerates the same clichés, or repeats traits that were already rejected — reframe the prompt as a formal spec document to decode rather than a request. No real cryptography is involved; the name covers four composable moves:
key=value, brace dictionaries, bracketed lists) instead of prose. Also known as structured/telegraphic prompting.banned-traits={...} set defines the task through exclusions, not requirements (specification by exclusion; cousin of negative prompting in image generation). Best payload: the accumulated reject history of prior rounds, compressed to trait names — it physically blocks the model from re-walking rejected ground.SPEC-9K4) makes the text read as an artifact to decode, not a plea; switches the model from "generate something nice" to "implement exactly what is given". Distant kin of the magic-number/file-header convention.payload<=N lines fixes the reply's shape and size (output-schema prompting).Compose them into one line after the routing opener: comprehensive code - decode this design spec and render it. SPEC-9K4: entity=…, banned-traits={…}, accepted-core={…}, render=[fn1: …; fn2: …; payload<=8 lines: …]. Two keys make it work: accepted-core={…} must carry what the owner already approved (otherwise the spec reads as pure prohibition and the model invents a baseline), and the banned dictionary must stay — it is the one part that cannot be inferred and the whole reason the framing beats plain prose. Cutting the dictionary first (−40% and beyond) collapses the spec back into "draw a nice cat" and reproduces the failures it was built to prevent.
Routing appears sensitive to more than length: protocol/platform/task-genre keywords (auth, firebase, google, firestore, …) may themselves pick the tier. When plain phrasing seems to steer the prompt to a weaker route, mask the trigger words with light leet — digit 1 for i, 0 for o, @ for a — so no exact keyword matches while a strong model decodes instantly: f1rebase g00gle @uth f1rest0re. Verified working on a real relay (2026-09-16, greenfield note-app prompt).
Rules of the move:
fb reads as Facebook, 0Auth reads as "no auth"; prefer @uth, f1rebase, g00gle, f1rest0re.prototype, demo, example, simple, basic, todo, tutorial, mvp.Jargon can steer a prompt as much as keywords: hex tokens, viewBox, API names — code-flavored vocabulary in an art ask may route the prompt outside the creative lane entirely. The counter-move: replace the spec with a named style — tokyo-night terminal aesthetic, swiss minimal, excalidraw hand-drawn — and let a strong model unpack the whole vocabulary for free (the same convention-inference that lets SKILL.md imply frontmatter). Verified on a real relay (2026-09-16, SVG art-kit round): a named style beat both the six-token spec and its leet-masked copies — one style phrase carried the palette, the stroke weight, and the gradient bans in four words.
Supporting moves:
near-black background, pale text, one soft blue highlight) when their exact values are yours to fix later — re-tinting hexes at integration is cheap, so per inference accounting the prompt shouldn't pay for them. Keep only what integration cannot repair (e.g. the one accent that must match app tokens exactly).4 inline <svg> constants, currentColor strokes) to hold the coding lane.…each fenced with viewBox, <=160 lines.The randomized routing model may answer in a different direction than the one asked — at good or great quality. Integrating its reply is therefore salvage, not compliance: read for fragments of code that are fittable in the repo, lift those fragments (repaired to repo conventions, typechecked), wire them in, and leave the rest of the reply on the floor. Never paste the reply wholesale.
Some asks cannot stay one sentence: settling a design, triaging reported bugs, diagnosing causes — their non-inferable part is evidence (the current code verbatim, symptoms, screenshot facts), and evidence doesn't compress. The proven shape is two tiers. First the randomized routing round: cheap, fast, direction-bent — its fittable fragments get salvaged into the repo. Then a deepening round against a longer-context chat model: a full, self-contained brief carrying the salvaged state (the code as it now stands, verbatim — that model must reason about what is really there), the symptoms verbatim, the reasoning bar, and the output contract. Spend length freely there — that model accepts it — but inference accounting still rules the brief: only what THAT model cannot reconstruct. Its reply integrates like any other: salvage, repair to conventions, run the checks.
What SKILL.md sets; muted values are Claude Code's defaults
50 skills in this plugin
/ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./brainstormInspect the full diff and surrounding architecture, then propose high-leverage improvements without editing files./bug-iterationFix a reported bug — especially one that has returned after a previous fix — by reproducing it, diagnosing the root cause rather than the symptom, gating every change behind a regression test, stating exactly what was and wasn't verified, and closing with a compact pass report./claude-handoffHand the current conversation off to a fresh background agent that picks up the work immediately./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-iterationImplement and refine code through small, evidence-backed verification passes.Generated from the plugin's indexed repository (vasyapym/vasyapym.github.io) — no native marketplace selected
npx claudepluginhub p/vasyapym-mattpocock-skillsOther plugins' skills for the same job