/loom:loom-runbook <topic or short description> [--research=<path>] [--mode=auto]from loom
Birth a decentralized work inventory — a runbook (migration dictionary) plus in-code site annotations and the execution wiring — from a topic or a prior RESEARCH.md. The decentralized sibling of /loom-plan: where /loom-plan emits a central PLAN.md + phases, /loom-runbook emits MIGRATE:<dict-id> annotations at the work sites + a small shared runbook they reference, so /ev-goal can fan out massively with no central inventory to contend on. Use for large mechanical work (migrations, codemods, sweeps) where the partition is the site. Dispatches site scanning through `loom runbook scan`.
Ships in loom. 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.
Author the decentralized work inventory for a large mechanical effort.
Where /loom-plan produces a central PLAN.md + per-phase state,
/loom-runbook produces three things that live in the code, so the
inventory never becomes a central bottleneck (project
2026-06-30-distributed-project-store, decisions 0003/0004/0005):
<dict-id> → the
transform spec for that migration.MIGRATE:<dict-id> [key=value …] marker at each
work site. The set of sites is discovered by scanning, never listed
centrally./ev-goal points at to
pluck and transform site batches (Phases 7–8).<topic or short description> — what the migration accomplishes.--research=<path> — a RESEARCH.md to ground the runbook (analogous to
/loom-plan's research grounding). If absent and the work is non-trivial,
offer to spawn /loom-research first.--mode=auto — run the substrate auto-mode posture (per
docs/AGENT-CONVENTIONS.md); the human-paired default interviews.Interview (grill-me, recommendation-first) to pin, per migration:
dict-id — a kebab-case stable id (e.g. rename-foo, drop-legacy-X).key=value context a site carries (e.g.
target=bar).In --mode=auto, evaluator-contract-fit reads the topic/RESEARCH.md and
proposes the dict-ids + specs; the operator's interview answers override.
Author a TOML runbook at runbooks/<name>.toml — one table per migration:
[rename-foo]
description = "Rename foo() to bar() and update imports"
runbook = "Replace `foo(` with `bar(`; add the bar import; drop the foo import if now unused."
The runbook field is the worker-facing transform spec. Keep it
self-contained — a worker applies it to a single site with only the site +
this entry. Commit the runbook (it is the one shared, read-mostly artifact).
Place a MIGRATE:<dict-id> [params] marker at each site, in a comment in the
site's own language:
// MIGRATE:rename-foo target=bar
Seed by whichever is cheaper for the migration: a scripted pass that inserts the marker at every recognized site, or a guided per-site placement. The inventory now lives in the code — there is no central list to maintain.
loom runbook scan <root> --dict=runbooks/<name>.toml
The verb enumerates every annotated site and resolves each against the
runbook. unknown must be 0 — a non-zero count means a site references a
dict-id the runbook doesn't define (a typo'd marker, or a missing entry).
Resolve before handing off.
The runbook + annotations are now the work queue. /ev-goal (runbook
execution mode, Phases 7–8) plucks a bounded batch of sites, applies each
site's runbook entry, and opens a PR — fanning out across machines with the
site as the partition and no central inventory to contend on. A migration
is done when loom runbook scan returns zero sites for its dict-id.
/loom-plan → PLAN.md + phases: bounded, sequenced, project-managed work./loom-runbook → runbook + annotations: massively-parallel mechanical work
with no central inventory.Both are downstream of /loom-research and both feed /ev-run / /ev-goal.
The modes can mix — a planned phase whose body is a runbook fan-out.
loom runbook scan --dict must resolve
every site.unknown from loom runbook scan → a marker references a missing
dict-id; fix the marker or add the entry./loom-plan or just
do it. The runbook overhead only pays off at scale.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krambuhl/agents --plugin loom7 skills in this plugin
/loom-adrRecord an Architectural Decision Record (ADR) to the workspace-level adr-log. Use when an architectural decision worth being durable — visible to other engineers and to future agents — surfaces in conversation: a chosen tradeoff, a deliberate constraint, a deferred alternative, a load-bearing invariant. Composes `loom adr` (the CLI verb) which writes `projects/adr-log/NNNN-<title-slug>.md` with permanent sequential numbering. ADRs are append-only; revise by writing a NEW ADR with `--status=superseded` body-linking to the prior number, never edit the old file./loom-archiveClose out a loom-managed project. Interview the user for color, synthesize a project-type retrospective from the corpus, write the retro via `bin/loom retro write --type=project`, then relocate the project to `archive/` via `bin/loom project archive`. Stops there — composing the archive PR is a separate concern./loom-Other plugins' skills for the same job