/oh-my-claudecode:graph <descriptor.json | describe the pipeline> [--runs-root <dir>]from oh-my-claudecode
Runs deterministic DAG pipelines from a JSON descriptor with journal-based crash recovery. Useful for repeatable multi-step workflows that survive interruption.
Ships in oh-my-claudecode. 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.
None: SKILL.md is the whole skill.
Run a deterministic orchestration graph from a declarative JSON descriptor.
The runtime consumes the sealed-descriptor and pure-scheduler contracts in
src/graph/* and executes through an independent OS process (omc graph run),
so crash recovery (kill mid-run, rerun, resume from journal) works for real.
/oh-my-claudecode:graph <descriptor.json>
/oh-my-claudecode:graph "build then test then ask me before deploy" (author the descriptor first)
The execution surface is always the CLI subcommand:
omc graph run <descriptor.json> [--runs-root <dir>]
Run it via the Bash tool for non-interactive graphs. Progress lines stream as
[run], [node], [ok], [fail], [join], [done].
.omc/graph-runs/<run_id>/When NOT to use: exploratory one-off work (use conversation or /team); anything needing adaptive re-planning mid-run (graphs are deterministic).
Descriptor given -> go to step 3.
Pipeline described -> author the descriptor JSON (schema below), write
it next to the project (suggest .omc/graphs/<name>.json) and show it to
the user before running. run_id must be unique per logical pipeline;
rerunning with the same run_id RESUMES, not restarts.
Approval nodes: if the descriptor contains any "kind": "human-approval"
node, do NOT run it through the Bash tool (stdin is not interactive there;
EOF fails closed to denied). Tell the user to run interactively instead:
! omc graph run <file>
The ! prefix runs it inside this session with live stdin so y/n works.
Run and relay progress. Exit codes (normative): 0 succeeded | 1 terminal failed | 19 another writer owns this run (busy) 20 corrupt/tampered journal (fail-closed) | 21 descriptor drift on resume | 70 runtime crash (unmapped error)
Resume: rerunning the same command after a crash replays committed transitions and continues. Completed nodes never re-execute.
{ "descriptor_version": 1, "run_id": "unique-pipeline-id", "revision_id": "rev-1", "goal": "one line", "nodes": [ { "id": "n1", "kind": "command", "title": "...", "timeout_ms": 60000, "max_attempts": 2, "effect_policy": { "policy": "side_effect_free" }, "command": "npm test" }, { "id": "a1", "kind": "agent", "title": "...", "timeout_ms": 300000, "max_attempts": 1, "effect_policy": { "policy": "side_effect_free" }, "instructions": "..." }, { "id": "gate", "kind": "human-approval", "title": "...", "prompt": "Proceed?" } ], "edges": [ { "id": "e1", "kind": "fixed", "from": "n1", "to": "a1" } ], "entry_node_ids": ["n1"], "concurrency_limit": 2, "terminal_verification_node_id": "a1" }
Edge kinds: fixed | conditional | fan_out/join pairs | back_edge (bounded retries via max_traversals). See src/graph/schema.ts for the authoritative Zod schema — and read the Capability Boundary section above for what built-in executors actually execute today.
fixed edges and
fan_out/join pairs. conditional and back_edge routes are fully
supported by the runtime and scheduler contracts but require a custom
NodeExecutor that emits route on its results — built-in executors never
produce routes, so graphs relying on them fail fast with
route_required rather than guessing.idempotent commands, the resolved key is available to the
command as GRAPH_IDEMPOTENCY_KEY before it starts and is also recorded for
downstream dedupe. Built-in executors reject reconcile; reconciliation
requires a custom executor with an actual external reconciliation authority.
Exactly-once for external side effects is out of scope for v1.GRAPH_*, and the optional idempotency key), not the host's full secrets.
Commands are not filesystem/process sandboxed.Read, Glob, and Grep, permissionMode: dontAsk, session
persistence disabled, and a provider-specific environment allowlist. Agent
timeouts abort and interrupt the SDK query. Use a custom executor for any
agent that needs mutation or external effects. Treat
.omc/graph-runs/<run_id>/descriptor.json as executable content.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeachan-heo/oh-my-claudecode --plugin oh-my-claudecode85 skills in this plugin
/agent-doc-disciplineWriting-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before reference, one meaning in one home, no restating what the environment already says. Mandatory at drydock seed generation and the launch C5 sediment pass; opt-in for any other agent-facing doc edit. The companion of minimal-code-discipline: that one disciplines code, this one disciplines papers./ai-slop-cleanerClean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode/architectSettle types and module shape before cross-boundary code — competing designs explored in parallel, compared on API surface and invariants, decision recorded with rejected alternatives and an accepted-deviations register./architecture-surveyPeriodic architecture survey — walks the module graph and reports ranked deepening candidates (shallow modules, hypothetical seams, logic behind the wrong seam). Survey, not rescue: it finds candidates and hands them to the captain; it never refactors on its own./arenaRun N parallel candidates at one brief and synthesize: rubric-first framing, isolated fan-out, a cross-judge on a different model, criterion-by-criterion pick, hand grafting. When one attempt would lock in the wrong shape./askProcess-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, Cursor, or Muse via `omc ask`, with artifact capture and no raw CLI assembly3 plugins ship this exact skill · first indexed Aug 28, 2026
Other plugins' skills for the same job