/claude-apd:apd-profilefrom claude-apd
Switches model/effort profiles for APD pipeline agents — burn (max quality/cost), cruise (default), eco (cheapest). Use before launch-critical tasks or small fixes.
Ships in claude-apd. 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.
Economy vs quality dial for pipeline agents. A profile maps role classes to a
(model, effort) pair: default (builders — context-heavy, carry the tier) and
adversarial (positional value — fresh context matters more than model tier,
so it may sit one tier below builders, never meaningfully above them).
Profiles are data, not code: defaults ship in the plugin
(templates/model-profiles.conf); a project may override the whole table via
.apd/model-profiles.conf. CC-only — Codex .toml agents are not touched.
burn.eco.apd profile status will
flag it as drift afterwards).Show current state:
bash .claude/bin/apd profile status
Show available profiles and what each maps to:
bash .claude/bin/apd profile list
Ask the user which profile to apply (AskUserQuestion with the profiles as
options, current one marked). Briefly state the trade-off: burn =
maximum quality / maximum cost, cruise = strong daily default, eco =
cheapest builders, for small well-scoped work.
Supervision is topology, not a price tier (v7.0). Every profile carries a
supervisor row, so every Full-mode run adds a frontier pass over the final
diff before the verifier — on burn, cruise and eco alike. Say this at the
decision point so the extra frontier dispatch is not a surprise, and do NOT
present a cheaper profile as "the one without supervision": while that was
true (v6.30, eco only) the profiles were different pipelines rather than one
pipeline at three prices, and their telemetry was not comparable.
A profile only owns the roles it names (v7.0). No named role class falls
back to default any more, so a conf without a row for a role leaves that
agent on its template pin — code-reviewer is the live example: no reviewer
row ships, so switching profiles never touches it. Unnamed agents still take
the default row, otherwise profiles would be no-ops.
Apply:
bash .claude/bin/apd profile <name>
The script rewrites model: + effort: in .claude/agents/*.md
(adversarial-reviewer gets the adversarial row, apd-verify-* reserved
names are never touched), records MODEL_PROFILE=<name> in the APD config,
and writes an INFO entry to guard-audit.log.
Tell the USER to run /reload-plugins — you cannot. /reload-plugins
is an interactive slash command; only the user can run it (the orchestrator
has no way to). The running session keeps the old models until agent
definitions are reloaded — /reload-plugins is sufficient (verified live),
a full session restart also works. Do not claim the change is live before one
of the two happened.
APD now blocks subagent dispatch until the reload happens (drift guard).
When apd profile changes agents it drops a .apd/.pending-reload marker;
the SubagentStart guard hard-blocks any dispatch while it stands — so a
forgotten reload surfaces as a clear block, not a silent stale-model run.
After the user runs /reload-plugins, clear it with apd reload-done
(or just restart — a fresh session clears the marker automatically).
/reload-plugins
was run (or the user was told to restart the session).| Don't | Do |
|---|---|
Hand-edit model: across agents to "switch profile" | Run apd profile <name> — config + audit trail stay consistent |
| Switch profiles while a pipeline task is active | Finish (commit) or reset first — mid-run swap pollutes the run's model attribution |
| Claim the new models are active immediately after apply | The USER runs /reload-plugins (you can't) — only then are the new models live |
| Dispatch agents right after apply, assuming it worked | APD blocks dispatch until reload (drift guard); user runs /reload-plugins + apd reload-done, or restarts |
| Invent profile names or model IDs | Only offer what apd profile list prints; new mappings belong in model-profiles.conf |
What SKILL.md sets; muted values are Claude Code's defaults
lowOther plugins' skills for the same job
npx claudepluginhub zstevovich/claude-apd --plugin claude-apd11 skills in this plugin
/apd-auditUse when verifying that APD is correctly configured in the current project — qualitative deep audit of agents, hooks, CLAUDE.md, pipeline state, MCP wiring, and guardrails. Goes further than verify-apd. Triggers on "audit APD", "review setup", "is APD configured", "verify framework", "check APD", "APD health", "is everything wired", after any major framework upgrade or version bump./apd-brainstormUse BEFORE writing the APD spec-card.md whenever the task is vague, broad, ambiguous, or has multiple reasonable approaches. Asks ONE question at a time, presents 2-3 options when there are real choices, converges on a design the user explicitly approves. Triggers on "improve X", "what should we", "thinking about", "options", "not sure", "maybe", "vague", "broad", "redesign", any spec-card.md with unclear scope or fewer than 3 R-criteria. For the pipeline gate contract (plan format, rationale format, BLOCKs) load /apd-pipeline-guide — that one is mandatory on every task; this one is for unclear scope./apd-debugMANDATORY before re-dispatching the builder after any APD verifier failure or critical reviewer finding. Use on any bug, test failure, build failure, error, crash, regression, or unexpected behavior during the APD pipeline. Four-phase root-cause analysis — investigate, pattern-match, hypothesize + controlled test, fix with TDD. Triggers on "bug", "fail", "failing", "broken", "doesn't work", "error", "crash", "regression", "verifier blocked", "reviewer rejected"./apd-finishMANDATORY after every successful APD pipeline commit. Use as soon as the pipeline reports commit done — verifies tests from a clean state, shows the pipeline report, presents four options (push, push+PR, keep local, discard), executes the user's choice. Triggers on "after commit", "push", "PR", "pull request", "deploy", "next", "pipeline done", "shipped", commit hash present in pipeline state./apd-githubUse when the project has GitHub Projects configured (GITHUB_PROJECTS_URL in CLAUDE.md) and APD pipeline tasks need to sync with the board. Creates issues for specs, moves cards through columns (todo → in-progress → review → done), closes on commit. Triggers on "GitHub Projects", "issue", "board", "card", "sync", "kanban", "project board", any APD pipeline phase transition when a board URL is configured./apd-miroUse when the project has a Miro board configured (MIRO_BOARD_URL in CLAUDE.md) and the APD pipeline dashboard needs updating. Visualizes current pipeline status, completed tasks, recent metrics, and active spec cards. Triggers on "Miro", "dashboard", "board update", "visualize pipeline", "pipeline view", "metrics", any pipeline phase change when a Miro URL is configured.