Drive Archon through its CLI: run AI workflows on a repo, manage those runs (inspect, approve, reject, cancel, resume), set up Archon or change its config, author new workflows, and improve workflow prompts. Use when the user says "use archon", "run archon", "archon workflow", "fix issue #N with archon", "have archon review this PR", "what's running / check run <id>", "approve/reject/cancel/resume that run", "set up archon", "configure archon", "change my archon config", "create a workflow", "author a workflow", or asks how to write a better Archon prompt. NOT for: doing the coding work yourself — Archon delegates it to isolated runs.
Archon runs multi-step AI workflows through the archon CLI. Git projects use
isolated worktrees by default; registered folder projects run in place. This
skill has five capabilities; route by intent:
| User wants to... | Read |
|---|---|
| Run workflows on real work | running-workflows/running-workflows.md |
| Manage existing runs (inspect/approve/reject/cancel/resume) | manage-run/manage-runs.md |
| Set up Archon or change config | setup-and-config/setup-and-config.md |
| Author a new workflow | authoring-workflows/authoring-workflows.md (+ its node-reference.md) |
| Improve prompts for workflow nodes or run messages | prompting-mistakes/prompting-mistakes.md |
Routing rules:
setup-and-config/setup-and-config.md before anything else.Most requests land here. The short version; details in the running reference:
Discover what exists with the compact catalog: archon workflow list --json. Use its
previews to identify plausible candidates, and treat descriptionTruncated: true as an
explicit signal that a description is incomplete — never assume names from memory.
Fetch each plausible candidate's untouched description with archon workflow list <name> --full. Choose from the full descriptions, not a truncated preview.
Check the input before spending anything. The message (or the issue, or the
document the run reads) is the contract the whole run is measured against. Hold it
against the six in running-workflows.md — problem, why it matters, why now,
outcome, invariants, acceptance. If any is missing, say which, propose a corrected
input, and get the user's agreement before launching. Do not silently improve it,
and do not launch anyway.
Invoke detached by default (workflows are long-running):
archon workflow run <workflow> --branch <branch-name> "<the work, as a clear message>" --detachFind the run id (archon workflow runs --json), then arm
archon workflow wait <run-id> --json as a background task of your harness —
it blocks until the run ends or needs a human decision, waking you at exactly
the right moment. archon workflow get <run-id> --json is for on-demand state,
not a polling loop.
When a run pauses at a gate, resolve it deliberately:
see manage-run/manage-runs.md.
Four hard rules:
Never launch against a thin brief. A weak input does not produce a weak result — it produces a confident, well-formed answer to the wrong question, at full price.
A fresh launch of an interactive-class workflow refuses --detach. Run that
launch in the foreground as a background task of your harness. Once the run
pauses, resume/approve/reject/respond --detach are supported continuation
actions.
Prefer --detach if the workflow is not interactive.
One workflow per shell; multiple tasks = separate invocations, separate branches.
workflow status and workflow runs default to that project;
use --all only when install-wide visibility is intended. Their JSON output sets
scopeFallback: true when an unregistered project produces an install-wide result.
workflow status fails if the registry lookup itself fails; it does not disguise
the error as an unregistered-project fallback. Commands given a full run ID remain
globally addressable. For a git project, run from the repo root. Register a non-git
project with workflow run --folder.workflow get <run-id> --json for the normalized outcome and leave_behind.artifactFiles; use a
separate --verbose --json call for node summaries.--json whenever you will parse output.running-workflows/running-workflows.md — discovery, invocation, isolation, monitoringmanage-run/manage-runs.md — every run-control verb, gate semantics, JSON shapesmanage-run/troubleshooting.md — log locations, JSONL event types, jq recipessetup-and-config/setup-and-config.md — install, doctor, config.yaml scopes, provider authauthoring-workflows/authoring-workflows.md — designing a workflow: primitives, gates, promptsprompting-mistakes/prompting-mistakes.md — common prompt mistakes, for authored nodes and
for the messages you pass when invoking workflowse237584
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.