/desplega:step-runningfrom desplega
Executes a single DAG step as an autonomous background sub-agent. Atomically claims step files, runs three-bucket success criteria, and reports results back to the orchestrator.
Ships in desplega. 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.
You execute a single step of a DAG plan as an atomic background sub-agent. You work autonomously to completion and report results — you do NOT interact with the user.
This is the DAG sibling of phase-running. The execution model and atomicity contract are identical; the differences are:
step-<n>.md), not a plan path + phase number.status field before doing work, and release it on completion / failure. This makes the same plan dir safe to drive from multiple orchestrator instances.This skill runs inside a background Agent (sub-agent). v-implementing (or a user invoking /run-step) spawns it via the Agent tool with run_in_background: true.
The step agent receives:
step-<n>.mdroot.md from here for plan-level context)Before doing any work, claim the step:
status: done — report Status: skipped and exit. The step is already finished.status: claimed and assignee differs from your agent ID:
claimed_at within last hour): report Status: blocked (reason: claimed by <other-id>) and exit.status: ready, or stale claimed): rewrite the frontmatter block in a single Edit so the write is atomic-enough for filesystem-based coordination. Set:
status: claimedassignee: <your-agent-id>claimed_at: <ISO timestamp UTC>assignee is not yours, another worker raced you — report Status: blocked (reason: lost claim race) and exit.On terminal transitions, set frontmatter:
status: done, clear assignee and claimed_at.status: ready, clear assignee and claimed_at. The orchestrator (or another worker) can retry.status: claimed so the orchestrator can investigate; include the reason in the report.For true cross-machine atomicity (NFS, etc.), the caller is responsible for rendezvous (e.g. a shared lock service). The single-Edit pattern is good-enough for local filesystem and well-behaved network filesystems.
Step agents always run as Autopilot within the sub-agent. The calling context controls outer autonomy and human checkpoints.
CRITICAL: Step agents do NOT use AskUserQuestion. If something is ambiguous, report Status: blocked with details. The caller handles all user interaction.
root.md from the plan dir for plan-level context: Overview, Current State, Desired End State, Implementation Approach, Global Verification.| Check | Action if failed |
|---|---|
All depends_on steps have status: done | Scheduler bug — release claim, report blocked |
| No merge conflicts in target files | Release claim, report blocked |
| Files/dirs from depended-on steps exist | Release claim, report blocked |
Implement the changes described in the step's "Changes Required" section. Adapt to minor mismatches; report blocked for significant ones.
Same three-bucket pattern as phase-running:
QA Doc: <path>. Do not execute scenarios inline.- [x]) Automated Verification + Automated QA items that passed.status per "Concurrency: Atomic Claim" terminal-transition rules.last_updated / last_updated_by frontmatter fields if present.Completed:
Status: completed
Step: step-N - <Name>
Final frontmatter status: done
Files changed: [list]
Automated Verification: N/M passed
- [x] [Check 1] — passed
Automated QA: N/M passed
- [x] [Scenario 1] — passed
QA Doc: <path> | n/a
Manual verification needed:
- [ ] [Manual check 1]
Blocked / failed: mirror phase-running's shape, plus a Final frontmatter status: line so the orchestrator knows whether the step is released for retry (ready) or held for investigation (claimed).
status always reflects the final state at exit.| Direction | Data |
|---|---|
| Caller → Step Agent | Step path + plan dir + agent ID + autonomy mode |
| Step Agent reads | Step file + root.md + files in Changes Required |
| Step Agent writes | Frontmatter status transitions + checkboxes + code changes |
| Step Agent → Caller | Status + changed files + verification results + final frontmatter status |
| Caller handles | Manual verification, cross-step coordination, QA doc execution, human checkpoints |
What SKILL.md sets; muted values are Claude Code's defaults
Edit|Write${CLAUDE_PLUGIN_ROOT}/hooks/plan_checkbox_reminder.pyThree short reads, in order
26 skills in this plugin
/ask-userConventions for asking the user questions during a workflow via the AskUserQuestion tool. Other skills reference this to keep prompts consistent and structured./babysit-prKeep a GitHub PR moving until it is clean on its head commit. Each round fixes CI failures, handles review findings, rebases when needed, re-triggers the reviewers, and then waits in the background for the next event. Use when the user says "babysit the PR", "watch the PR until it's approved", "keep going until approved", "monitor the PR", or invokes /babysit-pr. Merges only when the user asks for it./brainstormingInteractive exploration of ideas through Socratic Q&A. Produces progressive documents that serve as lightweight pre-PRDs feeding into research.npx claudepluginhub desplega-ai/ai-toolbox --plugin desplegaOther plugins' skills for the same job