Skip to content
Agent Orchestration
Skill

/play

Run 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.

From plugin
lionagi
41312 skills2 agents1 MCP

Claude Code

$ npx -y skills add ohdearquant/lionagi --skill play --agent claude-code

SKILL.md

play.SKILL.md
name: play
description: >
  Run 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.
allowed-tools: [Bash, Read, Write, Glob, Grep]

Running a Saved Playbook

Use `play.submit` for a playbook that is already installed on the MCP server's machine. Use the `playbook` skill instead when the file itself needs authoring or editing.

Required call sequence

1. Ask for the catalog in its own call and confirm `play.submit` is available:

   mcp__plugin_orchestrate_lion__request(help=true)

2. Ask for the schema with the exact playbook name. A playbook's declared arguments change the schema, so the catalog marks this fingerprint as varying by `playbook`:

   mcp__plugin_orchestrate_lion__request(help={"verb": "play.submit", "playbook": "minimal"})

3. Copy that reply's `schema_fingerprint` into the op as a sibling of `args`:

   mcp__plugin_orchestrate_lion__request(ops=[
     {"op": "play.submit",
      "args": {"playbook": "minimal", "prompt": "Explain monads with one example."},
      "schema_fingerprint": "<fingerprint from the qualified help call>"}
   ])

Never put `schema_fingerprint` inside `args`. It is not read there, so the server refuses the op as stale. Do not combine `help` and `ops` in one call; the server refuses that shape too.

Worked example

This example uses a saved playbook at `~/.lionagi/playbooks/minimal.playbook.yaml`. If it is not already present, create it first:

name: minimal
model: claude
prompt: |
  Explain the supplied topic in plain language, with one concrete example.

Run the qualified help and submit calls above, then read the returned `run_id`:

mcp__plugin_orchestrate_lion__request(ops=[
  {"op": "job.status", "args": {"run_id": "<run_id>"}}
])

Repeat `job.status` until the run is terminal, then retrieve its console tail and artifact list:

mcp__plugin_orchestrate_lion__request(ops=[
  {"op": "job.output", "args": {"run_id": "<run_id>"}}
])

The submit response is only a run id, not the playbook's result. `job.list` finds recent runs; `job.kill` stops one by `run_id`.

Arguments and planning

  • Read the qualified help schema for every custom playbook argument. Pass each declared

argument directly inside the op's `args`; do not invent another nesting layer.

  • Set `dry_run: true` inside `args` to plan without executing workers. The dry run is still a

background job, so inspect it through `job.status` and `job.output`.

  • If calling `flow.submit` with a `playbook` instead, use the same qualified-help rule with

`{"verb": "flow.submit", "playbook": "<same name>"}`.

  • Multiple ops run in order, but one op returning `ok=false` does not stop its siblings. Check

every op's `ok` field instead of trusting the top-level response alone.

Checkout-local alternative

Inside a lionagi checkout with `li` on `PATH`:

li play minimal "Explain monads with one example."

Use `li play minimal --help` to see the playbook's declared flags.

Read more
@ohdearquant
Ships withlionagi

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

41312 skills2 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
413
Star history of ohdearquant/lionagi on GitHub, a chart by star-history.com

Other skills on lionagi.

debug

debug

Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling,…

@ohdearquant@ohdearquantInstall Skill
fanout

fanout

Fan one task out to multiple independent lionagi workers through `fanout.submit`, optionally synthesizing their answers. Use when…

@ohdearquant@ohdearquantInstall Skill
flow

flow

Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when…

@ohdearquant@ohdearquantInstall Skill
orchestrate

orchestrate

Plan and execute multi-agent workflows through lionagi's orchestration MCP tool: flow.submit (DAG pipelines), fanout.submit…

@ohdearquant@ohdearquantInstall Skill
playbook

playbook

Author lionagi playbooks — reusable YAML workflow templates that define parametric agent tasks. Playbooks live at…

@ohdearquant@ohdearquantInstall Skill
pr-review

pr-review

Multi-perspective PR review procedure. Plan a minimal DAG of specialists scoped to what the PR actually touches, synthesize with…

@ohdearquant@ohdearquantInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about play.

Which coding agents can use play?
play installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.