Token导航 LogoToken导航

Agent Skill · 研究检索

swarma(swarma 搜索)

swarma 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

swarma 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 31,291。

总安装 2,728周安装 116GitHub Stars 公开资料未说明下载 956核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:swarma(swarma 搜索)
来源仓库:https://github.com/glitch-rabin/swarma
安装命令:
openclaw skills install swarma
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install swarma

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

swarma 提供基于 GROWS 循环的成长实验框架,帮助代理构建自主剧本。适合在 OpenClaw 中需要根据关键词快速定位候选结果的任务场景。通过 clawhub 安装,需参考原始仓库文档了解具体实现细节。使用前应检查权限设置、网络访问及数据读写限制。适用于研究检索类任务,尤其关注代理自主学习和策略优化。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install swarma;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

swarma 怎么安装?

在终端执行 openclaw skills install swarma。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

swarma 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

swarma 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

swarma 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

swarma 用的人多吗?

公开数据是累计安装 2,728 次,近一周安装 116 次,下载 956 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

swarma 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
swarma

swarma 搜索 · 本页

2,728—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
swarma
description
Agent teams that run growth experiments and build their own playbook. GROWS loop: generate hypothesis, run experiment, observe signal, weigh verdict, stack playbook. 18 pre-built squads covering the full AARRR funnel. Your agents stop guessing and start learning.
version
0.2.0
license
MIT
compatibility
Python 3.11+, pip, terminal access
metadata
repository
https://github.com/glitch-rabin/swarma
website
https://swarma.dev
hook
a swarm runs 50 experiments while a human team runs 2
keywords
[growth experiments, A/B testing, agent teams, swarm intelligence, AARRR funnel, playbook, learning agents, experiment loop, strategy evolution, self-improving]
hermes
tags
[experiments, learning, growth, agents, teams, swarms, pirate-funnels, AARRR, playbook, self-improving, A/B-testing]
category
productivity
requires_toolsets
[terminal]
required_environment_variables
prompt
OpenRouter API key for LLM calls
help
https://openrouter.ai/keys
required_for
running agent cycles

swarma -- growth experiment loop for agent teams

When to Use This Skill

Use swarma when the user wants to:

  • Run growth experiments (hooks, landing pages, outreach, pricing, activation, retention)
  • Build agent teams that learn and improve through A/B testing, not just execute once
  • Get a validated playbook of what actually works for their specific audience/product
  • Test ideas at scale (50+ experiments/week instead of 2-5)
  • Replace "we tried that, it didn't work" with logged, analyzed, searchable experiment data

Trigger phrases: "test what works", "optimize my funnel", "find the best hooks", "run experiments", "A/B test", "what's working", "build a playbook", "growth experiments", "improve conversion"

Do NOT use when: user wants workflow automation (use n8n/Make), conversation memory (use honcho), or one-shot agent pipelines (use CrewAI/AutoGen). swarma is specifically for experiment loops that improve over time.


Quick Reference

Commands at a Glance

CommandWhat it doesWhen to use
swarma initCreate instance + starter teamFirst-time setup
swarma cycle <team>Run one experiment cycleTesting, manual runs
swarma cycle <team> --topic "..."Run cycle with a specific topicAd-hoc experiments
swarma team create <name> --from-goal "..."Generate team from a goalStarting a new experiment area
swarma team show <name>Inspect a team's configReviewing what was generated
swarma team listShow all teamsOverview
swarma statusCosts, recent runs, experimentsHealth check
swarma metric log <team> <agent> <value>Log external metricFeeding real-world data
swarma metric import <team> <csv>Bulk import metricsBatch data ingestion
swarma metric show <team>View logged metricsReviewing performance
swarma serve --port 8282Start REST APIExternal integrations
swarma serve --mcpStart MCP serverClaude Code / Hermes integration
swarma runStart scheduled engineContinuous operation
swarma expert listBrowse reasoning lensesExploring expert frameworks

Decision: Which Squad Template?

User wants to improve...Use this squadAARRR stage
Opening lines / hookshook-labAcquisition
Landing page copylanding-labAcquisition
SEO rankingsseo-engineAcquisition
Cold outreach response ratescold-outboundAcquisition
Multi-platform contentchannel-mixAcquisition
Signup-to-value onboardingactivation-flowActivation
Pricing and packagingpricing-labRevenue
Churn and retentionretention-squadRetention
Viral loops and referralsreferral-engineReferral
Market positioningcompetitive-intel--
Short-form video pipelinefaceless-factoryAcquisition
Ad creative testingad-creative-labAcquisition
UGC content simulationugc-factoryAcquisition
Programmatic SEOprogrammatic-seoAcquisition
Newsletter growthnewsletter-engineRetention
Paid + organic loopsacquisition-squadAcquisition
Community-led growthcommunity-engineRetention
AI commerce optimizationagentic-storefrontRevenue

Decision: Generate vs Template?

SituationApproach
User has a specific, well-defined goalswarma team create --from-goal (let AI design the team)
Goal matches an existing squad templateCopy template, then customize
User wants to experiment broadlyStart with hook-lab (most general)
User doesn't know where to startAsk about their funnel bottleneck, then pick

The GROWS Loop (Core Concept)

Every experiment cycle follows five steps:

  Generate       Run         Observe       Weigh        Stack
 hypothesis --> experiment --> signal --> verdict --> playbook
     ^                                                  |
     └──────────────────────────────────────────────────┘
StepWhat happensWhere in code
G -- GenerateAgent reads strategy.md, proposes a hypothesiscore/cycle.py
R -- RunAgent executes with hypothesis active, produces outputflow/executor.py
O -- ObserveSeparate cheap LLM scores output (1-10, forced decimals)core/agent.py
W -- WeighAfter 5 cycles, compare average vs baseline. >20% = keep/discardcore/experiment.py
S -- StackValidated patterns written to strategy.md + playbookcore/agent.py

Key numbers:

  • Verdict threshold: 20% improvement to keep, 20% decline to discard
  • Default min_sample_size: 5 cycles before verdict
  • Scoring: 1-10 scale with forced decimals (7.3, not 7)

Setup Guide

Platform: Claude Code / Claude Desktop

pip install swarma
swarma init

Add to .mcp.json:

{
  "mcpServers": {
    "swarma": {
      "command": "swarma",
      "args": ["serve", "--mcp"],
      "env": { "OPENROUTER_API_KEY": "sk-or-..." }
    }
  }
}

Important: OPENROUTER_API_KEY must be in the MCP env block. The instance .env is not inherited by subprocesses.

Platform: Hermes (via terminal)

Hermes has terminal access -- it can run swarma CLI commands directly. No MCP required.

pip install swarma
swarma init

Then tell Hermes: *"run swarma cycle hook-lab --topic 'AI agents are overhyped'"*

Hermes reads terminal output and acts on results. For structured access, add MCP:

# hermes config.yaml
mcp_servers:
  swarma:
    transport: stdio
    command: swarma
    args: ["serve", "--mcp"]
    env:
      OPENROUTER_API_KEY: "sk-or-..."

Platform: OpenClaw

pip install swarma
swarma init

Configure as MCP tool or use terminal access depending on your OpenClaw setup.

Platform: CLI (standalone)

pip install swarma
swarma init                                        # creates instance + starter team
swarma cycle starter --topic "why do startups fail?"   # run one cycle
swarma status                                      # check costs, runs, experiments

From source

git clone https://github.com/glitch-rabin/swarma.git
cd swarma && pip install -e .
swarma init

Environment setup

After swarma init, add your API key:

echo "OPENROUTER_API_KEY=sk-or-..." >> ~/.swarma/instances/default/.env

Get a key at openrouter.ai/keys.

Optional (for cross-team knowledge):

# Only needed when running 3+ teams
echo "QMD_ENDPOINT=http://localhost:8181/mcp" >> ~/.swarma/instances/default/.env

Onboarding Flow

When a user wants to set up swarma, follow this sequence. The team generator is the fastest path -- don't make users configure agents manually.

Step 1: Understand the goal

Ask:

  • "What do you want to improve?" (conversion, engagement, outreach response rate, SEO rankings, etc.)
  • "Who is your audience?" (B2B SaaS users, crypto community, enterprise buyers, etc.)
  • "What does success look like?" (more signups, higher CTR, better reply rates, etc.)

Step 2: Install

pip install swarma
swarma init --yes

Step 3: Generate the team

This is the key step. Use the team generator instead of picking templates.

swarma team create growth-lab \
  --from-goal "optimize landing page conversion for our B2B SaaS" \
  --context "developer tools company, 500 free users, 2% conversion to paid" \
  --budget 30

The generator:

  1. Designs the team (2-5 agents with specific roles)
  2. Picks models that fit each role
  3. Writes agent instructions and experiment patterns
  4. Creates a first experiment hypothesis ready to run

Review what it generated:

swarma team show growth-lab

Step 4: Run the first cycle

swarma cycle growth-lab

Expected output:

Running cycle: growth-lab
  flow: researcher -> copywriter -> judge
  agents: ['researcher', 'copywriter', 'judge']

                              Cycle: growth-lab
  Agent      Model              Cost       Output Preview
  researcher sonar-pro          $0.000384  **Topic:** 52% of executives...
  copywriter qwen3.5-plus-02-15 $0.000746  [A] We sent 4,382 cold emails...
  judge      mistral-nemo       $0.000416  **Hook Variations:** A: "Did...

  duration: 43.9s | total cost: $0.001546 | agents: 3

Step 5: Run more cycles and review

swarma cycle growth-lab                    # run another cycle
swarma cycle growth-lab --topic "specific angle"  # with a topic
swarma status                              # check progress

After 5 cycles, the experiment engine issues its first verdict. The strategy file evolves automatically.


Day-to-Day Usage

Running experiments

# Single cycle
swarma cycle hook-lab

# With a specific topic
swarma cycle hook-lab --topic "AI agents are commoditizing"

# Continuous (teams with cron schedules run automatically)
swarma run

# Continuous with API server
swarma run --port 8282

Feeding real metrics

LLM self-eval is a starting proxy. For production, feed back real-world signals:

# Log a single metric
swarma metric log hook-lab copywriter 4.2 --metric ctr_pct

# Attach to a specific experiment
swarma metric log hook-lab copywriter 127 --metric impressions --exp 3

# Add a note
swarma metric log hook-lab copywriter 5.1 --metric ctr_pct --note "from linkedin analytics"

# Bulk import from CSV
swarma metric import hook-lab metrics.csv

# View logged metrics
swarma metric show hook-lab

CSV format: agent,value,metric_name,note

copywriter,4.2,ctr_pct,week 1
copywriter,5.1,ctr_pct,week 2
researcher,7.8,relevance_score,

Using squad templates

# Copy a template to your instance
cp -r "$(python -c "import swarma; print(swarma.__path__[0])")/examples/hook-lab" \
  ~/.swarma/instances/default/teams/hook-lab

# Or if you cloned the repo
cp -r examples/hook-lab ~/.swarma/instances/default/teams/hook-lab

# Run it
swarma cycle hook-lab --topic "why most startups fail"

Checking status

swarma status

Shows: all teams, recent runs, costs (today + this month), pending plans, queue stats.


MCP Tools Reference

When connected via MCP, these 16 tools are available:

ToolDescriptionParameters
swarma_healthCheck if swarma is running--
swarma_list_teamsList all configured teams--
swarma_get_teamGet team details (agents, flow, schedule)team_id
swarma_list_agentsList agents in a teamteam_id
swarma_run_agentRun a single agent with optional contextteam_id, agent_id, context?
swarma_run_cycleRun a full cycle for a teamteam_id, topic?
swarma_statusInstance status (costs, runs, experiments)--
swarma_costsCost breakdown (today, this month)--
swarma_list_plansShow pending experiment plansteam_id?
swarma_approve_planApprove a pending experiment planplan_id
swarma_reject_planReject a pending planplan_id, reason?
swarma_get_outputsRecent outputs from agentsteam_id?, agent_id?, limit?
swarma_list_toolsList available agent tools--
swarma_list_expertsBrowse expert reasoning lenses--
swarma_get_expertGet expert details by IDexpert_id
swarma_generate_teamGenerate a new team from a goalname, goal, context?, budget?

Common MCP Workflows

"What's been happening?"

  1. swarma_status -- overview
  2. swarma_get_outputs -- recent agent outputs
  3. swarma_list_plans -- pending experiments

"Run an experiment"

  1. swarma_run_cycle with team_id and optional topic
  2. swarma_get_outputs to review results

"Start a new experiment area"

  1. swarma_generate_team with goal and context
  2. swarma_get_team to review what was generated
  3. swarma_run_cycle to kick it off

"What's working?"

  1. swarma_get_outputs for recent results
  2. Read the team's strategy.md for validated patterns

Team Configuration Reference

A team is a folder. No code required.

teams/my-squad/
├── team.yaml          # goal, flow, schedule, budget
├── program.md         # team context and constraints
└── agents/
    ├── researcher.yaml
    ├── writer.yaml
    └── strategy.md    # pre-seeded growth knowledge (evolves automatically)

team.yaml

name: my-squad
goal: find what works.
flow: "researcher -> writer"        # sequential
# flow: "researcher -> [writer, analyst]"  # parallel
schedule: "0 8 * * 1-5"            # optional: weekdays at 8am
budget: 30                          # optional: monthly budget in $

agent.yaml

id: writer
name: Writer
instructions: |
  turn research into a post. max 200 words.
  hook in the first line. practitioner voice.
model: qwen/qwen3.5-plus-02-15     # optional: override default routing
metric:
  name: content_quality
  target: 8.0
experiment_config:
  min_sample_size: 5
  auto_propose: true

strategy.md (evolves automatically)

Starts with seed knowledge, grows with every validated experiment:

### Validated Patterns

**Specificity wins**
- Hooks with specific numbers outperform vague claims by 2-3x on saves
- "47% of startups" > "most startups"

### Anti-patterns (Discarded)
- Generic inspirational openings: -23% vs baseline. Discard.

### Patterns to Test
- [ ] First-person confession vs third-person case study
- [ ] Time-anchored ("In 2024...") vs timeless hooks

Flow DSL

# Sequential: a runs, output passes to b
flow: "researcher -> writer"

# Parallel: a runs, then b and c run concurrently
flow: "researcher -> [writer, analyst]"

# Mixed: sequential then parallel then sequential
flow: "researcher -> [writer, analyst] -> judge"

Cross-Team Knowledge (QMD)

By default, each team learns individually via its own strategy.md. To share knowledge across teams, wire in QMD:

# ~/.swarma/instances/default/config.yaml
knowledge:
  engine: qmd
  qmd_endpoint: http://localhost:8181/mcp

With QMD: team A discovers loss framing beats gain framing, team B sees that pattern in its next cycle. Anti-patterns are shared too.

You don't need QMD until running 3+ teams. Most users start without it.


Troubleshooting

ProblemCauseFix
"No API key found"Missing OPENROUTER_API_KEYAdd to ~/.swarma/instances/default/.env
MCP subprocess can't find keyInstance .env not inheritedPass key in MCP config env block
"No teams found"Empty instanceRun swarma init or copy a squad template
Experiments not issuing verdictsNot enough cyclesNeed min_sample_size (default 5) completed cycles
Strategy file not evolvingNo verdict yetRun more cycles, check swarma status
swarma cycle shows $0.000000 costModel returned emptyCheck API key validity, try swarma cycle starter
QMD not connectingQMD not runningStart with qmd serve before swarma
Results.tsv emptyNo cycles completedRun at least one cycle first

Verification

After setup, verify everything works:

# 1. Run a cycle
swarma cycle starter --topic "test run"
# Expected: table showing agent outputs + costs

# 2. Check status
swarma status
# Expected: teams listed, recent run shown, costs displayed

# 3. Check a real squad (if installed)
swarma team show hook-lab
# Expected: team config with agents, flow, metrics

If all three pass, the GROWS loop is operational.


What swarma Is Not

swarma is not...Use this insteadThe difference
memoryhonchoswarma doesn't remember conversations. it runs experiment loops.
workflow automationn8n, Make, Zapierthose connect apps. swarma runs hypotheses and learns from results.
a prompt libraryagency-agentsswarma teaches agents what works through feedback. templates go in, playbooks come out.
agent orchestrationCrewAI, AutoGen, LangGraphthose run pipelines. swarma adds the GROWS loop that makes pipelines improve.
a hosted service--self-hosted. your data stays on your machine.

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

平台分布

OpenClaw

73.41%
按下载量换算702

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills