/growth-graphs:growth-graphsfrom Growth Graphs
Run a product-growth decision (research, evidence gathering, experiment design, review gates) as an explicit, resumable agent graph with parallel fan-out and human-in-the-loop checkpoints. Use this skill whenever the user wants to start a multi-step agent workflow with branching or parallel work, needs a decision to pause for human approval and resume later, wants to validate or diagram a graph topology, or asks to check on / resume / list running graph runs. Trigger on "run this as a graph", "start a growth-graphs run", "check the status of my run", "resume the graph", "validate this topology", "show me the graph diagram", or "what backends are available".
Ships in Growth Graphs. 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.
Growth Graphs models a multi-step agent workflow as a directed graph:
agent nodes call a backend (mock, a real model API, or a coding-agent
CLI), human nodes pause the run and wait for an answer, and set nodes
do plain state bookkeeping with no backend call at all. Nodes connect with
direct edges, conditional edges (a Python predicate or a router function),
and all-source joins for fan-out/fan-in. Every run is durable: an
interrupted run's pause point is checkpointed to disk and safe to resume
after a restart.
Use the MCP tools described in references/mcp-tools.md to start, monitor,
and resume runs. Use the JSON topology schema in references/graph-spec.md
to design or hand-edit a graph's structure.
topology entirely -- graph_start falls back to the
built-in default (a two-way fan-out into a review/revise loop). If you
have a topology JSON, validate it first with graph_validate: it raises
on any structural problem (missing nodes, dangling edges, bad enum
values) before a run is ever started, and returns non-blocking
diagnostics.warnings for graphs that are legal but probably
misconfigured (see "Reading diagnostics" below).graph_start(goal, success_criteria, topology, backend, cwd, ...). This returns immediately with a run_id and a
Mermaid diagram of what will actually execute -- it does not wait for
the graph to finish. If you're driving a coding-agent CLI backend
(claude_code, codex, opencode, aider, grok_build) against a
real cwd, the run auto-serializes (parallel: false in the response)
unless you explicitly pass parallel: true, because two CLI processes
editing the same checkout can clobber each other's changes.graph_status(run_id) until running is false. Use
graph_tail(run_id, cursor) if you want to stream intermediate events
(node starts/finishes/failures) rather than just the current phase --
pass the cursor you got back each time to avoid re-reading events.status:
"interrupted" -- read interrupts (each has a prompt and context
data), get the missing answer, and call
graph_resume(run_id, answers) with a dict keyed by the answer key
the interrupting node is waiting on (for a human-kind node, that's
its answer_key, defaulting to "{node_id}_answer"). Go back to step
3."completed" -- call graph_result(run_id) and read the final state.
Verify the actual deliverable yourself; a "completed" status means
the graph reached its end, not that the output is necessarily correct."failed" -- read error and the tail of events before deciding
whether to fix the topology, the input, or retry."dead_end" -- the topology stopped without reaching __end__ (e.g. a
conditional route returned None with no fallback). This is a
topology design bug, not a transient failure -- fix the routing."orphaned" -- the process that was running it died mid-step. Nothing
to resume; start a fresh run.graph_list if you've lost track of a
run_id; it returns status records, most-recent-first.agent node's output_key (its default is the node's own id)
should be genuinely reachable by anything downstream that depends on it
-- reference it with $key or ${key} in the consuming node's prompt
or system. If you declare A -> B purely to control ordering but B
never reads what A produced, graph_validate will flag it as a
possible fake edge (see below); either wire the reference in or drop the
edge and let the two nodes run in parallel."from": ["a", "b"]) when a node genuinely needs all of
several upstream results before it can run. Don't use a join just to
force two independent nodes to run one after another -- use a plain edge
with when, or just don't connect them and let them fan out.on_error target instead of
letting one bad node take down the whole run, unless a hard stop really
is the right behavior for that failure.max_steps deliberately on any topology with a cycle (a review/revise
loop, a retry loop). The default is 100; a tight loop with no bound is a
bug waiting to happen.human nodes idempotent by construction: they already are, by
design (a human node checks whether its answer_key is present in
state and only asks again if it's still missing), but avoid re-deriving
the question from mutable state in a way that would ask something
different on the second pass.graph_validate and graph_start return diagnostics.warnings, a list of
plain-English strings in this order: unreachable nodes (never reachable
from __start__), stranded nodes (reachable but can never reach
__end__), and possible fake edges ("possible fake edge(s) (ordering only, no evidence passed): source->target"). None of these block a run --
they are advisory. See references/graph-spec.md for the exact detection
rules (including when a fake-edge pair is deliberately exempt, such as a
join or a merge: true source).
graph_start's backend parameter accepts "auto" (default) or any of
mock, claude, grok_api, claude_code, codex, opencode, aider,
grok_build. "auto" picks a coding-agent CLI family based on the
caller_agent hint or the calling environment, falling back to
claude_code. Use mock for dry runs and demos -- it needs no network
access, no credentials, and no installed executable. Run the doctor tool
(or agentgraph doctor on the CLI) to see which backends are actually
available in the current environment before picking one.
references/graph-spec.md -- the full JSON topology schema: node kinds,
edge shapes, the condition grammar, reducers, and the fake-edge
diagnostic's exact detection rules.references/mcp-tools.md -- every MCP tool's parameters and return
shape, plus the status-handling contract summarized in step 4 above.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub riyaparikh0112/growth-graphs --plugin growth-graphs