Skip to content
Back to skills

Ao

ASecurity

Composio AO — spawn parallel agents with worktree isolation

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsgobashgit

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 1, 2026

npx -y skills add KevinZai/commander --skill ao --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ao?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ao
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kevinzai-ao/badge)](https://www.skillsdirectory.com/skills/kevinzai-ao)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ao
description: "Composio AO — spawn parallel agents with worktree isolation"
triggers: ["ao", "composio ao", "agent orchestrator", "worktree agents", "parallel worktree", "/ao"]
tags: [multi-agent, orchestration, worktree, composio, parallel]
---

# /ao — Composio Agent Orchestrator

Wraps the `ao` CLI (`@composio/ao`). Spawns parallel agents across projects with git worktree isolation.

## When activated:

Check if `ao` CLI is available:

```bash
which ao
```

If not found, display:

```
ao CLI not installed.
Run: npm i -g @composio/ao
Then re-invoke /ao once installed.
```

If found, check the version:

```bash
ao --version
```

Then present via AskUserQuestion:

| Option | What it does |
|--------|-------------|
| Spawn agents on current project (Recommended) | Ask: how many, what tasks, model selection |
| Spawn from config file | Read agent-orchestrator.yaml, show configured projects |
| Check running agents | Run `ao status` — show active sessions |
| Stop agents | Run `ao stop` — kill running sessions |
| Something else | Free text |

## Spawn Flow

When user picks "Spawn agents on current project":

1. Ask number of agents via AskUserQuestion:
   - 2 agents
   - 3 agents
   - 5 agents
   - Custom number

2. Ask model via AskUserQuestion:
   - Claude (Recommended)
   - Codex
   - Aider
   - OpenCode

3. Ask task assignment strategy via AskUserQuestion:
   - One shared task (agents collaborate on the same goal)
   - One task per agent (assign a separate task to each agent)
   - Auto-split from description (describe overall goal, split automatically)

4. Collect task(s) — one per agent if individual, or one overall goal if auto-split.

5. Run the spawn command:
   ```bash
   ao spawn --agents [n] --model [model] --task "[task]" --worktree
   ```

6. Show spawned summary:
   ```
   ao spawn complete
   Agents: [n] | Model: [model] | Worktree: isolated
   Task(s):
     Agent 1: [task]
     Agent 2: [task]
     ...
   ```

## Spawn from Config File

When user picks "Spawn from config file":

1. Check for config:
   ```bash
   ls agent-orchestrator.yaml 2>/dev/null || ls .ao/config.yaml 2>/dev/null
   ```

2. If found, read and display the configured projects and agents.

3. Ask which project/config to run via AskUserQuestion.

4. Run:
   ```bash
   ao spawn --config [config_file]
   ```

## Check Running Agents

```bash
ao status
```

Display the output formatted as a table. If no agents running: "No active ao sessions."

## Stop Agents

```bash
ao stop
```

Confirm first: "This will kill all running ao sessions. Proceed?"

If user confirms, run the command and report result.

## After every action, suggest next steps via AskUserQuestion:

| Option | Description |
|--------|-------------|
| Check agent status | Run `ao status` to see progress |
| Spawn more agents | Add agents to the current run |
| View worktrees | `git worktree list` to see isolation state |
| Merge a worktree | Bring completed agent work back to main branch |
| Stop all agents | `ao stop` |
| Back to main menu | Return to /cc or top-level menu |
| Something else | Free text |

## Worktree Merge Helper

When user picks "Merge a worktree":

1. List worktrees:
   ```bash
   git worktree list
   ```

2. Ask which worktree to merge via AskUserQuestion.

3. Show the diff summary:
   ```bash
   git diff main...[worktree_branch] --stat
   ```

4. Ask: "Merge via PR or direct merge?"
   - Create PR → run `gh pr create` with relevant context
   - Direct merge → confirm then `git merge [branch]`

5. After merge, offer to prune the worktree:
   ```bash
   git worktree remove [path]
   ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.