multi-cli-spawn

A command-line tool for sending one coding brief to several different AI coding programs at the same time. Each program works as a separate seat and produces its own result.

In plain words
What is it for?
It is for cross-provider code reviews, parallel second opinions, and multi-agent discussions using tools such as Claude, Codex, Grok, Kimi, Qwen, and agy.
Why use it?
It removes the need to repeat the same request manually across coding tools when you want independent opinions or reviews.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/iml1s/agent-cli-skills/multi-cli-spawn
Any agent
npx skills add ImL1s/agent-cli-skills --skill multi-cli-spawn
Clone the repo
git clone --depth 1 https://github.com/ImL1s/agent-cli-skills

Made for: Claude Code, Codex.

Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00110 $0.01075
Opus 5 $0.00055 $0.00537
Sonnet 5 $0.00022 $0.00215
Haiku 4.5 $0.00011 $0.00108

Measured 2d ago against content hash 04a736dd4064, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

multi-cli-spawn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (lib/common.sh, lib/parse_stream_json.py, lib/pty_run.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/multi-cli-spawn/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Multi-CLI Spawn (cross-provider parallel seats)

When to use

  • Need several providers to answer the same brief in parallel
  • Multi-LLM council / second opinions / cross-vendor review
  • You already have (or will install) the per-CLI *-cli-agent wrappers

This is not a substitute for vendor-native multi-agent inside one CLI (-T / ultracode / teamwork). Use those for fan-out within one provider; use this skill to fan-out across providers.

Why

Each vendor has native multi-agent inside one CLI (agy teamwork, Claude ultracode, Codex subagents, Grok spawn_subagent, …). This skill is the cross-CLI layer: one brief → N providers → N answer files.

Usage

./spawn.sh --outdir /tmp/council-$$ \
  -f /tmp/brief.md \
  --seat agy:readonly \
  --seat claude:ultracode \
  --seat codex:team \
  --seat grok \
  --seat kimi:readonly \
  --seat qwen:readonly \
  -C /path/to/repo \
  -t 1200s

Seat forms: name, name:readonly, name:ultracode|team, name:readonly,team, name@label (unique output key when duplicating a CLI).

Seat modifiers (comma-separated after :): readonly/r, team/ultracode/T.

Outputs

File Meaning
<key>.log Live CLI stdout/stderr
<key>.md Final answer, or BLOCKED:… stub (written when the seat finishes)
<key>.pid Seat process-group id (kill target)
<key>.rc Seat exit code
<key>.status RUNNINGDONE rc=0 | BLOCKED rc=N (atomic)
spawn.pid / spawn.status Parent: RUNNINGDONE, or SPAWNED if --no-wait
brief.md Copied/normalized brief inside outdir

Waiting contract

  1. Default: do not poll. Run spawn.sh in the foreground (wait mode). Its exit code and CLI_AGENT_RESULT: PASS|BLOCKED <seat> lines are the completion signal.
  2. --no-wait / external watcher: wait until every seat .status is terminal (DONE / BLOCKED), e.g.:
    while grep -qlE '^RUNNING' "$OUTDIR"/*.status 2>/dev/null; do sleep 15; done
    
    Do not treat missing *.md or a dead *.pid alone as "no answer" — .md appears only when the seat finishes; pidfiles can look dead if the parent spawn was killed while seats continue.
  3. Kill only via numeric PIDs in seat *.pid files (process groups). Skip spawn.pid when iterating kill targets unless you intend to stop the parent. Never pkill -f long patterns.

Read the full file on GitHub · 90 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 90 lines · 110 tokens per session scan A 04a736dd4064

Subscribe to this mod's changes

multi-cli-spawn is a skill published in the GitHub repository ImL1s/agent-cli-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,075 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

sickn33/agentic-awesome-skills · 24 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

team-communication-protocols

Structured messaging protocols for agent team communication including message type selection, plan approval, shutdown procedures, and anti-patterns to avoid. Use this skill when establishing communication norms for a newly spawned team, when deciding whether to send a direct message or a broadcast, when a team-lead…

wshobson/agents · 101 tokens

task-coordination-strategies

Decompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when breaking down work for agent teams, managing task dependencies, or monitoring team progress.

wshobson/agents · 49 tokens

team-composition-patterns

Design optimal agent team compositions with sizing heuristics, preset configurations, and agent type selection. Use this skill when deciding how many agents to spawn for a task, when choosing between a review team versus a feature team versus a debug team, when selecting the correct subagenttype for each role to…

wshobson/agents · 114 tokens

observal-admin

Administers Observal users, settings, diagnostics, review queues, security events, audit logs, SAML, SCIM, local server services, upgrades, rollback, and database migrations. Use when the user needs privileged governance, submission decisions, identity configuration, security investigation, or server operations.

Observal/Observal · 64 tokens