/orchestrate:orchestratefrom orchestrate
Plans and executes multi-agent workflows via lionagi's orchestration MCP tool: flow.submit (DAG pipelines), fanout.submit (parallel workers), agent.submit (single agent), and play.submit (saved playbooks). Use when a task needs multiple agents working in parallel or staged phases.
Ships in orchestrate. 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.
Plan and execute multi-agent workflows through lionagi's orchestration MCP server. The
plugin ships one MCP tool, mcp__plugin_orchestrate_lion__request, which dispatches
namespaced verbs behind a single ops array — not a CLI, not one tool per verb.
mcp__plugin_orchestrate_lion__request(help=true)
Call this once, in its own call (never combined with ops), before writing any spawn call.
It returns the verb catalog, each verb's required parameters, and either its
schema_fingerprint or a marker that the fingerprint varies by playbook (see
reference.md). Never guess a parameter name — this call and targeted help are the source
of truth.
| Situation | Verb |
|---|---|
| Single task, one agent | agent.submit |
| Same prompt to N independent workers | fanout.submit |
| Staged pipeline with dependencies | flow.submit |
| Pre-saved parametric workflow | play.submit |
| Check on a run already submitted | job.status, job.wait, job.output |
If all subtasks are independent (no output feeds another), use fanout.submit.
If any subtask depends on the output of another, use flow.submit.
play.submit loads a saved prompt and defaults, then uses the same planner and executor as
flow.submit.
Every *.submit call spawns a detached background run and returns a run id right
away — there is no blocking call that returns a finished answer. Read the result back with
job.status, job.wait, or job.output.
# Catalog + fingerprints, once per session
mcp__plugin_orchestrate_lion__request(help=true)
# Single agent
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "agent.submit", "args": {"query": ["claude"], "prompt": "Write unit tests for auth.py"},
"schema_fingerprint": "<from help>"}
])
# Fan out 4 parallel workers + synthesize
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "fanout.submit",
"args": {"query": ["claude"], "prompt": "Review this codebase for security issues", "num_workers": 4, "with_synthesis": true},
"schema_fingerprint": "<from help>"}
])
# DAG flow — dry-run first, then commit
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "flow.submit",
"args": {"query": ["claude"], "prompt": "Audit auth, implement fixes, verify with tests", "dry_run": true},
"schema_fingerprint": "<from help>"}
])
# ... inspect the plan, then resend without dry_run ...
# Run a saved playbook
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "play.submit", "args": {"playbook": "feature", "prompt": "Add JWT middleware"},
"schema_fingerprint": "<from help={'verb': 'play.submit', 'playbook': 'feature'}>"}
])
# Check a run
mcp__plugin_orchestrate_lion__request(ops=[
{"op": "job.wait", "args": {"run_ids": ["<run-id>"], "max_wait": 60}}
])
help=true in its own call, before writing a spawn call — never combine help and
ops in one call; the server refuses it.schema_fingerprint rides as a sibling of args, never inside it — every
*.submit verb requires it, fetched from help.profile.list before passing agent,
or pass a model through the verb's positional query argument where supported.TaskAssignment, not
a special control node. Put it after every output it reviews.../ paths.depends_on only for real data dependencies — independent assignments leave it
empty and run concurrently.max_ops is shared by the initial plan and follow-up spawns;
a plan that fills it leaves no room for reactive work.dry_run is a text preview — it does not build a run graph. show_graph writes a graph
artifact only after an executing flow finishes.reference.md documents the verbs
these skills call, which is a subset of what the server offers; and the shipped server
resolves the latest lionagi release, so a verb you found by reading a checkout may not
be there yet. help=true settles both questions.For detailed documentation, read these companion files in this skill directory:
schema_fingerprint protocol, and the secondary li CLI flag tablesTaskAssignment data model, dependency planning, branch and artifact handoff, reactive budgetsFor someone working inside a lionagi checkout — informational, not part of the MCP surface:
| Component | Path |
|---|---|
| MCP server + verb catalog | lionhub/src/lionhub/serve/mcp/server.py, lionhub/src/lionhub/serve/mcp/verbs.py, lionhub/src/lionhub/serve/mcp/dispatch.py |
| CLI entrypoint | lionagi/cli/main.py |
Flow engine (TaskAssignment DAG) | lionagi/cli/orchestrate/flow.py |
| Fanout engine | lionagi/cli/orchestrate/fanout.py |
| Argparse definitions | lionagi/cli/orchestrate/__init__.py |
| Agent CLI | lionagi/cli/agent.py |
| Teams | lionagi/cli/team.py |
| Invocations | lionagi/cli/invoke.py |
| Scheduler engine | lionhub/src/lionhub/orchestration/scheduler/engine.py |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ohdearquant/lionagi --plugin orchestrate12 skills in this plugin
/debugSystematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling, tempted to "try random things", or errors don't match documentation.
/fanoutFan one task out to multiple independent lionagi workers through `fanout.submit`, optionally synthesizing their answers. Use when several parallel perspectives can work without dependency handoffs.
/flowPlan 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.
/playRun an existing lionagi playbook through the orchestration MCP server and retrieve its background result. Use when a saved `.playbook.yaml` workflow should be executed with concrete input or declared arguments.
/playbookAuthor lionagi playbooks — reusable YAML workflow templates that define parametric agent tasks. Playbooks live at ~/.lionagi/playbooks/ and run via the `play.submit` MCP verb (or `li play <name>` from a lionagi checkout). Use when: creating reusable workflows, parameterizing agent tasks, or setting up repeatable pipelines.
/pr-reviewMulti-perspective PR review procedure. Plan a minimal DAG of specialists scoped to what the PR actually touches, synthesize with a critic, post ONE consolidated comment per verbosity tier. Pull before any structured PR review so the methodology stays consistent.
Other plugins' skills for the same job