Skip to content
Development
Skill

/mco-cli

Use `mco` to run explicit multi-provider Agent invocations, stream raw answers, persist file-backed artifacts, and coordinate read-only chain/debate/synthesis stages.

From plugin
mco
5431 skill

Claude Code

$ npx -y skills add mco-org/mco --skill mco-cli --agent claude-code

SKILL.md

mco-cli.SKILL.md
name: mco-cli
description: Use `mco` to run explicit multi-provider Agent invocations, stream raw answers, persist file-backed artifacts, and coordinate read-only chain/debate/synthesis stages.

MCO CLI Skill

Use this Skill when an upstream Agent needs to dispatch one task to one or more coding Agents and preserve their raw operational answers.

Before execution

Confirm the provider/model team with the user in natural language. Do not infer consent from installed binaries. Use either:

  • `--agent [alias=]provider:model` once per invocation; or
  • `--providers provider,...` for one default-model invocation per provider.

`--agent` is the model-qualified form. It supports repeated models from one provider when each repeated invocation has a distinct alias:

mco run --repo . --prompt "Inspect the parser." \
  --agent fast=pi:fast-model \
  --agent careful=pi:careful-model \
  --result-mode stdout

`--providers pi,codex` is an invocation-native shorthand. MCO resolves each provider's configured/default model and runs the resulting invocations through the same runtime; it is not a legacy execution path.

If MCO returns `provider_selection_required`, ask the user which Agents to use and retry with an explicit `--providers` or `--agent` selection.

Execution defaults

  • `mco run` defaults to `--execution-mode write`.
  • `mco review` is a thin read-only preset and defaults to `--execution-mode read_only`.
  • Review passes the explicit prompt unchanged. With no prompt, it uses a short natural-language review prompt; it does not inject a findings schema.
  • Use `--execution-mode yolo` only after the user explicitly requests unrestricted execution.

Output and status

MCO returns raw Agent answer text plus operational metadata. It does not infer findings, severity, confidence, consensus, or decisions from answer prose.

  • Default text mode streams answer deltas to stdout. With multiple invocations it adds source labels between answers but does not rewrite answer content.
  • `--json` prints one final JSON envelope.
  • `--stream jsonl` prints JSONL events; each invocation's `output_delta` values concatenate to its formal answer.
  • Progress, warnings, and provider diagnostics go to stderr. stdout remains answer text or the selected machine protocol.
  • `status` is `complete`, `partial`, or `failed`; exit codes are `0`, `1`, and `2` respectively. A cancelled or timed-out invocation is recorded inside the corresponding task status.

For example, if `fast` succeeds and `slow` times out, the final envelope is `status: partial`, `exit_code: 1`, and still contains `fast`'s complete answer plus `slow`'s explicit timeout record.

Use `--result-mode stdout|artifact|both`. Temporary runs clean up their task directory and return `artifact_root: null`. Persistent modes write deterministic artifacts:

<artifact-base>/<task-id>/
  result.md
  run.json
  stages/<stage>/invocations/<invocation-id>.md
  stages/<stage>/context/manifest.json   # chain/debate/synthesis inputs
  stages/<stage>/result.md               # staged result
  stages/<stage>/run.json                 # staged operational record

`--save-artifacts` is shorthand for upgrading the default stdout mode to `both`. Answer Markdown preserves the Agent's answer body as returned by the transport decoder. Root `result.md` groups actual stages, places the synthesis group first when present, and retains all raw answers and explicit failures.

Multi-stage workflows

  • `--chain` runs invocations sequentially. Each next Agent receives a manifest and paths to the complete prior Markdown answer; MCO does not summarize, sample, truncate, or paste the previous answer into the prompt.
  • `--debate` adds a read-only stage over the prior raw answer files.
  • `--synthesize` adds a read-only stage using `--synth-provider` when specified, otherwise the first selected invocation. Its manifest keeps run and (when present) debate records, including failed or missing invocations, but never reads synthesis output itself.
  • Debate and synthesis prompts mark earlier files as untrusted reference material. If a prior stage partially fails, later stages continue when a valid answer exists, including a run answer after debate failed; otherwise the dependent stage records an explicit failure.
  • `--perspectives-json` prepends a named Provider prompt focus. `--divide files` excludes ignored/local/build directories and round-robins the remaining sorted repository files without overlap; `--divide dimensions` rotates fixed review lenses in invocation declaration order without changing target paths. Dry-run shows the full resolved prompts and target paths. These are coordination only: they do not parse, rank, or rewrite invocation answers. `--divide` is mutually exclusive with `--chain` and `--debate`.

Parallel writing safety

Parallel writing is an explicit user choice. MCO does not create or manage worktrees and does not silently prohibit multiple write invocations.

Before dispatching parallel writers, ask the upstream Agent to partition ownership into non-overlapping `--target-paths` and state the edit-conflict risk. Use distinct aliases and task IDs, and warn the user if two writers may touch the same file. Prefer a read-only comparison before choosing one implementation when ownership cannot be partitioned safely.

Progressive references

  • [Installation and Skill sync](references/installation.md)
  • [Provider selection](references/provider-selection.md)
  • [Execution modes](references/execution-modes.md)
  • [Multi-model and write ownership](references/multi-model.md)
  • [Troubleshooting and recovery](references/troubleshooting.md)

Breaking migration

The findings command, findings schema, semantic decision/consensus pipeline, Markdown-PR and SARIF renderers, content-based `INCONCLUSIVE`, and findings-driven memory surfaces were removed. Old flags such as `--format`, `--strict-contract`, `--memory`, `--space`, and diff-only review flags ret

Read more
@mco-org
Ships withmco

CLI-first orchestration for AI coding agents: run selected agents and models in parallel, compare raw answers, and coordinate review or implementation workflows.

Stars on GitHub

Momentum

stars in total
543
Star history of mco-org/mco on GitHub, a chart by star-history.com

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about mco-cli.

Which coding agents can use mco-cli?
mco-cli 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.