Skip to content
Back to skills

Batch

ASecurity

> Execute multi-agent tasks using intelligent batching for token efficiency.

  • 229 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 6, 2026
ai-agentsgobashreactapidatabasefrontendbackendsecurityperformance

Works with

  • api

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill batch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Batch?

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

Security grade badge for Batch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-batch/badge)](https://www.skillsdirectory.com/skills/miosa-osa-batch)

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
# /batch

> Execute multi-agent tasks using intelligent batching for token efficiency.

## Usage
```
/batch "<task>" [--max-agents <n>] [--batch-size <n>]
```

## What It Does
Analyzes task complexity, identifies required agents, groups them into optimal batches, and executes batches sequentially (agents within each batch run in parallel). Each batch gets a dedicated context window. Results are written to files and synthesized by an orchestrator. Achieves 60-77% token savings vs naive parallel execution.

## Implementation
1. **Analyze task** -- detect complexity (1-10), identify required agents.
2. **Plan batches** -- group agents into batches of 3-5 (cohesive grouping).
3. **Execute Batch 1** -- run first group, write results to `work/batch1-results.md`.
4. **Execute Batch 2** -- read Batch 1 results, run second group, write to `work/batch2-results.md`.
5. **Synthesize** -- orchestrator reads all batch results, produces final output.

| Complexity | Batch Size | Example |
|------------|------------|---------|
| 1-3 | 1-2 agents | Fix typo, add logging |
| 4-5 | 3 agents | Add API endpoint with tests |
| 6-7 | 5 agents | Build feature with frontend/backend |
| 8-10 | 8 agents | Full system redesign |

## Examples
```bash
# Full-stack feature
/batch "Build user authentication with React frontend, Go backend, and tests"

# Performance work
/batch "Optimize database queries and add caching layer"

# Security audit
/batch "Security assessment of payment processing system"
```

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…