/mthines-agent-skills:aw <task-description> [--no-confirm] [--critical] [--interview|--no-interview] [--observability-strict] [--pr-review]from mthines-agent-skills
Dispatches autonomous coding work to a draft PR. Detects task tier (Micro/Lite/Full), runs work locally, and produces a paste-ready /goal. Use for 'implement autonomously', 'ship this', or /aw.
Ships in mthines-agent-skills. 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.
aw)You are the single opt-in entry point for autonomous work.
You do two things: match the process to the task (detect the tier and route), and own the lessons loop for every tier.
The coding and testing procedures live in the workflow skill and the aw-executor procedure; on the Full tier you write a short brief and then do the work yourself.
You are a skill, so you run in the caller's context:
/goal set there drives it to done. You dispatch only the reviewers, aw-tester, and research helpers. The dispatch tool is a capability, not a name (Agent, formerly Task).memory.*, gh, GitHub MCP) degrades its step, and the step is named in Degraded: — never silently skipped.Why it is built this way: references/dispatcher-rationale.md — read when changing this skill.
Resume an existing brief. When the request is a continuation phrase (the list in templates/routing.rule.md: "execute", "execute the plan", "continue", "proceed", "ship it", "go") and .agent/{branch}/plan.md exists in the current worktree, do not re-detect the tier and do not rewrite the brief.
checks.lock beside it marks Full, whatever tier: says; a tier: Full brief without it is unsealed, so run aw-create-plan to seal it first.
Full → read rules/full-tier.md and continue at Step 2 with the sealed checks.
Lite → Skill("autonomous-workflow") and continue the Lite path at the first phase whose output is missing.
✗ Wrong — "continue" re-runs tier detection on the word "continue", then aw-create-plan re-seals the brief
✓ Right — "continue" + plan.md with tier: Full and checks.lock → full-tier Step 2, checks unchanged
Read lessons per rules/lessons.md — read it now; the matches inform both the tier and the approach.
Detect the tier and emit the MODE SELECTION block.
Load only what the tier needs — every loaded line is re-read on every later turn:
Skill("autonomous-workflow"). If unavailable, ask the user to install the companion set and stop.rules/full-tier.md and the corrections it names; not the autonomous-workflow skill.The tier table lives in one place: autonomous-workflow/SKILL.md → Step 1: Detect Workflow Mode — read that section only (sed -n '/^### Step 1: Detect Workflow Mode/,/^### Step 2/p' "${AW_SKILL_DIR:-$HOME/.claude/skills/autonomous-workflow}/SKILL.md").
Walk its four questions in order; the first yes wins; when in doubt, go heavier.
Do not restate the table here; a second copy drifts from the one the L2 tier-routing suite reads.
MODE SELECTION:
- Tier: [Micro | Lite | Full]
- Reasoning: [why]
- Estimated files: [number]
- Complexity: [trivial | simple | moderate | architectural]
- Lessons applied: [N matched, or none]
| Tier | Who runs it | Plan artifact | Companions |
|---|---|---|---|
| Micro | You, single-pass: Phase 0 quick confirm (with --interview: worktree first, then the interview inside it) → Phase 2 worktree → edit → fast check → docs update only on drift → create-pr --no-post-review (Review) → publish ≥ 1 AC and its proof | in-conversation brief + plan.md holding ≥ 1 AC-{n} | aw-verify checks mode; docs if needed |
| Lite | You, single-pass: the Lite path from SKILL.md | short plan.md brief, no checks.yaml | per signal; aw-verify on every diff (the run verify-env.mjs --tier lite names: the local stack, the preview, or checks mode); Phase 5 docs and Phase 6 create-pr always |
| Full | You write a short brief + sealed checks.yaml, work to them here, then a local review-loop converges the diff | plan.md + checks.yaml | review-loop (local), create-pr, aw-tester on UI, ci-auto-fix; the rest at your judgment |
Full tier: rules/full-tier.md — read when the tier is Full. It holds the brief, the work loop, the local review, the feature-pr-verifier dispatch at PR open, and the no-dispatch fallback.
interview: Full and Lite run Skill("interview") before writing the brief, by default; it asks nothing when the request and any existing spec already answer every blocking question.
--no-interview skips it; --interview also runs it on Micro.
Every tier converges once, locally, before the PR; nothing is posted to the PR unless the user passes --pr-review.
Why: references/dispatcher-rationale.md.
| Tier | Local pass (unposted, zero GitHub calls) | create-pr call |
|---|---|---|
| Micro / Lite | create-pr Step 5.5 (review-loop --cap 3, local mode) | Skill("create-pr", "--no-post-review") |
| Full | full-tier.md Step 3 (review-loop --cap 2, local mode) | Skill("create-pr", "--no-pre-review --no-post-review") |
--pr-review drops --no-post-review, so create-pr Step 6.5 runs one posted review-loop on the draft; it is the only posted pass, and nothing reviews again after CI.--critical implies --pr-review and is passed through to create-pr: the critical lens exists only in pr-reviewer, never in the local branch-reviewer.review-loop in the context doing the work — this session, or a dispatched aw-executor's own context — never in a sub-agent dispatched just to run it: it dispatches branch-reviewer itself.--pr-review.✗ Wrong — Full converges locally, then create-pr reviews the same diff twice more
Skill("review-loop", "--cap 2"); Skill("create-pr")
✓ Right — one local pass, then a PR that create-pr does not review again
Skill("review-loop", "--cap 2"); Skill("create-pr", "--no-pre-review --no-post-review")
At the end of planning, in every tier, print the brief and a paste-ready /goal line.
The goal format, the per-tier instruction sentence, and the AW EVIDENCE block are defined in the workflow's rules/goal-emission.md — read it when planning ends.
| Tier | Brief source | What to print |
|---|---|---|
| Micro | In-conversation: Task, Guardrails, verify command, Turn Cap 5, files | The 5-line brief, then the goal line and "paste this to let the session drive itself to done hands-off" |
| Lite | .agent/{branch}/plan.md: Task, Guardrails, AC-{n}, Before-PR command, Turn Cap 12, files (shape: the workflow's Lite and Micro path) | The brief, then the goal line and the same sentence |
| Full | Your plan.md brief | The brief's Task, Guardrails, and AC list, then the goal line and "paste this to let the session drive itself to done hands-off" |
Brief — rename the "Save" button to "Save draft"
- Task: relabel the editor's primary button so users know the post is not published.
- Guardrails: only src/editor/Toolbar.tsx changes; keep the button's test id and handler.
- Verify: pnpm vitest run src/editor
- Turn cap: 5
- Files: src/editor/Toolbar.tsx
/goal "pnpm vitest run src/editor" exits 0 with "exit=0" printed, the draft PR URL is printed, and the printed git diff --name-only lists only src/editor/Toolbar.tsx — or stop after 5 turns.
Before the terminal contract of every run that opened a PR, print the AW EVIDENCE block (sentinel line or verify exit code, PR URL, changed files) so a judge that reads only the transcript can decide the goal.
When the user returns after the PR opened with an improvement or a small suggestion, treat it as a new iteration, never as scope creep:
plan.md + checks.yaml via Skill("aw-create-plan") (which re-seals), then work it here, on the existing branch and PR.Pause only for a genuine blocker or conflict — safety-guardrails.md.
Emit this block on every exit — success, degraded, blocked, and refused — after the AW EVIDENCE block when a PR exists:
AW RUN COMPLETE
- Tier: [Micro | Lite | Full]
- Path: [brief + work here + review | brief + aw-executor | single-pass]
- Delivered: [PR URL | branch | artifact paths | nothing]
- Verified: [green | red (<check>: <reason>) | not run (<reason>)] # Full only
- Degraded: [companions/agents skipped and why, or "none"]
- Needs you: [blockers or decisions, or "nothing"]
- Not checked: [what was skipped or not verified, and the risk it leaves — 1–2 lines, or "nothing"]
Micro and Lite may collapse it to one line, keeping Degraded: and Not checked:: AW RUN COMPLETE — Micro, PR <url>, Degraded: none, Needs you: nothing, Not checked: nothing.
Degraded: with its reason; a skipped local review-loop means the change was not reviewed.Needs you:.Delivered: names a PR only after verify-comment.mjs --pr <url> --check [--ui] printed report complete, so the PR carries its acceptance criteria and the proof each one holds (the workflow's rules/phase-6-pr-creation.md § Publish the criteria). Until then the PR goes under Needs you: proof — <first problem>, never as delivered.Not checked: stays the last field, after Needs you: (atelier reads Degraded: up to the next field), and names a concrete gap: a path, input, or platform you did not exercise, and what could go wrong there.rules/lessons.md before emitting the block.aw-executor only when the user asks for a background worker or parallel briefs, and then do not edit while it runs.--no-confirm (or "proceed without confirmation") waives only the confirmation wait; a blocking missing-information gap halts and asks in every tier.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (mthines/agent-skills) — no native marketplace selected
npx claudepluginhub p/mthines-mthines-agent-skills54 skills in this plugin
/ai-engineeringReviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".
/animationsAuthors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".
/animations-nativeAuthors performant React Native / Expo animations and gestures with Reanimated and react-native-gesture-handler on the UI thread; web animations go to `animations`. Triggers on "reanimated", "react native animation", "gesture handler", "swipe gesture", "/animations-native".
Other plugins' skills for the same job