debug
Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling,…
Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when work has stages, dependencies, parallel branches, or a final synthesis step.
$ npx -y skills add ohdearquant/lionagi --skill flow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/flowContext preview
The summary Claude sees to decide when to auto-load this skill.
Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when work has stages, dependencies, parallel branches, or a final synthesis step.
name: flow description: > Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when work has stages, dependencies, parallel branches, or a final synthesis step. allowed-tools: [Bash, Read, Write, Glob, Grep]
Use `flow.submit` when tasks have dependency edges or workers should be able to discover follow-up work during execution. Use `fanout` for a fixed set of independent perspectives.
Ask for the catalog first, in its own call, and confirm `flow.submit` is available:
mcp__plugin_orchestrate_lion__request(help=true)
For a prompt-driven flow with no playbook, fetch the exact schema and fingerprint:
mcp__plugin_orchestrate_lion__request(help="flow.submit")
If `args` names a `playbook`, instead ask with the exact same spelling because the schema and fingerprint vary by playbook:
mcp__plugin_orchestrate_lion__request(help={"verb": "flow.submit", "playbook": "feature"})Never combine `help` and `ops`. Put `schema_fingerprint` beside `args`, not inside it.
First plan only. The prompt limits the initial DAG to four assignments while `max_ops: 6` reserves capacity for up to two reactive follow-ups:
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "flow.submit",
"args": {
"query": ["claude"],
"prompt": "Create at most four initial assignments to analyze an API migration, propose a plan, and independently verify it. Preserve remaining capacity for follow-up work discovered by the workers.",
"max_ops": 6,
"reactive": "all",
"with_synthesis": true,
"dry_run": true
},
"schema_fingerprint": "<fingerprint from help=\"flow.submit\">"}
])The dry run is a background job. Read its returned `run_id` with `job.status` and `job.output`. Confirm the planned assignment count leaves headroom, then resubmit the same op without `dry_run`:
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "flow.submit",
"args": {
"query": ["claude"],
"prompt": "Create at most four initial assignments to analyze an API migration, propose a plan, and independently verify it. Preserve remaining capacity for follow-up work discovered by the workers.",
"max_ops": 6,
"reactive": "all",
"with_synthesis": true
},
"schema_fingerprint": "<fingerprint from help=\"flow.submit\">"}
])The second response returns a new `run_id`, not the final answer. Poll it and retrieve output:
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "job.status", "args": {"run_id": "<run_id>"}}
])mcp__plugin_orchestrate_lion__request(ops=[
{"op": "job.output", "args": {"run_id": "<run_id>"}}
])`job.list` finds recent runs, and `job.kill` stops one by `run_id`.
For a nonzero `max_ops`, reactive spawn capacity is `max_ops - initial assignment count`. The planner and reactive spawns share that one budget; there is no separate reservation parameter. If the dry-run plan already contains `max_ops` assignments, follow-ups have zero capacity. Tighten the requested initial plan or raise `max_ops` before execution.
With `max_ops: 0`, the CLI leaves the initial plan uncapped and applies its separate default reactive-spawn ceiling. Prefer an explicit total when cost needs to be predictable.
Multiple outer MCP ops run in order, but a failure returns `ok=false` without stopping its siblings. Check every op's `ok` field.
Inside a lionagi checkout with `li` on `PATH`:
li o flow claude "Create at most four initial assignments to analyze an API migration." \ --max-ops 6 --reactive all --with-synthesis --dry-run
lionagi is a governed multi-agent orchestration framework. Build agent workflows in Python with typed, inspectable state, or run them straight from the terminal with the li CLI: single agents, parallel fan-outs, and DAG flows where an orchestrator plans
Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling,…
Fan one task out to multiple independent lionagi workers through `fanout.submit`, optionally synthesizing their answers. Use when…
Plan and execute multi-agent workflows through lionagi's orchestration MCP tool: flow.submit (DAG pipelines), fanout.submit…
Run an existing lionagi playbook through the orchestration MCP server and retrieve its background result. Use when a saved…
Author lionagi playbooks — reusable YAML workflow templates that define parametric agent tasks. Playbooks live at…
Multi-perspective PR review procedure. Plan a minimal DAG of specialists scoped to what the PR actually touches, synthesize with…