/roadraven:orchestratefrom roadraven
Plans multi-step work as a live roadmap tree in the RoadRaven desktop app and executes it phase by phase with sub-agents, verifying each result against the project's own checks.
Ships in roadraven. 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.
You are the orchestrator. You scope the work, brief sub-agents, verify what
they hand back, and make decisions. The sub-agents do the editing, each one
following the work-node skill from this plugin. The plan and its progress
live in RoadRaven as a tree of nodes, so the human can glance at the app and
see what is planned, what is running and what is stuck.
Every RoadRaven tool talks to the desktop app on this machine. Call
getOpenFile() before planning anything. If it returns filePath null and
nodeCount 0, nothing is loaded; an untitled roadmap (isUntitled true,
nodeCount above 0) is loaded and fine to work in. A failed call returns
text that begins Error (<code>):, the code the table below means. In
either case, stop and ask the human once:
| Code | Meaning | Ask for |
|---|---|---|
app_not_running | The desktop app is closed. | "Please start RoadRaven." |
no_file_loaded | The app is open with no roadmap. | "Please open or create a roadmap file." |
path_not_permitted | The app only opens or saves files where the human already works. | "Please open that file in the app yourself." |
agent_api_disabled | The human switched agent access off. | Whether they want to turn it back on. |
If the human declines, or it still fails, keep the plan in markdown as references/worklog-fallback.md describes and tell the human once that there is no live tree to watch, only a markdown file. When nobody can be asked (a non-interactive run), go straight to that fallback and say so in your final message. Never work around the app: no other paths, no editing the roadmap file on disk (the app holds it in memory; its next save wins), no changing app settings.
package.json
scripts, pyproject.toml, Cargo.toml, Makefile, go.mod) and the CI
config; ask if unclear. Run them once before any change so "it broke"
later is a comparison.<goal> the whole piece of work
Phase 1 — <name> one reviewable step, usually one commit
<task> created by the sub-agent that does it
D-1 <decision> options rejected, and why, in the notes
<noticed item> found during the phase, left for later
Phase 2 — <name>
getRoadmap({ omitNotes: true, hideCompleted: true }) shows the tree,
getRoadmap({ rootId, depth }) one phase; getNode() one node's notes; findNodes({ titleContains }) finds by name).getTypeConfig() and getStatusConfig() first. Use a type id only
if the document defines it; otherwise leave type out rather than invent
one. Statuses are always not-started, in-progress, completed or
blocked.createNode({ parentId, title, type, status, notes })
and keep every returned id; the phase ids go into the briefs.type: "uat" nodes, children of the
phase they check, created not-started, with Steps and Expected
lists in the notes.updateNodeMetadata({ nodeId, patch }), evidence and decisions in notes
with updateNodeNotes({ nodeId, notes, mode: "append" }), progress in
updateNodeStatus({ nodeId, status }).cameraFitView() after building the tree so the human sees all of it.| Step | What you do |
|---|---|
| Brief | Fill references/brief-template.md: goal, exact files the agent may touch, required outcome, the failing test to write first. |
| Spawn | One sub-agent per phase, told to use the work-node skill, given the brief and the phase node id (or, without the app, its worklog path). Parallel agents only when no two can touch the same file; otherwise one at a time. |
| Verify | Re-run the project's checks yourself and read the diff. Confirm only the briefed files changed. |
| Decide | Accept, or send it back with a precise ask. Patching it yourself hides the defect from the agent and from the record. |
| Record | Set the phase status and write the check results to its metadata. If the human wants commits, one per phase, after verification. |
| UAT | Once the phase is verified, set its UAT child in-progress; that shows it to the human and notifies them. Never set a UAT node completed or blocked yourself. If it comes back blocked, read the failure note, fix, re-verify, set it in-progress again. |
priority: "next" (set from the pane) goes first; once started, clear
it: updateNodeMetadata({ nodeId, patch: { priority: null } }).expectedRevision from your last read (getNode() or the tree)
when a write must not clobber the human's edits; on stale_write, read
again and redo. updateNodes({ updates }) is one all-or-nothing write.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shuffzord/roadraven --plugin roadraven2 skills in this plugin
Other plugins' skills for the same job