Skip to content
cccskills
FreePublished on GitHub

ato-mission

Before any multi-step work with a stated goal — a feature, a bugfix spanning multiple files, a QA sweep, a doc draft + iterations, a multi-day investigation — create an ATO Mission instead of doing it via bare `ato dispatch` calls. A Mission persists the goal + the verifiable success criteria, lets the coordinator tick drive the work across days, captures every event in a structured audit trail (SQLite + markdown narrative), and integrates parallel agents' work via merge strategies. Complement to `ato-warroom` (the cross-family decision before you start) and `ato-review` (the post-code-diff review). Missions is where multi-step work LIVES; war-rooms are where decisions ABOUT it get made; reviews are where the resulting commits get vetted. Fires when: the work has more than one decision point, a verifiable end state, or runs across more than one session. Use it for any ATO development that doesn't fit in a single dispatch.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md6.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

What this skill is

The Missions skill teaches the goal-driven coordinator pattern shipped in ATO v2.16. The pattern: human writes a goal + programmatic success criteria, ATO coordinates LLMs as a writing+reviewing team (each in its own git worktree if needed), success is verified by running check_commands, the human reviews the merged result.

Three things make a Mission different from a bare dispatch:

  1. Persistence. State lives in SQLite (missions + mission_events tables) plus a markdown sidecar at ~/.ato/missions/<slug>.md. You can close your laptop and come back tomorrow — the coordinator tick picks up where it left off.
  2. Verifiability. Each success_criterion has a programmatic check_command (any shell expression — runs via sh -c in the workspace_root, exit-0 = met). The mission can't be marked complete without all criteria passing.
  3. Multi-agent orchestration. With workspace_strategy=per_agent_worktree, each LLM worker gets its own git worktree on its own branch from a recorded base SHA. Merge strategies (human_approves_each, coordinator_merges_all, future picks_winner/ranked) integrate the parallel work. The coordinator runs check_commands after every accepted merge and rolls back regressors via git reset --hard HEAD~1.

When to use it

Use a Mission when ANY of:

  • The work has a clear end state you can write as test -f X && ...
  • You'll need to delegate parts to peer LLMs (codex, gemini) and merge their work
  • The work spans days, sessions, or interruptions
  • You want the audit trail later — what was tried, what worked, what got rolled back

Use a war-room (ato-warroom) when:

  • A single design decision needs cross-family second opinions
  • You're choosing between A and B before any code gets written

Use a bare ato dispatch when:

  • One-shot question with a single answer (no iteration, no goal state)
  • The receipt is the deliverable (e.g. a summary, a translation)

Minimal lifecycle (single_cwd)

# 1. Create the mission with a verifiable criterion.
cat > /tmp/crit.json <<'EOF'
[{"description": "tests pass", "check_command": "cargo test --quiet"}]
EOF

ato missions create \
  --name "Fix the keychain race" \
  --goal "Resolve task #31 — cross-process master_key_v2 ACL mismatch." \
  --success-criteria /tmp/crit.json

# 2. Configure the coordinator worker — which LLM, what tools.
ato missions set-worker keychain-fix \
  --runtime google \
  --require-tools read_file,grep,edit_file,write_file,bash

# 3. (Optional) install a scheduled tick. Until you do, run it by hand:
ato missions tick keychain-fix      # one action per wake
ato missions tick keychain-fix      # next action
# ...the tick fires the worker, checks success_criteria, escalates if needed

Multi-agent lifecycle (per_agent_worktree)

When you need codex AND gemini AND maybe minimax to work on the same goal in parallel:

BASE=$(git rev-parse HEAD)

ato missions create \
  --name "Refactor the dispatch path" \
  --goal "Split api_dispatch.rs into per-provider modules" \
  --success-criteria /tmp/refactor_crit.json \
  --workspace-strategy per_agent_worktree \
  --base-sha "$BASE" \
  --merge-strategy human_approves_each

# Each agent gets its own ato/mission/<slug>/<agent_key> branch and worktree.
# Drive them however you like — `ato missions dispatch <slug> --runtime codex --agent codex-refactorer ...`
# Or let the coordinator tick do it once worker_config supports multi-runtime fan-out.

# Review and integrate:
ato missions merge refactor-the-dispatch-path --status     # see pending agents
ato missions merge refactor-the-dispatch-path --approve codex-refactorer
ato missions merge refactor-the-dispatch-path --approve gemini-refactorer
ato missions merge refactor-the-dispatch-path --finish     # success_criteria re-run

Reading the audit trail

Every Mission writes to two places:

ato missions events keychain-fix --human    # structured event log
ato missions narrative keychain-fix --human # cat-friendly markdown
ato missions briefs keychain-fix            # pending decision briefs

The narrative file at ~/.ato/missions/<slug>.md auto-populates as events land (PR-8). Open it in any markdown viewer to see the play-by-play without booting the desktop.

When the coordinator escalates

If the worker fails 3 times in a row, or the success criteria are unmet at --finish, or base_sha goes missing — the tick writes an escalated event with a structured decision brief (PR-6): reason, summary, exact options to choose from. Surface it with:

ato missions briefs <slug>          # pending only
ato missions briefs <slug> --all    # full history

The brief tells you exactly what choices you have. Pick one, act on it (usually set-state or set-category plus the recommended fix), and the next tick continues from there.

The pattern at the team level

When the work involves Claude (you, coordinating) + codex + gemini:

  1. Convene an ato-warroom on the design first — cross-family verdict locks the approach.
  2. Create the Mission with the war-room's verdict embedded in the goal.
  3. Each LLM peer fires its work via the PR-1.5 tool surface (--require-tools edit_file,write_file,bash). They DON'T just describe — they actually edit code.
  4. Reviews happen as additional dispatches into the SAME war-room (--war-room-id, incremented --war-room-round).
  5. Merge via the strategies above. Mission completes when criteria pass.

The whole loop is itself the dogfood of v2.16. If we're not using Missions for our own non-trivial work, the feature isn't real.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Turn any installed skill (gstack, custom, third-party) into an ATO agent the user can summon into war-rooms. Reads a SKILL.md, extracts the persona, strips runtime boilerplate, and writes an agent file at `.claude/agents/<slug>.md` (project-scoped) or `~/.claude/agents/<slug>.md` (global). Prompts for a model roster (primary + 1-2 alts) so cross-family dispatch in war-rooms produces real disagreement. Companion to `ato-warroom` — that skill summons agents this skill creates. Use when asked "turn this skill into an agent", "register X as a war-room agent", or when scoping a new persona before a war-room runs.

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

Before committing any non-trivial change, dispatch the diff to a reviewer runtime via ATO (`ato dispatch <reviewer> --session <id>`), parse the numbered/severity-tagged findings, apply or defer each one with a recorded justification, then commit. Fights the "build passes therefore ship it" failure mode — what Garry Tan calls the AI agent complexity ratchet. Place in the v2.16 stack: this skill is the LAST gate. `ato-warroom` decides the design; `ato-mission` runs the multi-step work and produces the diff; `ato-review` checks the diff before commit. When the review is part of a Mission, dispatch the review with `--require-tools read_file,grep,git_diff,git_log` so the reviewer can walk the source itself instead of reasoning from a paraphrase (PR-1.5 tool surface). Receipts land in `execution_logs` and the Mission narrative. Fires automatically before commits touching public surface (CLI subcommands, Tauri commands, MCP tools, schema migrations, security boundaries) or whenever a diff exceeds ~50 LOC of behavior change.

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

Before any material decision — code chunk, plan, strategy, design, scope cut, push to GitHub — convene a war-room. The session driver takes the CEO seat: frame the tradeoff, summon specialist seats from whatever agent roster the user has built, dispatch a cross-family voice via `ato dispatch` so priors actually disagree, decide. A failure-mode filter (wrong assumptions / overcomplexity / orthogonal edits / imperative-over-declarative — Karpathy's four are one good default, swap in your own) runs on every dispatch. Place in the v2.16 stack: war-rooms DECIDE before code starts; `ato-mission` EXECUTES the work between decisions (multi-step, goal-driven, persisted across days); `ato-review` VERIFIES the resulting commits. Use a war-room for the design verdict, hand the verdict to a Mission, review the merged result. Fires before: sending a code draft to the user as final, opening a PR, pushing to a remote-tracking branch, committing >50 LOC of behavior change, or delivering a plan or strategic recommendation as the final answer.

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

browse

Free

Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with elements, verify page state, diff before/after actions, take annotated screenshots, check responsive layouts, test forms and uploads, handle dialogs, and assert element states. ~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a user flow, or file a bug with evidence. Use when asked to "open in browser", "test the site", "take a screenshot", or "dogfood this".

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

debug

Free

Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause.

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

Design consultation: understands your product, researches the landscape, proposes a complete design system (aesthetic, typography, color, layout, spacing, motion), and generates font+color preview pages. Creates DESIGN.md as your project's design source of truth. For existing sites, use /plan-design-review to infer the system instead. Use when asked to "design system", "brand guidelines", or "create DESIGN.md".

The English summary is being prepared. Showing the original description.

WillNigri/Agentic-Tool-Optimization34Updated Sep 8, 2026

See all skills by WillNigri

Report a problem with this skill