/agentic-workflow:batch-scheduler [--json-only] [--issues-file <json>] [--no-state] [--remote <url>]from agentic-workflow
Reads the live work graph and emits a deterministic batch plan showing which issues can run in parallel, which are blocked, and which pairs would conflict. Use before launching parallel work or starting a session with multiple open issues.
Ships in agentic-workflow. 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.
One pass that answers the parallel question the single-next sensor cannot:
which open issues can run together right now, in which lane, in which
order — emitted as the fixed batch-plan@4 machine envelope. The script is
the deterministic producer: runner batch-scheduler reads the live work
graph and prints the document. This skill runs the script, reads the JSON, and
interprets it against the plan grammar — it never
assembles the envelope by hand.
Load and verify the canonical Turn contract before ending every turn; the read-only profile substitutes boxes 1–5 (the one sanctioned side effect is the planner's own untracked state file, declared here). Skill-specific additions:
✓ The script was RUN — `runner batch-scheduler [--json-only] [--root
<dir>] [--issues-file <json>] [--no-state] [--remote <url>]` (node is the
fallback when bun is absent); the envelope is the script's stdout, never
assembled by the model
✓ Every degraded dimension is named in the envelope `degraded[]` and reported
to the human — a degraded plan is never presented as complete truth
✓ Every finding (`cycle`, `orphaned-soft-dep`, `prose-native-mismatch`,
`file-overlap`, `stale-claim`, `blind-spot`) is reported with its issue numbers
— findings are never silently dropped, never auto-fixed, and `file-overlap` is
never turned into a re-batch by this skill
✓ A `surface-unknown-issue-<n>` row is *run serially*, never as a free lane;
a `blind-spot` names the batch nobody can call safe
✓ `worktree` and `command` are REPORTED, never executed — the planner plans,
it does not launch (no worktree creation, no session spawn, ever)
✓ The human-readable summary is printed (unless `--json-only`), then the
machine envelope is the ABSOLUTE last output
✓ Nothing was edited, committed, pushed, or created except the script's own
state file (`.agentic-workflow/batches.json`, untracked) — read-only
everywhere else
command starts its lane.workflow-status owns
that), for quality judgment (review-change/audit-pr), or for launching
(you or the #295 panel own that).Per the agent guide's Workflow conventions + documentation map. The
script reads what it needs itself — the location index (docs/ROADMAP.md, via
the shared index-document.mjs parsers), the open issues and their native
blocked-by relations from the forge, the prose ## Dependencies rows, each
body's ## Surfaces declaration and its ## Where/## In scope prose, and
the unit docs under docs/fix/ + docs/features/. Read them yourself only
to interpret a field the script emitted.
blocked-by relations, one gh pr list for
launch evidence, and the local git plumbing (branches, worktrees, the diff
against the trunk) — and persist the plan's claimed lanes to
.agentic-workflow/batches.json (untracked, durable) so the next run
recognizes what is already claimed or launched. Flags:
--json-only — envelope alone (drivers, tests).--issues-file <json> — inject a fetched issue cache instead of calling
the forge; a cache without native relations fetches them live (one
GraphQL call) or degrades declared.--no-state — pure read; writes nothing. It cannot be combined with
--mark-launched (that pair is a usage error, exit 2).--remote <url> — name the forge explicitly when origin is not a
GitHub URL (a scratch clone); it names it for the issue list and the
relations call alike.--mark-launched <n> — record that you launched issue N's lane outside
the sensor (the only manual write).batches[] in order (batch 1 = runnable now), each lane one surface with
its size hint and its issue rows (number, worktree, command,
reason.kind + detail, claimed — live only for that lane, triaged,
claimed_surface — the declared surfaces a live branch leaves uncovered,
so a merge conflict is possible; absent when there is no branch, the branch
merged, or the diff could not be computed — which is a degraded[] entry),
blocked[] with the open blockers that gate each issue, launched[] with
the evidence that marked each unit in flight (an open PR or an unmerged
branch — a unit doc never decides), label_blocked[] with the hold labels,
new_issues[] and closed_since[] with the lifecycle delta, findings[]
with the unresolvable spots, degraded[] with anything that could not be
read, and summary as the totals.triaged: false — scope undetermined; co-scheduling provisional until
their lane triage runs), then every finding, then every degradation. Launch nothing yourself —
hand the per-issue command to the user or the panel, and let them decide
how many lanes to run (the size hints inform that choice; they are facts,
not a lane-count policy).cycle, orphaned-soft-dep,
prose-native-mismatch, file-overlap, stale-claim and blind-spot are
work-graph defects the audit can feed; report them with numbers and detail,
never fix them here (the prose rows belong to triage, per the #442 contract).
A target that is open and in flight is a state, not a defect: blocked[]
names it as in flight and no finding is emitted for it.file-overlap means run them one at a time. Two parallel picks that
rewrite the same file are reported, never re-ordered by this skill: the
consumer decides to serialize them, and the plan's batches stay as computed.surface-unknown-issue-<n> marks a row whose body, unit doc and triage all
declare nothing: report it, run it beside nothing, hand the declaration to
triage; two or more in one batch are the blind-spot finding. Never guess a
lane to make the plan look complete.batchScheduler.surfaces in the
project's config, else the project's own directories (owner:
PLAN.md § The surface vocabulary). When a plan on a
project you do not recognize resolves nothing, the fix is that key — not a
hand-written lane in an issue body.launched[] names the PR or branch that says otherwise.
If the forge is unreadable, say so — the branch evidence is what remains.claimed: true means this exact
lane was claimed before; a stale-claim finding is a claim the run dropped
(its unit landed, its worktree, branch and PR are gone, its issue closed, or
it aged past 48 hours). Report it, never resurrect it by hand.reason.kind: untriaged (or triaged: false) has no triage anywhere — roadmap row or
body verdict — so report it as co-scheduling-provisional, never as a plain
ready lane. soft-deps-open rows start before their declared inputs exist:
name the deps and their batches, and read state unknown as unverified,
not as satisfied.postponed, backlog and human-revision-needed are
unlaunchable whatever the lane says; they are their own category.hard without
a native blocked-by is reported as a mismatch; it never gates on its own.degraded[]) and the
plan still prints — from the cache and the docs that did read.surface-unknown degradation.unknown.label_blocked, not as in flight, even if a branch exists.Preamble + no-slash-menu fallback: owned by
PORTABILITY.md — this
section keeps only this skill's own fallbacks:
node (the shebang's fallback).--issues-file carrying a cached issue export;
the envelope then degrades on the relation source only when the cache lacks
them.workflow-status is the sequential sibling: what is startable now and the
single recommended next command. This sensor answers the parallel question
over the same substrate; the two never write and never conflict.unit-lane is the consumer of each row's command
(/unit-lane --from-issue <N>); it launches units, this sensor only names
them.triage-issue owns the labels and verdicts this sensor reads (postponed,
backlog, human-revision-needed; fix-now/postponed/promoted/
wontfix in a body) and the ## Surfaces declaration it reads for lanes.orchestration-envelope's package
(agentic-workflow/batch-plan), validated by the script before printing.--json-only).→ Next: the per-issue command values of batch 1 — the user (or the #295
panel) picks how many lanes to launch from the size hints
· one issue only → run its /unit-lane --from-issue <N> directly
· a blocked or finding row first → /triage-issue <N> resolves the relation
defect before launching anything it gates
What SKILL.md sets; muted values are Claude Code's defaults
33 skills in this plugin
/agentic-workflow-doctorUser-initiated batch ceremony-failure triage: mine this project's own journal and unit docs for its accumulated ceremony failures, apply a fixed discard/report rubric, render one anonymized bundle, and route it upstream to an existing or new agentic-workflow issue — with consent. Read-only; the user starts it. Triggers: "agentic-workflow-doctor", "aw-doctor", "why do my reviews keep blocking", "triage my ceremony failures", "report a workflow bug upstream".
/audit-docsAudit cross-document coherence: docs ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations, project-charter coverage — and reports them ranked by severity, fixing only low-risk items on request. Model-agnostic: the skill inherits whatever model and effort your agent session is already using. Triggers: "check doc consistency", "are the docs in sync", "audit the docs", "doc coherence review", "did the docs drift", "validate the roadmap".
/audit-prAudit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".
npx claudepluginhub gtrabanco/agentic-workflow --plugin agentic-workflowOther plugins' skills for the same job