/skill-madness:model-adaptationfrom skill-madness
Advises on adapting prompts, skills, and scaffolds when the model or host changes (Claude 5, DeepSeek, GPT, Gemini). Owns model/effort tiering and migration checklists.
Ships in skill-madness. 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; scripts run unread.
The toolkit's home for what changes about your prompts, skills, and scaffolding when the underlying model changes — currently the Claude 5 family (Fable 5 + Mythos 5) succeeding Opus 4.x, plus the cross-vendor DeepSeek landscape (V4 flash/pro). It advises and audits; it does not build.
skill-writer/skill-reviewenforce the authoring half,loop-controllerthe long-run half, andorchestratorthe multi-agent half — this skill is where the why and the migration checklist live so those enforcement points stay in sync.
Model-adaptation guidance is the kind that rots. It's true only relative to a model
generation, it cuts across every skill, and it has no natural owner — so it survives
as scattered asides ("Fable 5 reroutes flagged agents", a stray /effort note) that
drift out of date the moment a new model ships and nobody remembers to reconcile them.
This skill is the single owner. When a new model lands, you update one landscape
table here and re-run the migration audit, instead of hunting the toolkit for stale
assumptions. Everything model-specific is quarantined in the Current landscape
section below; the patterns are written to outlive it.
Source of record: Anthropic's Prompting Claude Fable 5 and Prompting best practices; for DeepSeek runs, the DeepSeek API docs and Thinking Mode. Re-fetch these when a new model generation ships — that's the trigger to update this skill.
The reflex when a stronger model arrives is to write more guidance to exploit it. That reflex is usually wrong. A skill written for a weaker model is a cast made around that model's failure modes — enumerated do's and don'ts, rigid templates, anti-laziness nagging, "show your work" instructions. A stronger model has fewer of those failure modes, so the cast now constrains rather than supports it, and Anthropic measures this as a real degradation in output quality, not a wash.
So migration is mostly subtraction:
skill-review's long-standing
anti-pattern — "Excessive MUST / NEVER / ALWAYS without explaining why" in its
audit checklist — was already the right instinct; the newer model rewards it more.)reasoning_extraction refusal on the Claude 5 family and silently elevate
fallbacks to Opus. A tactic that helped a prior model now costs you the frontier model.
See The refusal landmine below.The opposite is also true in one direction: long autonomous runs need new
scaffolding the shorter-turn era didn't (async harness, evidence-backed progress, a
send-to-user channel). Subtract the prescription; add the long-run hygiene. See
references/long-run-hygiene.md.
This is the only part meant to age. The patterns below it are durable; these facts are not.
| Model | Role today | What to know for adaptation |
|---|---|---|
| Fable 5 | Frontier (Claude 5 family) | Long-horizon autonomy (multi-day runs), strong first-shot correctness, dispatches parallel subagents readily, high bug-finding recall. Runs safety classifiers (offensive cyber, bio/life-sciences, frontier-LLM development, reasoning-extraction) → can return stop_reason: "refusal". Adaptive thinking only; no extended-thinking budgets; summarized-only thinking output. |
| Mythos 5 | Frontier sibling (Claude 5 family) | Same family, same prompting patterns and refusal behavior as Fable 5. Everything here that says "Fable 5" applies to Mythos 5 unless a future note says otherwise. |
| Opus 4.8 | Prior baseline and the fallback target | The model a refused Claude 5 request should reroute to. Prompts/skills tuned for it are the ones this skill helps you prune. |
The toolkit also runs under DeepSeek models — the 2026-08-03 deep-dive vendor review
(DV-1–DV-5) was a Freebuff/DeepSeek session, and this is the first vendor this skill
covers besides Anthropic. The aging facts (pricing, model versions, effort mapping)
live in references/deepseek-adaptation.md; the durable shape is here:
| Model | Role today | What to know for adaptation |
|---|---|---|
| deepseek-v4-flash | Cheap tier | Non-thinking + thinking modes; tool calls, JSON output, Anthropic-format endpoint (api.deepseek.com/anthropic). Cache-hit input is ~30× cheaper than cache-miss — prompt-cache hits are the dominant cost lever. |
| deepseek-v4-pro | Top tier | Same feature set, stronger reasoning; the reasoning-gate tier. 1M context / 384K max output across the family. |
On DeepSeek the capability dial is thinking mode + effort (none/low/high/max;
xhigh and medium both map to high), not a model switch — and the chain of
thought arrives in reasoning_content, a separate channel from the answer. There is
no reasoning_extraction refusal classifier and no Opus fallback: refusals
retry inside the DeepSeek ladder (toggle thinking, switch flash↔pro). Body triggers
that route here but stay out of the description (lint band): "deepseek-reasoner",
"R1", "V4", "thinking mode", "cross-vendor run".
When "the next model" (a Mythos successor, an Opus 5, a DeepSeek V5) arrives:
re-fetch the vendor's current docs, update this table and
references/deepseek-adaptation.md, and run the migration audit at the bottom.
Each pattern: what changed, the toolkit move, and where it's enforced so it can't drift. Depth lives in the two reference files; this is the map.
skill-writer / skill-review)| Pattern | What changed | The toolkit move | Enforced in |
|---|---|---|---|
| Prune over-prescription | Prior-model prescription degrades Claude 5 output | On migration, delete enumerations/rigid templates the model no longer needs; keep the why, drop the MUSTs | skill-review anti-pattern checklist ("Excessive MUST/NEVER/ALWAYS", "Overly rigid templates") — now flagged as a model-driven re-review trigger, not just static smell |
| Reasoning-extraction refusal | Telling the model to narrate/echo its reasoning as response text now trips a refusal | Never instruct "show your thinking / explain your reasoning in the output"; read structured thinking blocks or use a send-to-user tool instead | skill-review audit checklist (new anti-pattern) → detail in references/refusal-and-fallback.md |
| Brief instruction > enumeration | One instruction + the reason steers a whole behavior cluster | Prefer a short "why" over naming every behavior; the same goes for the description field: a few precise trigger phrases beat an exhaustive list | skill-review audit checklist ("Excessive MUST/NEVER/ALWAYS" + the prior-model over-prescription trigger); references/long-run-hygiene.md has the drop-in brevity instruction |
| Give the reason, not only the request | The model connects the task to context better when it knows intent | Already a scored skill-review rubric dimension ("explains WHY, not just WHAT") — the Claude 5 family rewards it more | skill-review deep-review rubric |
Over-enumeration is now wrong in both slots. In the body it is the prescription that
degrades the newer model. In the frontmatter description it burns the host's shared
skill-listing budget (Claude Code: 1% of the context window), and over budget the host
cuts descriptions back to bare names. Describe the trigger with a few precise phrases
(≤400 chars, DR-1); keep the body's behavioral instructions brief and explained.
loop-controller / the loops)Full drop-in instructions and where each plugs into the 5-part loop contract:
references/long-run-hygiene.md. Summary:
| Pattern | What changed | The toolkit move |
|---|---|---|
| Longer turns by default | A single request can run minutes; autonomous runs, hours | Structure harnesses to check asynchronously (scheduled/poll), not block; lengthen timeouts; add progress indicators |
| Ground progress claims | Long runs can emit fabricated status reports | Instruct: audit each progress claim against an actual tool result before reporting it (distinct from the anti-gamed-gate rule loops already have) |
| Don't end a turn on a promise | Deep in a run, the model can say "I'll now run X" with no tool call, or pause to ask when it has enough | Add a last-paragraph self-check + an autonomous-operation reminder to the loop prompt |
| Context-budget reassurance | Surfacing a token countdown makes the model prematurely summarize / suggest a new session | Don't show the model raw budget counts; if you must, add "you have ample context, don't stop" |
| Fresh-context verifier | Fresh verifiers beat self-critique | Already covered — loop-controller's GAN / Plan-Generate-Evaluate evaluator is exactly this. Cite it; don't reinvent |
| Send-to-user tool | Long async agents need to surface verbatim content mid-turn | Give the agent a client-side send_to_user tool + elicitation language |
| Effort as the primary dial | Effort trades intelligence/latency/cost; low effort on Claude 5 can beat xhigh on prior models | Pick effort per task: high default, xhigh for the hardest, medium/low for routine |
orchestrator)| Pattern | What changed | The toolkit move | Enforced in |
|---|---|---|---|
| Async, long-lived subagents | Fable 5 dispatches subagents readily; blocking on the slowest one wastes its strength | Prefer async orchestrator↔subagent comms and long-lived subagents (cache reuse) over a strict block-on-every-reply relay, where the build allows | orchestrator coordination rules + its references/workflow-orchestration.md |
| Effort per wave/role | Effort is the main capability dial, not just the ultracode switch | Set xhigh for the hardest agent (contracts, adversarial verify), low/medium for routine (docs, mechanical edits) | orchestrator runtime section |
| Refusal reroute contract | A flagged agent returns stop_reason: "refusal" and reroutes to Opus 4.8 | Treat as expected routing; configure the server/client fallback rather than assuming it; note the security-agent implication | orchestrator + references/refusal-and-fallback.md |
| State the boundaries / don't over-refactor at high effort | At high effort the model may tidy/refactor beyond the ask, or act when only asked to assess | When the ask is a question or a "thinking out loud", the deliverable is the assessment — report and stop; scope refactors to the task | orchestrator coordination rules |
Buckets B and C treat effort as the primary capability dial. This section is the
fuller doctrine — model and effort chosen together, per task, not per project —
and it is canonical here: orchestrator (per-role dispatch and Workflow-mode
stages), loop-controller (Step 6), and use-freellmapi point at this section
rather than restating it.
The principle. Cost leaks when a premium model does bulk work — fan-out
crawls, boilerplate, mechanical edits, first drafts — that a cheaper model in
the same family does just as well. Reserve the top tier for the load-bearing
reasoning: architecture/contract design, adversarial verification, final
synthesis, hard debugging. Two dials on the same call: model (the cheapest
tier that clears the task's quality bar) and effort (low→max; lower it for
routine passes, raise it only for the hardest reasoning). Output tokens cost
~5× input across the Anthropic family, so moving bulk work down a tier and
trimming output dominate every other cost lever.
The provider-relativity rule (load-bearing). Single-provider is the default,
not automatic Anthropic. Observe endpoint, actual routed model and supported controls
separately from host capabilities. Cross-provider review is permitted only with explicit
provider/privacy/budget consent under references/cross-vendor-tiering.md:
.claude/profile.yaml; absent that, use this ladder only in confirmed native Claude
sessions. Otherwise record unknown and read references/unknown-model-adaptation.md.deepseek-v4-flash → deepseek-v4-pro,
with thinking mode + effort (none/low/high/max) as the dial within each.
Full facts in references/deepseek-adaptation.md.use-freellmapi): it
deliberately aggregates free provider tiers behind one endpoint, the scarce
resource is rate/quota rather than dollars, and the aggregation is the ladder.Task → tier map (the durable part; the priced ladder lives in the reference):
| Task class | Examples | Model | Effort |
|---|---|---|---|
| Mechanical / high-volume | file transforms, migration edits, formatting, lint-fix application, boilerplate, broad research crawl, first drafts | Haiku, or Sonnet if it needs light reasoning | low/medium (none on Haiku) |
| Standard implementation | feature code, test authoring, straightforward role-agent build work | Sonnet | medium/high |
| Load-bearing reasoning | architecture & contract design, adversarial verification / fresh-context evaluator, final synthesis, hard debugging, ambiguity resolution | Opus or Fable | high/xhigh (max only when correctness ≫ cost) |
On a DeepSeek project the same map instantiates as: deepseek-v4-flash with
thinking off for mechanical work, flash/pro with thinking on for standard
implementation, deepseek-v4-pro with thinking high/max for load-bearing
reasoning — the two-model family is the ladder.
The optimizer/target split. When one model authors or optimizes an
artifact (a skill, a prompt, a config) that another model then executes
under, tier by role, not just task difficulty: author/optimize/review on
the strong tier, execute/validate on the cheap tier. microsoft/SkillOpt's
cross-model study measured why this is the economical direction — the same
optimized skill gained roughly 2× more on a weaker execution model (more
headroom), so "cheap deployed target + one strong optimizer" beats "strong
everywhere." Detail in references/model-effort-tiering.md.
Guardrails:
effort param on Haiku 4.5 — the API returns a 400. Tier down to
Haiku or dial effort down, not both.xhigh→high and
medium→high; emit none/low/high/max (none = thinking off), and don't
bother with xhigh. Thinking mode ignores temperature/top_p/penalties
(accepted, no effect).max. On the Claude 5 family high/xhigh is the
sweet spot, and low effort often matches or beats prior-generation
xhigh/max — so low/medium is the correct setting for routine work,
not a compromise.model on every supported spawn; pass only supported effort controls.
Per-agent defaults resolve to the session-start model, which goes stale the
moment the user runs /model — the subagent-model footgun. This deliberately
overrides the Workflow tool's generic "omit opts.model by default" guidance.caveman-style) is
fine; instructing the model to expose its reasoning in the response trips the
reasoning_extraction refusal (see the landmine below).The priced Anthropic ladder (model IDs, $/1M, effort support), the
billing-surface table, provider-relative instantiation, and the per-consumer
wiring live in references/model-effort-tiering.md — like the Current
landscape table above, its model and pricing facts age; update both when a new
model ships.
use-pxpipe puts an image proxy in front of a session: the bulky, re-sent parts
of every request are rendered into dense PNGs, because image tokens are priced by
pixel area rather than characters. That only works if the model behind the proxy
can actually read the render — and a model that misreads dense glyphs doesn't
error, it produces confident wrong answers from garbled input. Because the
failure is silent, the gate is governed here, in one place, fail-closed:
The current allowlist — which models pass today and their measured read rates —
ages with the model generation, so it lives with the other aging facts in
references/model-effort-tiering.md (Image-proxy allowlist — current
state). use-pxpipe treats that list as its safety gate: it owns the wiring,
this skill owns the policy.
When a stronger model is leaving the plan — or you want a cheaper model to run
with a stronger model's discipline — extract an operating manual of working
procedures from the strong model and run it as the cheap model's system
prompt. The mechanic is real but bounded: a manual ports discipline, not
capability — the prompt-level cousin of the optimizer/target split above.
The hardened extractor (scripts/extract_operating_manual.py), an
already-extracted manual (references/operating-manual.md, reusable as-is —
on-demand only, never injected into Claude Code sessions), the three
refusal/continuation/framing hardenings, and the corrected cost note live in
references/capability-handoff.md.
Also reach for this section on "fable handoff", "capability handoff", "model leaving plan", or "model is going away". These triggers live in the body rather than the description because the description is held under the 950-char lint band — a body hit still routes here once the skill is open.
For a toolkit that authors prompts and skills, the highest-consequence change in the Claude 5 family is a class of instruction that now causes a refusal:
Instructions that tell the model to echo, transcribe, or explain its internal reasoning as response text can trigger the
reasoning_extractionrefusal category on the Claude 5 family, returningstop_reason: "refusal"and silently elevating fallbacks to Opus 4.8.
The danger is that a skill-authoring toolkit can bake this into every skill it produces
("narrate your reasoning", "show your thinking step by step in the output", "explain your
chain of thought"). If your app needs reasoning visibility, read the structured thinking
blocks from adaptive thinking, or surface progress with a send-to-user tool — never ask
the model to reproduce its reasoning in the response. skill-review now audits for this;
the full mechanics, the other classifier domains (offensive cyber, bio/life-sciences,
frontier-LLM development), and the fallback configuration are in
references/refusal-and-fallback.md.
On DeepSeek the classifier doesn't exist, but the instruction is still wrong.
Thinking mode already emits the chain of thought in reasoning_content (a separate
channel), so asking the model to also narrate its reasoning into the response doubles
output tokens and buries the answer — a cost/quality failure instead of a refusal.
Read reasoning_content (or the harness's structured thinking) when you need the
reasoning; and since there is no Opus fallback on DeepSeek, reroute refusals inside
the DeepSeek ladder (toggle thinking, switch flash↔pro). See
references/deepseek-adaptation.md.
Run this checklist against an existing skill/harness (or the whole toolkit) on a model change:
references/model-effort-tiering.md (models, pricing, effort support all age).
New behaviors = new audit items.references/refusal-and-fallback.md — that file owns the canonical grep (don't
inline a variant here; divergent copies of the sweep are exactly the drift this
skill exists to prevent). Every hit that routes reasoning to the response is a
refusal risk — rewrite it.references/long-run-hygiene.md patterns are wired: evidence-backed progress, the
last-paragraph check, context-budget reassurance, effort selection, send-to-user.skill-eval
on the old and pruned versions (Δ is with-skill minus without-skill, under a cap you
set). Otherwise re-run its skill-creator evals with and without the pruned instructions. Keep the cut only if quality holds or improves —
the model updating its own approach on the fly is often better than the old rule.references/deepseek-adaptation.md — the cross-vendor DeepSeek landscape: the
V4 flash/pro family, thinking-mode mechanics (reasoning_content, the
Anthropic-format endpoint, tool-call pass-back), the effort mapping, the
provider-relative tiering instantiation, the image-proxy status, and the audit
additions for DeepSeek runs. Read when a project declares DeepSeek, or when
adapting any skill for DeepSeek execution.references/refusal-and-fallback.md — the four Claude 5 classifier domains, the
reasoning_extraction landmine in depth (what trips it, the symptom, the fix, how to
audit for it), the stop_reason: "refusal" contract, and server-side vs client-side
fallback to Opus 4.8. Read when a skill gets refused, when writing security-agent
prompts, or when auditing authored skills for the landmine.references/long-run-hygiene.md — the long-running-agent behavioral patterns with
drop-in instruction text (verbatim from Anthropic where they published it) and where
each plugs into loop-controller's 5-part contract: async turns, evidence-backed
progress, last-paragraph check, context-budget reassurance, the send-to-user tool,
effort tiers, and user-facing readability. Read when authoring or migrating any loop.references/model-effort-tiering.md — the aging half of the tiering doctrine: the
priced Anthropic ladder (model IDs, $/1M, effort support), the output-token asymmetry
and billing-surface table, provider-relative instantiation, the current image-proxy
allowlist (which models pass the glyph sweep today), and how each consumer
(orchestrator dispatch, Workflow-mode stages, loop-controller Step 6, use-freellmapi,
use-pxpipe) wires the policy in. Read when assigning model+effort to roles/stages/loops,
when enabling the image proxy, or when a new model ships and the ladder needs updating.references/gpt-adaptation.md — OpenAI / GPT runtime adaptation: verified Luna/Sol
references, reasoning best practices (Markdown/XML allowed, no fake chain-of-thought
extraction), tool continuations, and catalog-checked model/effort mapping.references/gemini-adaptation.md — Google Gemini API / Gemini CLI adaptation:
Interactions vs generateContent thinking signatures, thinking controls, JSON-only
hook stdout discipline, and prompt mappings.references/unknown-model-adaptation.md — Unknown-model baseline and safe default
behavior: never assume Claude outside confirmed Claude sessions; preserve structured
handoffs, refuse unattended runs without hard external limits, and evaluate against
measured capabilities.references/cross-vendor-tiering.md — Cost-aware cross-vendor routing policy (UA-16):
explicit owner approval required for cross-vendor worker/reviewer routing, clean
reviewer packets, hard monetary/time limits, and measuring cost per accepted result.references/capability-handoff.md (opens in a new tab)references/cross-vendor-tiering.md (opens in a new tab)references/deepseek-adaptation.md (opens in a new tab)references/gemini-adaptation.md (opens in a new tab)references/gpt-adaptation.md (opens in a new tab)references/long-run-hygiene.md (opens in a new tab)references/model-effort-tiering.md (opens in a new tab)references/operating-manual.md (opens in a new tab)references/refusal-and-fallback.md (opens in a new tab)references/unknown-model-adaptation.md (opens in a new tab)scripts/extract_operating_manual.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/Other plugins' skills for the same job