/roadraven:work-nodefrom roadraven
Executes a single task or phase while syncing progress with the RoadRaven desktop app. Claims or creates a roadmap node, updates status and notes, runs project checks, and reports results. Use when an orchestrator or user assigns a roadmap node.
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 doing one piece of work that someone is watching in RoadRaven. The node is how they see it: its status says where you are, its notes say what you found. Keep both honest and current.
Call getOpenFile() first. 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 in brackets is what 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 the 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 that does not resolve it, write the same checkpoints to a markdown worklog: the path your brief names, or ask (the layout is in the orchestrate skill's worklog-fallback.md). If you are working directly for the human, tell them once, plainly, that without the app there is no live tree to watch, only a markdown file; either way, say in your report that the roadmap was not updated and why. When the session cannot ask anyone (a non-interactive run, or you are a sub-agent without a channel to the human), skip the question, go straight to the worklog, and say in your report that the app was unavailable and nobody could be asked. The worklog is the sanctioned fallback. A workaround is trying other paths, editing the roadmap file on disk (the app's next save wins), or changing the app's settings to get past a refusal; never do those.
getNode({ nodeId }), check
getTypeConfig(), then create your task under it with
createNode({ parentId, title, status: "in-progress", notes }). Add
type only if the document defines a fitting id such as task. Keep the
returned id.updateNodeStatus({ nodeId, status: "in-progress" }).findNodes({ status: "not-started" }) (add parentId to stay inside one
branch), tell the human which node you picked, then set it in progress.
A node whose metadata has priority: "next" (set by the human from the
RoadRaven pane) is taken before other not-started work; once started,
clear the flag with updateNodeMetadata({ nodeId, patch: { priority: null } }).Start the notes with a two-line summary of the task and a ## Checkpoints
heading. Statuses are always one of not-started, in-progress,
completed, blocked; getStatusConfig() only shows their display labels.
Append to the notes with
updateNodeNotes({ nodeId, notes, mode: "append" }) about every 20 minutes
and at every milestone: what landed, what is failing, what surprised you.
A restart or a cut-off session loses everything that exists only in your
context; the notes survive. Put numbers (test counts, timings, commit ids)
in metadata with updateNodeMetadata({ nodeId, patch }).
A cause in a brief, or one you found by reading code, is a hypothesis until a test fails on it. Write the failing test first and keep its output: it is the only proof the test was ever red. If the cause will not reproduce, stop and report it; do not fix what is not proven.
path:line.expectedRevision from your last
getNode({ nodeId }) when a write must not clobber an edit; on
stale_write, read again and redo it.Use the commands the brief names. If it names none, find the project's own test, lint, type-check and build commands in the README, the package manifest or the CI config, or ask. Paste real output, not a summary of it. If a check fails because of files that are not yours, say so and leave them alone.
Write the report using
references/report-template.md, every
heading in order, to the path the brief names or as your final message.
Then set the final status with
updateNodeStatus({ nodeId, status: "completed" }) when the checks pass,
or status: "blocked" when you stopped, and append a last note pointing at
the report.
If your task has a uat child, set it in-progress after you verify,
with Steps and Expected in its notes; never complete or block it yourself.
The orchestrator or the human re-runs the checks before accepting it, so report what you actually saw.
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