/at:auto-taskfrom at
Drives a well-defined task end-to-end with minimal human input: plan, implement, review, and ship autonomously.
Ships in at. 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.
/at:auto-task <task> [--lite] [--ship] [further user instructions]
--lite (default: dynamic - see Step 0.5) — single-pass planning (Step 2), a single reviewer (Step 4), and a single task review (Step 7). Worktree, implementation, design review, and wrap-up are unchanged.--ship (default: off) — run /at:ship-task automatically instead of stopping to ask — only if nothing requires a human call.Drive a well-defined task end-to-end with minimal human input.
Workflow:
create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task
└─────────────────────────────── auto-task ────────────────────────────────┘
Task files live in the project's task store (location per /at:config).
Internalise and follow these rules:
pkill -f playwright, pkill -f vite etc. hit every session) — scope kills to this worktree's path or to PIDs from lsof -ti :<port> for ports you own. Heavy e2e suites, for example, may contend on CPU across sessions: if a suite dies with SIGTERM before running or pass counts fluctuate, suspect a busy neighbour and retry after a few minutes rather than going down a debugging rabbit hole.git worktree add for worktrees — NOT the harness EnterWorktree tool. Reason: the worktree must live at a persistent, predictable path that Step 8/9 hands off to the user's editor/tmux; an opaque harness temp path breaks that handoff.main throughout this skill means the repo's default branch — substitute (e.g. master) if it differs.Run 0.1 and 0.2 first, then run (0.3-0.4) and (0.5) in parallel to speed things up. If any of the preflight checks fail, combine the errors and flag them to the user in one go at the end of the Preflight step, then stop for the 0.4 Outcome decision.
Project config can override a bunch of defaults (e.g. verification command, worktree location and init, standing review context, design-review serve command, model choices, commit conventions, transcript capture, etc.). Check for existence of config overrides in .claude/auto-task.config.md and .claude/auto-task.config.local.md (personal overrides — win on conflict) (see /at:config for details). Read them first if they exist and pass them to every subagent you spawn so they read them too.
Find the task (in the task store per /at:config), read it fully, and output its title and status. If installed, show some creativity and render "Task-NNN" using figlet =)
If you can't locate the task, abort and flag it to the user.
Run /at:clarify-task to make sure there are no gaping open questions. Don't nitpick.
With --ship — the unattended path — don't ask: record the open questions in the task's ## Notes, proceed on the best reading, and list them in the Step 9 report.
Cheap checks only: shell probes, globs, config reads — no subagents, no real model calls. Resolve config first (§ Models, Verification, Design Review), then check:
openai-codex plugin nor a codex on PATH → degraded: panel and adversarial review fall back to single-family Claude, the highest-signal part of the pipeline. Suggest installing the Codex CLI + codex-plugin-cc, or naming a second model family in config § Models.codex doctor fails → stop-and-fix: Step 4 fails loud and won't substitute, so the run would die ~20 min in. Suggest codex login / checking usage limits, or repointing config § Models — then re-run. Do not offer proceed-as-is.just/make check recipe, the CI workflow's steps, or the full test suite). Report what it resolved to (correctable via config § Verification). Nothing found → degraded: the Step 7 and fix-verification gates are hollow; strongly suggest adding config § Verification first.type: design or its description/ACs signal a rendered-output change: confirm the chrome-devtools MCP is available and config § Design Review names a fixture-backed serve command. Missing either → degraded: Step 5 will be flagged-and-skipped rather than failing loud mid-run. Suggest adding the serve command / installing the MCP.Outcome:
Preflight ✓ — full multi-model · verify: just check · tasks: tasks/. No pause.If --lite was passed in explicitly, skip this section.
Otherwise, downshift to --lite mode when ALL hold per the task's own description and ACs — single package/module touched, no cross-boundary contract change (API shape, persisted schema, public symbols), and the task is small (≤3 ACs, no epic). Announce the downshift at the end of preflight and note it in the final report; when in doubt (including when the task alone can't answer the criteria), stay in full mode.
Create a task/NNN-<slug> worktree. Default location is a sibling of the repo, ../<repo>.worktrees/NNN-<slug>; the config may pin a different path:
git worktree add -b task/NNN-<slug> <worktree-path> main
cd <worktree-path>
Then initialise it: run the config's worktree-init command if defined; otherwise install the project's dependencies (a fresh worktree shares no installed deps with the primary) and copy over any gitignored files the app needs to run locally (e.g. .env — check .env.example and similar templates against the primary checkout).
If the branch or worktree path already exists but is provably a dead leftover — the branch is 0 commits ahead of main AND the worktree contains only untracked/ignored files — delete both, note it in the final report, and proceed. Otherwise refuse to start: real work could be lost.
All subsequent steps run inside the worktree. Pass the absolute worktree path explicitly to every subagent — their Read/Edit/Write tools must root at the worktree path, not the primary worktree.
With the default in-repo task store, the task file is inside the worktree — pass <task-path> to subagents rooted at the worktree, and task-file edits (plan, status bumps) ride the task branch. If the config routes tasks to a separate repo, the task file is not in the worktree: pass its absolute external path, and task-file edits commit there, independent of the worktree branch.
Create an implementation plan. Important: Invoke /at:panel inline / do not wrap it in a subagent. Panel line-up per config § Models (default: strongest available Claude model + Codex). Include a one-line repo orientation (top-level layout, e.g. the package map from the README) in the panel prompt — non-Claude panelists cold-start blind and otherwise burn a round of failed path probes; for Claude panelists it's harmless.
/at:synthesize /at:panel /at:plan-task <task-path>
In --lite mode, skip the panel and synthesis — run /at:plan-task <task-path> directly (still inline, not in a subagent).
Unless there are major flags, write the plan to the task file.
Spawn a new sub-agent (implementer model per config § Models; default: the strongest available model) and run:
/at:impl-task <task-path>
If main moves under you during a long implementation (parallel sessions merging), rebase at the next green checkpoint instead of deferring all integration to Step 7 — late rebases across overlapping files produce conflict pile-ups and risk silent bad auto-merges.
In every mode: if main has advanced since the branch forked, review the merge-base range instead of main..HEAD — resolve base=$(git merge-base main HEAD) and review <base>..HEAD (adversarial reviewer: --base <base>) so the diff contains only this task's commits, not reverse-diffs of unrelated main progress.
In --lite mode: spawn a single sub-agent to run /at:review-code main..HEAD, skip the adversarial pass and the synthesis step, and carry its findings straight into Step 6. The rest of this step applies to full mode only.
In parallel:
/at:review-code main..HEADcodex plugin is installed, use /codex:adversarial-review --background --base main; if it is not installed, spawn a second independent review subagent (fresh context, adversarial framing) and note the degradation in the final report. If the config defines standing review context, append it verbatim to the reviewer's focus text.Note: /codex:... are plugin slash commands and cannot be model-invoked directly. To run one from inside auto-task, locate its definition under ~/.claude/plugins/cache/**/commands/<name>.md, read the Bash invocation template inside, and run it via the Bash tool — substituting ${CLAUDE_PLUGIN_ROOT} (a template placeholder, not a shell var!) with the resolved plugin root.
If Codex is installed but unavailable (e.g. usage limit), fail loudly — do not substitute or skip.
When all reviews are complete, spawn a new agent to /at:synthesize the responses using the following arguments:
/at:review-code subagentSynthesiser: keep each finding's Autofix: line exact when deduping — it's the routing token the Step 6.1 autofix fast-lane keys on, not prose.
Skip unless the change alters rendered output (layout, spacing, colour, typography, interaction states).
Run /at:review-design <task-path> execute on the main thread — do not wrap it in a subagent: it boots the app (per the config's design-review serve command) and drives the chrome-devtools MCP with real input, which a subagent can't do reliably. It is flag-only and emits findings in /at:review-code's format. Navigate to the URL the serve command prints — don't assume a fixed port.
Re-output its findings in the main agent so the user can see them, and carry them into Step 6 alongside the code review findings.
In a new subagent:
Read the task — this is the original intent of the change.
Read the synthesised code review findings from above, plus any design findings from Step 5.
Findings carrying an Autofix: line and severity Minor or Nit skip the triage table entirely and go straight to the Step 6.2 fix (scoped to changed files only). If an autofix class recurs across reviews, flag it to be fixed at the root instead of re-fixing it.
For each remaining finding, decide one of — every row carries a one-line cited reason (the evidence, not just the verdict):
## Implementation Notes)Discriminator for the standing-context bullet: gate on the impact mechanism, not keywords — keep any finding whose harm mechanism the project actually has.
Never auto-reject a Critical or Major finding. If the instinct is to reject one, surface it in the Step 9 decisions report instead and let the human decide.
Render triage results as a table:
| # | Finding (one line) | Disposition | Reason |
|---|
If any findings were accepted (step 4) or routed to the autofix fast-lane (step 3), spawn a new subagent that fixes them following /at:impl-task. Review the fix with a single adversarial reviewer scoped to the fix commits (codex /codex:adversarial-review --base <pre-fix-sha> when installed, else a fresh review subagent) and address feedback as outlined in Step 4 and 6, respectively.
In --lite mode, review the fix with a single subagent reviewer, consistent with Step 4. Skip the fix-review entirely when every accepted fix is trivial/mechanical (Minor/Nit, no logic change) — the verification command plus the Step 7 task review cover those.
git -C "$primary" pull --rebase origin main — resolve $primary as in /at:ship-task; skip if no remote — then git rebase main from the worktree; on conflicts resolve guided by the task/plan, then re-run the verification command) — surfaces integration drift here instead of at ship time./at:review-task.In --lite mode, run steps 1–2 once and skip the second review (step 3).
Make sure that:
Skip unless the project config defines a transcript-capture command and destination. If it does, run it and keep the transcript out of the repo (diff and grep noise). If further commits land within this step's session after the capture (e.g. the Step 8.3 status bump, late fix rounds), re-run the capture command before Step 9 so the stored transcript is current. /at:ship-task refreshes it again after the merge.
Set the task status to ready-for-signoff and commit it (frontmatter edit with a (task/NNN) subject by default; the config's task-status command if defined — with an external task store the bump commits there, not in the worktree).
Output:
First, surface a short prose summary of the triage decisions so the human can review the critical bits before shipping — a report, not a gate: how many findings were fixed, which were rejected and why, which were deferred, and — called out explicitly — any Critical/Major findings surfaced for a human call rather than auto-actioned.
With --ship, and no Critical/Major finding left for a human call: print the summary and run /at:ship-task <task-path> directly — no further approval needed.
Otherwise, offer the user the following options:
/at:ship-taskDo not proceed without explicit user approval. If the user declines, stop here.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub patforna/auto-task --plugin at13 skills in this plugin
/clarify-taskUse this skill to resolve ambiguities, clarify vague criteria and make implicit assumptions explicit. Invoked at the end of /at:create-task and the start of /at:plan-task. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./configUse this skill to resolve auto-task settings. It owns the procedure that merges the shipped defaults file with project and local config, per-leaf, plus the resolved-block contract consumers read. Run it standalone to inspect the resolved settings and where each value came from./create-taskUse this skill to crystallise and scope an ongoing conversation into a well-defined task, capturing user intent at a high level. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task.Other plugins' skills for the same job