Skip to content
Back to skills

Dispatch

ASecurity

Route a request to the right interlock skill, after one batched pre-flight that loads git state, OpenSpec status, open tasks and graph presence in a single pass. Use when you are not sure which skill applies, or at the start of a session to orient before doing anything else.

  • 70 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 19, 2026
ai-agentsshellbashnodegit

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 2, 2026

npx -y skills add renzrollon/interlock --skill dispatch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dispatch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dispatch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/renzrollon-dispatch/badge)](https://www.skillsdirectory.com/skills/renzrollon-dispatch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dispatch
description: Route a request to the right interlock skill, after one batched pre-flight that loads git state, OpenSpec status, open tasks and graph presence in a single pass. Use when you are not sure which skill applies, or at the start of a session to orient before doing anything else.
license: MIT
compatibility: Optional openspec CLI and git. Node.js >= 18 for the bundled interlock CLI.
allowed-tools: Bash(git *) Bash(openspec *) Bash(interlock *) Bash(interlock-graph *) Read Glob
metadata:
  type: routing
---

Figure out where the user actually is in the flow, then route. One cheap pre-flight beats an exploratory warm-up.

---

## Step 0 — Pre-flight, batched

Run these **in one turn**, joined with `;` not `&&` — you want every answer regardless of which ones fail:

```bash
git branch --show-current; git status --short; git log --oneline -5
openspec --version
openspec list --json 2>/dev/null
interlock changes 2>/dev/null
interlock suggest 2>/dev/null
ls -t .claude/handoff/explore-*.md 2>/dev/null | head -3
ls .claude/graph/GRAPH_REPORT.md .claude/graph/DOCS_DIGEST.md 2>/dev/null
```

That is Rules 2 and 3 of `${CLAUDE_PLUGIN_ROOT}/shared/TOOL-ECONOMY.md`: read state, do not re-derive it. Do not traverse the tree to reconstruct what these already tell you.

The `interlock suggest` line prints one session suggestion per advised skill. When you answer with a route, print the routed skill's line from that answer beside the route, verbatim; print none for a route that has no line there; and print `SESSION SUGGESTION UNAVAILABLE` beside the route when that batch line printed nothing. It is advice: the routing never waits on it.

---

## The flow

```
graph → docs-digest → bootstrap        (once per repo)
/interlock:spec    explore → artifacts → review     ⟵ STOPS. Human reviews.
/interlock:ship    waves → verify → commit  (workflow, zero-touch; --strict adds review)
/interlock:settle  summary → pull request
```

The gap between `spec` and `ship` is deliberate. Never bridge it automatically — if a spec is ready, say so and let the user start ship. The user can bridge it themselves with `/interlock:spec --continue`, but that is theirs to ask for; routing never offers it.

`ship` is a dynamic workflow. `/interlock:ship` is a skill trampoline that launches it via the Workflow tool (`scriptPath` → `workflows/ship.js`). Invoke the **skill** `interlock:ship` (or call Workflow with that scriptPath yourself). Do not treat a missing Workflow-namespaced command as "ship does not exist" — the skill is the entry point. If the trampoline halts because the Workflow tool is unavailable, that is the runtime gap (v2.1.154+, Dynamic workflows on in `/config`); do not implement the loop inline.

---

## Routing table

| Situation | Route to |
|---|---|
| No `openspec/` directory, or no specs on an existing codebase | `/interlock:bootstrap` |
| No `.claude/graph/`, and the session will explore or review heavily | `/interlock:graph` (build) |
| Docs context too large, or the digest is stale | `/interlock:docs-digest` |
| "How does X work?", "what breaks if I change Y?", tracing, comparing options | `/interlock:explore` |
| "I want to build / fix X" — no change exists yet | `/interlock:spec` |
| "Spec these several changes" / an epic document / a plan or list of changes that build on each other | `/interlock:spec --batch` — **advanced**. Writes every change in landing order, one gate each, stops at the checkpoint. It runs unattended for as long as its gates take, so say that with the route; one change, or a request that does not ask for several to be written in one run, stays `/interlock:spec` |
| A change exists with reviewed artifacts and unchecked tasks | `/interlock:ship <change>` — only if the user asked to ship, and this conversation has not already run ship for that change |
| Leftover unchecked boxes of the change a ship workflow just returned from | Report them. Do not route to ship. |
| Implementation done, diff needs review | `/interlock:review-code` |
| Artifacts written but not yet reviewed | `/interlock:review-artifacts` |
| Suite is red, or a CI log was pasted | `/interlock:fix-tests` |
| "Explain this code" / "what changed in that commit?" | `/interlock:explain-code` |
| Need a QA checklist for a change | `/interlock:manual-test-plan` |
| Work is done and needs committing | `/interlock:commit` |
| PR needs creating or updating | `/interlock:settle` |
| "I want to skip the checkpoint" / "don't stop and make me read it" | `/interlock:spec --continue` — **advanced**. Opt-in, fail-closed, and it stops anyway on anything a machine cannot settle. It cannot catch a wrong idea; only the read can. |

**Prerequisite checks before routing:**

- `openspec --version` printed no version — say so before routing. On `command not found` (or the shell's equivalent) the CLI is missing: name `interlock openspec provision` (run nothing yourself; `spec` and `bootstrap` run it), or the user's own `npm install --location=global @fission-ai/openspec@2.0.0`. A bare `interlock` that answers `command not found` means the session predates the plugin; until a new session, `node "${CLAUDE_PLUGIN_ROOT}/cli/interlock"` runs it, and those calls ask for approval. On any other error it is installed but does not run (usually a Node.js older than OpenSpec's floor; `interlock doctor`'s node row names it): quote the error, not the install line. Either way an empty `openspec list` here is the CLI, not an empty project, and `spec` and `bootstrap` both stop at their first command until it runs. `ship` still reads artifacts from disk.
- Routing to `ship` — run `interlock validate <change>` first. Not ready means route to `spec`, not ship. If a ship workflow already returned for that change in this conversation, its leftover boxes are a report, not a retry. Another change a batch wrote is its own route: name it.
- Routing to `spec` with no explore brief and a question that spans subsystems — run `explore` first. Not before `--batch`: it runs its own exploration, one brief per item, and would never read the first.
- Routing to anything that reads the graph when `.claude/graph/` is absent — offer to build it once.

---

## Ambiguity

When two routes fit, prefer the **earlier phase**. Exploring when you should have specced costs one turn; shipping when you should have specced costs a bad change and a review cycle.

When the request genuinely does not fit any skill, say so and handle it directly. Not everything is a workflow, and forcing an ordinary question through a skill is worse than just answering it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.