mco-cli

star 370

Use `mco` to orchestrate multi-provider agent execution (`run`/`review`), choose result mode (`artifact`/`stdout`/`both`), and return user-readable output by default.

mco-org By mco-org schedule Updated 2/26/2026

name: mco-cli description: Use mco to orchestrate multi-provider agent execution (run/review), choose result mode (artifact/stdout/both), and return user-readable output by default.

MCO CLI Skill

When to use

Use this skill when you need to:

  • Run one or more coding agents in parallel from a single CLI entrypoint.
  • Execute repository review tasks with severity-based decisions.
  • Return user-readable result summaries (default non-JSON output).
  • Produce machine-readable JSON for upstream automation.

Core commands

1) General execution

./mco run \
  --repo . \
  --prompt "<task>" \
  --providers claude,codex,qwen \
  --result-mode stdout

Use for generic agent tasks. This mode does not require findings schema.

2) Review execution

./mco review \
  --repo . \
  --prompt "<review task>" \
  --providers claude,qwen \
  --result-mode stdout

Use for bug/security/test-gap style review scenarios.

3) Strict gate review (CI style)

./mco review \
  --repo . \
  --prompt "<review task>" \
  --providers claude,codex \
  --strict-contract \
  --result-mode artifact \
  --json

Use when machine-enforced findings contract is required.

Result mode policy

  • artifact:
    • Writes user-facing artifact files (summary.md, decision.md, findings.json, run.json).
    • Best for CI/audit.
  • stdout:
    • Returns results directly to caller output.
    • Best for chat/agent UX rendering.
  • both:
    • Writes artifacts and returns detailed stdout payload.

Output policy for user-facing responses

When returning to end users:

  1. Prefer non-JSON stdout output from mco for readability.
  2. If JSON is required by caller, parse and reformat into:
    • Execution Summary
    • Provider Details
    • Risk/Findings Summary
    • Next Actions
  3. Never dump raw event streams unless user explicitly asks for raw logs.

Recommended defaults

  • --result-mode stdout for interactive agents.
  • --result-mode artifact --json for CI pipelines.
  • --strict-contract only for gate workflows.
  • Narrow scope with --target-paths for faster review.

Timeout and stability tips

  • Use provider-specific stall timeout when one provider is slow:
    • --provider-timeouts qwen=900,codex=300
  • Set review hard deadline for CI predictability:
    • --review-hard-timeout 1800
  • Use unique --idempotency-key for each new execution intent.

Failure handling

If a provider fails:

  1. Report per-provider success/final_error/parse_reason.
  2. Distinguish transport/auth errors from parse/contract issues.
  3. Continue with successful providers (wait-all behavior).

Minimal response template (to user)

Use this structure in final answers:

  1. Execution overview (decision, terminal_state, success/failure count)
  2. Provider-by-provider status
  3. Key findings grouped by severity
  4. Actionable next steps
Install via CLI
npx skills add https://github.com/mco-org/mco --skill mco-cli
Repository Details
star Stars 370
call_split Forks 32
navigation Branch main
article Path SKILL.md
More from Creator