/goblin-scout:rebind-roadbook [roadbook path or name (optional)] [outputs]from goblin-scout
Converts old single-Markdown roadmaps or 2.x roadmaps.json files into goblin-scout's roadbook format. User-initiated migration tool for projects using legacy roadmap formats.
Ships in goblin-scout. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bring an older plan onto goblin-scout's roadbook. Three jobs, picked by what the project holds and what the user asked for:
| The project holds | Job |
|---|---|
a phase-array .claude/roadmaps.json from the 2.x roadmap plugin | A. Move the file (the first write does this anyway; this does it now) |
a phase-array roadbook, and the user asked for the outputs to take the new names (outputs in $ARGUMENTS, or said so) | B. Move the outputs |
| an old single-Markdown roadmap | C. Convert the old format |
Each is user-initiated only (never model-triggered).
Shared conventions: ${CLAUDE_PLUGIN_ROOT}/references/roadbook-conventions.md. The CLI is python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py.
Resolve the roadbook: $ARGUMENTS path/name, else .claude/roadbook.json, else .claude/roadmaps.json, else a docs/roadmaps/ scan. Run python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py detect:
roadmaps.json, or the user asked for the outputs, go to A or B; otherwise tell the user there is nothing to rebind and stop.Show git status and advise the user to commit or stash first: every job here rewrites or moves tracked files. Do not proceed with a dirty tree unless the user says so.
Run python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py rebind --dry-run and show the user the move. On their go-ahead run it without --dry-run. It does what goblin-scout 3.0.0's first write would: moves .claude/roadmaps.json (and roadmaps.local.json beside it) to the roadbook names, rewrites no value, pins each phase's chart to the path a 2.x plugin rendered it to, and stamps the live phase so a 2.x plugin refuses the file. Relay its notice line, and any note that a moved local file is no longer ignored by git.
Commit the move on its own, staging the two committed paths by name: git add .claude/roadmaps.json .claude/roadbook.json and git commit -m "chore(roadbook): move roadmaps.json to roadbook.json". Never stage the whole .claude folder: roadbook.local.json is a tracker mirror kept out of git, and when the CLI notes it is no longer ignored, ask the user to add .claude/roadbook.local.json to .gitignore (beside the old name) before committing. If the user also wants the outputs moved, carry on into B before committing, so the whole rebind is one commit.
A 2.x project keeps its chart, projections and overview where they were: the migration pins them. This job moves them to the names a new roadbook gets, only when the user asks:
| Output | 2.x default | Roadbook default |
|---|---|---|
| the chart | docs/artefacts/roadmap-{slug}.html | docs/artefacts/chart-{slug}.html |
| a phase's projection | docs/roadmaps/{PHASE}.md | docs/roadbook/{PHASE}.md |
| the prose overview | docs/reports/ROADMAP_OVERVIEW.md | docs/reports/ROADBOOK_OVERVIEW.md |
python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py rebind --outputs --dry-run and show the user every move it lists; it plans the committed file and the local one beside it, each with its own outputs, and what it lists is exactly what runs. If it refuses because a file is not in canonical form, say that a rebind would reformat the whole file and add --reformat to both runs solely when the user agrees. A path the project chose for itself (an artefact or path outside those defaults) is left alone and does not appear. If a target already exists the CLI refuses before moving anything; relay that and stop. A line ending (in the roadbook; not on disk yet) changes only the path the roadbook records, since that output has not been written yet; the next render or projection writes it at the new name. A line saying a 2.x chart is stale is a chart left beside the one that replaced it (a local phase whose chart moved after the first write): rebind leaves it, so relay the line and let the user delete the old file.--dry-run. It moves the roadbook file too when it is still roadmaps.json, clears the pinned artefact so the chart takes the new default, rewrites each default path, and moves the files with git mv where git tracks them.grep -rn "docs/roadmaps/\|ROADMAP_OVERVIEW\|artefacts/roadmap-", skipping .git) and show the user each hit. Update a link only where the user agrees; a dated record (a changelog entry, an old report) keeps its words.git mv); stage the roadbook files by name, git add .claude/roadmaps.json .claude/roadbook.json (leave roadbook.local.json out, as in A), any output the CLI moved that git did not yet track, and any link the user agreed to update, then git commit -m "chore(roadbook): move the chart, projections and overview to the roadbook's names".An old simple-format roadmap becomes the rich phase-array format the other goblin-scout skills expect. This is a one-way structural rewrite of the source of truth; the other skills detect the old format and point the user here.
Old (simple) format: a single docs/roadmaps/{name}.md is the source of truth, with <a name="m{N}"> anchors, four sections (In Progress / To Do / Blocked / Completed), - [ ]/- [x] checkboxes, prose **depends on {IDs}** clauses, a graph TD diagram; .claude/roadmaps.json is a {"roadmaps":[{name,path}]} pointer registry.
Rich format: .claude/roadbook.json is the source of truth: an array of phase objects {name, path, archived?, externalGates, milestones} with six statuses (todo, blocked, paused, deferred, done, out_of_scope), external gates, milestone and gate dependencies and a mechanical status recompute. The phase's projection (its path) and docs/reports/ROADBOOK_OVERVIEW.md are projections.
Read the .md. For each <a name="m{N}"> milestone block, capture:
> **Goal:** / > [!IMPORTANT] block).m{N}-doing, m{N}-todo, m{N}-blocked, m{N}-done): the ID, the description and any **depends on {IDs}** clause. Note which section each came from (doing/todo/blocked/done).Also parse the aggregated graph TD diagram for {A} --> {B} edges; merge these into each waypoint's dependency set, so a dependency drawn only in the diagram (never written in prose) is kept.
Build milestone objects {id: "M{N}", name, goal, tasks:[…]}. Each waypoint: {id, description, dependsOn:[…]} with dependsOn the union of its prose depends-clause and its incoming Mermaid edges. The old format has no external gates, so externalGates: []. Preserve any - Note: sub-bullets as a waypoint's notes field.
Seed each waypoint's status from its old section, then let the recompute derive the rest:
- [x]): done (terminal seed, kept).started date), never a status, and the old format never said which scout or since when. Seed as todo (the recompute promotes it to blocked if it has dependencies that are not done). Record every waypoint remapped this way for the report: the user may want to re-seed one deliberately (paused, say).todo (no dependencies, or all done) or blocked (any dependency not done).Write the seeded JSON, then run python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py recompute so every non-terminal status is derived. This guarantees the converted file passes validation immediately.
roadbook.jsonWrite .claude/roadbook.json as a single phase object in an array (or, if converting one roadmap among several pointer-registry entries, append this phase and mark the others as needed). Structure, tabs, field order and British spelling exactly as goblin-scout:start-roadbook Step 6. Set the phase name from the old roadmap's name (or $ARGUMENTS), path to the .md it will regenerate (reuse the old path so existing links hold), archived: false, externalGates: []. Remove the old pointer-registry .claude/roadmaps.json once the new file is written.
.md as a rich projectionOverwrite the old .md at the same path with the rich layout (see goblin-scout:start-roadbook Step 7): milestone headings, - [ ] **{ID}**: {description} lines with status annotations, and a generated graph LR diagram; no <a name> anchors, no four-section structure, no graph TD. The diagram is the verbatim output of python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py graph --mermaid --direction LR (terminal milestone edges, canonical colours, correct classDef placement; nothing hand-computed).
ROADBOOK_OVERVIEW.mdThe old format had no prose overview. Synthesise a minimal one at docs/reports/ROADBOOK_OVERVIEW.md (see goblin-scout:start-roadbook Step 8) from the milestone goals, with the header count from python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py stats. Flag the narrative sections as stubs for the user to flesh out; invent no decision or rationale the source did not hold.
Run python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py validate: it must report clean; fix any discrepancy. Then report:
roadbook.py stats).roadbook.py claim <ID> --assignee <name>, asking which scout) or re-seed one deliberately.ROADBOOK_OVERVIEW.md's narrative is a stub.git revert undoes either.done/out_of_scope seeds.goblin-scout:tend-roadbook, extended by goblin-scout:add-waypoints and its chart drawn by goblin-scout:unroll-chart.What SKILL.md sets; muted values are Claude Code's defaults
When a project still has the old single-Markdown-file roadmap format and needs converting before goblin-scout:start-roadbook or goblin-scout:add-waypoints can be used on it; when the user wants a 2.x project's .claude/roadmaps.json moved to .claude/roadbook.json without waiting for the first write; or when they ask for the chart, projections and overview to take the roadbook's names.
sonnethighnpx claudepluginhub jasonwarrenuk/goblin-mode --plugin goblin-scout12 skills in this plugin
/add-waypointsAdd WaypointsAdd a well-formed waypoint (a task), or a reviewed batch of them, to a rich-format roadbook: ID assignment, dependency wiring in both directions, graph integrity/assign-scoutsAssign ScoutsInterview-led assignment of roadbook waypoints (tasks) to scouts (the people doing them): collect the team roster, walk the chosen waypoints in batches, write the approved assignee changes to roadbook.json/configure-roadbookConfigure RoadbookOther plugins' skills for the same job