Search

PythonReactSEOPDF
OpenClaw

swarm

Cut your LLM costs by 200x. Offload parallel, batch, and research work to Gemini Flash workers instead of burning your expensive primary model.

chair4ce0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install chair4ce/swarm

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Swarm — Cut Your LLM Costs by 200x

Turn your expensive model into an affordable daily driver. Offload the boring stuff to Gemini Flash workers — parallel, batch, research — at a fraction of the cost.

At a Glance

30 tasks via Time Cost
Opus (sequential) ~30s ~$0.50
Swarm (parallel) ~1s ~$0.003

When to Use

Swarm is ideal for:

  • 3+ independent tasks (research, summaries, comparisons)
  • Comparing or researching multiple subjects
  • Multiple URLs to fetch/analyze
  • Batch processing (documents, entities, facts)
  • Complex analysis needing multiple perspectives → use chain

Quick Reference

# Check daemon (do this every session)
swarm status

# Start if not running
swarm start

# Parallel prompts
swarm parallel "What is X?" "What is Y?" "What is Z?"

# Research multiple subjects
swarm research "OpenAI" "Anthropic" "Mistral" --topic "AI safety"

# Discover capabilities
swarm capabilities

Execution Modes

Parallel (v1.0)

N prompts → N workers simultaneously. Best for independent tasks.

swarm parallel "prompt1" "prompt2" "prompt3"
Research (v1.1)

Multi-phase: search → fetch → analyze. Uses Google Search grounding.

swarm research "Buildertrend" "Jobber" --topic "pricing 2026"
Chain (v1.3) — Refinement Pipelines

Data flows through multiple stages, each with a different perspective/filter. Stages run in sequence; tasks within a stage run in parallel.

Stage modes:

  • parallel — N inputs → N workers (same perspective)
  • single — merged input → 1 worker
  • fan-out — 1 input → N workers with DIFFERENT perspectives
  • reduce — N inputs → 1 synthesized output

Auto-chain — describe what you want, get an optimal pipeline:

curl -X POST http://localhost:9999/chain/auto \
  -d '{"task":"Find business opportunities","data":"...market data...","depth":"standard"}'

Manual chain:

swarm chain pipeline.json
#...

Source information

Source
github
Repository
openclaw/skills
Path
skills/chair4ce/swarm
Version
—
Commit
a09428f2cefa48212ee44857d9023b8704b87eb4
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

🐝 Swarm — Parallel Task Execution for OpenClaw

Version

Turn sequential LLM tasks into parallel operations. 200x cheaper than Opus. Now with live web search.

What is Swarm?

Swarm adds parallel processing to OpenClaw by distributing work across cheap Gemini Flash workers. Instead of burning expensive tokens sequentially, fire 30 tasks in parallel for $0.003.

┌────────────────────────────────────────────────────┐
│              Coordinator (Claude)                   │
│         Orchestration • Memory • Synthesis          │
└─────────────────────┬──────────────────────────────┘
                      │ Task Distribution
    ┌─────────────────┼─────────────────┐
    │                 │                 │
┌───▼───┐        ┌───▼───┐        ┌───▼───┐
│Search │        │ Fetch │        │Analyze│
│Workers│        │Workers│        │Workers│
│(Flash)│        │(Flash)│        │(Flash)│
│  🔍   │        │  📄   │        │  🧠   │
└───────┘        └───────┘        └───────┘
      Optional: Google Search grounding
What's New in v1.2.0
  • 💰 Cost tracking & savings reports — See exactly how much you're saving vs Opus in real-time
  • 🔄 Auto-retry — Failed tasks retry automatically with backoff (skips non-transient errors)
  • ⏱️ Task timeouts — 30s default prevents hung workers from blocking the pool
  • 🧹 Dead code cleanup — Removed 1,300+ lines of unused code
  • 🔍 Web Search Grounding — Workers search the live web via Google Search (Gemini only, no extra cost)
  • 🔒 Security policy — Workers answer research questions while blocking credential exfiltration
Performance
Tasks Sequential (Opus) Swarm (Parallel) Cost Savings
5 ~5s, $0.08 1.5s, $0.0005 160x cheaper
10 ~10s, $0.17 1.5s, $0.001 170x cheaper
30 ~30s, $0.50 ...

Extracted content

SKILL.md
# Swarm — Cut Your LLM Costs by 200x

**Turn your expensive model into an affordable daily driver. Offload the boring stuff to Gemini Flash workers — parallel, batch, research — at a fraction of the cost.**

## At a Glance

| 30 tasks via | Time | Cost |
|--------------|------|------|
| Opus (sequential) | ~30s | ~$0.50 |
| Swarm (parallel) | ~1s | ~$0.003 |

## When to Use

Swarm is ideal for:
- **3+ independent tasks** (research, summaries, comparisons)
- **Comparing or researching multiple subjects**
- **Multiple URLs** to fetch/analyze
- **Batch processing** (documents, entities, facts)
- **Complex analysis** needing multiple perspectives → use chain

## Quick Reference

```bash
# Check daemon (do this every session)
swarm status

# Start if not running
swarm start

# Parallel prompts
swarm parallel "What is X?" "What is Y?" "What is Z?"

# Research multiple subjects
swarm research "OpenAI" "Anthropic" "Mistral" --topic "AI safety"

# Discover capabilities
swarm capabilities
```

## Execution Modes

### Parallel (v1.0)
N prompts → N workers simultaneously. Best for independent tasks.

```bash
swarm parallel "prompt1" "prompt2" "prompt3"
```

### Research (v1.1)
Multi-phase: search → fetch → analyze. Uses Google Search grounding.

```bash
swarm research "Buildertrend" "Jobber" --topic "pricing 2026"
```

### Chain (v1.3) — Refinement Pipelines
Data flows through multiple stages, each with a different perspective/filter. Stages run in sequence; tasks within a stage run in parallel.

**Stage modes:**
- `parallel` — N inputs → N workers (same perspective)
- `single` — merged input → 1 worker
- `fan-out` — 1 input → N workers with DIFFERENT perspectives
- `reduce` — N inputs → 1 synthesized output

**Auto-chain** — describe what you want, get an optimal pipeline:
```bash
curl -X POST http://localhost:9999/chain/auto \
  -d '{"task":"Find business opportunities","data":"...market data...","depth":"standard"}'
```

**Manual chain:**
```bash
swarm chain pipeline.json
#...
README
# 🐝 Swarm — Parallel Task Execution for OpenClaw

[![Version](https://img.shields.io/badge/version-1.2.0-blue.svg)](./CHANGELOG.md)

**Turn sequential LLM tasks into parallel operations. 200x cheaper than Opus. Now with live web search.**

## What is Swarm?

Swarm adds parallel processing to [OpenClaw](https://github.com/openclaw/openclaw) by distributing work across cheap Gemini Flash workers. Instead of burning expensive tokens sequentially, fire 30 tasks in parallel for $0.003.

```
┌────────────────────────────────────────────────────┐
│              Coordinator (Claude)                   │
│         Orchestration • Memory • Synthesis          │
└─────────────────────┬──────────────────────────────┘
                      │ Task Distribution
    ┌─────────────────┼─────────────────┐
    │                 │                 │
┌───▼───┐        ┌───▼───┐        ┌───▼───┐
│Search │        │ Fetch │        │Analyze│
│Workers│        │Workers│        │Workers│
│(Flash)│        │(Flash)│        │(Flash)│
│  🔍   │        │  📄   │        │  🧠   │
└───────┘        └───────┘        └───────┘
      Optional: Google Search grounding
```

### What's New in v1.2.0

- 💰 **Cost tracking & savings reports** — See exactly how much you're saving vs Opus in real-time
- 🔄 **Auto-retry** — Failed tasks retry automatically with backoff (skips non-transient errors)
- ⏱️ **Task timeouts** — 30s default prevents hung workers from blocking the pool
- 🧹 **Dead code cleanup** — Removed 1,300+ lines of unused code
- 🔍 **Web Search Grounding** — Workers search the live web via Google Search (Gemini only, no extra cost)
- 🔒 **Security policy** — Workers answer research questions while blocking credential exfiltration

### Performance

| Tasks | Sequential (Opus) | Swarm (Parallel) | Cost Savings |
|-------|-------------------|------------------|--------------|
| 5 | ~5s, $0.08 | **1.5s, $0.0005** | 160x cheaper |
| 10 | ~10s, $0.17 | **1.5s, $0.001** | 170x cheaper |
| 30 | ~30s, $0.50 |...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance