Token导航 LogoToken导航

Agent Skill · 研究检索

agent-swarm-deployer(Agent 群部署者)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

agent-swarm-deployer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 51,536。

总安装 582周安装 24GitHub Stars 103下载 190核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agent-swarm-deployer(Agent 群部署者)
来源仓库:https://github.com/onewave-ai/claude-skills
仓库路径:skills/agent-swarm-deployer
安装命令:
npx skills add https://github.com/onewave-ai/claude-skills --skill agent-swarm-deployer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/onewave-ai/claude-skills --skill agent-swarm-deployer

这个 Skill 是做什么的

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

用于辅助云资源、部署、容器和基础设施自动化任务。适合检查配置、整理部署步骤、分析资源状态或生成排障思路。支持高吞吐量并行数据处理,适用于大规模数据操作。涉及删除或修改资源时应先确认影响范围,区分测试与生产环境。agent-swarm-deployer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/agent-swarm-deployer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/onewave-ai/claude-skills --skill agent-swarm-d…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

agent-swarm-deployer 怎么安装?

在终端执行 npx skills add https://github.com/onewave-ai/claude-skills --skill agent-swarm-deployer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-swarm-deployer 支持哪些 AI 工具?

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

agent-swarm-deployer 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

agent-swarm-deployer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-swarm-deployer 用的人多吗?

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

agent-swarm-deployer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
agent-swarm-deployer

Agent 群部署者 · 本页

582103只读未明确通过

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

SKILL.md 原文

Agent Swarm Deployer

A high-throughput parallel data processing framework that deploys swarms of sub-agents to handle massive data tasks. While Agent Army is built for code changes (edit files, respect dependency graphs, verify builds), Agent Swarm is built for data operations where individual units of work are independent and results need aggregation.

Agent Army vs Agent Swarm

DimensionAgent ArmyAgent Swarm
PurposeCode changes across filesData processing at scale
Units of workFiles in a codebaseDocuments, records, rows, items
DependenciesImport graph mattersItems are independent
OutputModified source filesAggregated results (reports, datasets, content)
VerificationBuild check, pattern scanResult validation, completeness check
Error handlingFix and re-verify codeRetry failed items, collect partial results
Typical scale10-200 files100-10,000+ items
Key riskBreaking the buildData loss, incomplete processing

Use Cases

Document Processing

  • Analyze 500 customer support tickets for sentiment and categorization
  • Extract key information from 200 legal contracts
  • Summarize 1000 research paper abstracts
  • Parse 300 resumes for qualification matching

Dataset Analysis

  • Score and rank 2000 leads by ICP fit
  • Classify 5000 product reviews by topic and sentiment
  • Audit 1000 blog posts for SEO compliance
  • Grade 500 sales call transcripts against a methodology

Bulk Content Generation

  • Generate personalized email first lines for 500 prospects
  • Create product descriptions for 1000 SKUs
  • Write social media posts for 200 blog articles
  • Generate meta descriptions for 800 web pages

Data Transformation

  • Convert 1000 CSV rows into structured JSON objects
  • Normalize 500 address records
  • Translate 300 support articles into 5 languages
  • Reformat 2000 database records from schema A to schema B

Architecture

You (Commander)
 |
 |-- Phase 1: Intake & Inventory
 |    |-- Count total items
 |    |-- Sample items for schema detection
 |    |-- Estimate token budget per item
 |
 |-- Phase 2: Swarm Design
 |    |-- Calculate optimal batch size
 |    |-- Determine number of swarm agents
 |    |-- Define result schema
 |
 |-- Phase 3: Deploy Swarm (parallel)
 |    |-- Agent S1: items 1-50      ---\
 |    |-- Agent S2: items 51-100     ---|
 |    |-- Agent S3: items 101-150    ---|-- All run in parallel
 |    |-- Agent S4: items 151-200    ---|
 |    |-- ...                       ---/
 |
 |-- Phase 4: Collect & Aggregate
 |    |-- Gather all agent results
 |    |-- Merge into unified output
 |    |-- Identify failures
 |
 |-- Phase 5: Recovery (if needed)
 |    |-- Retry failed items
 |    |-- Fill gaps
 |
 |-- Phase 6: Deliver
 |    |-- Write final output
 |    |-- Generate summary report

Execution Protocol

Step 0: Understand the Task

Before deploying any agents, fully understand what the user needs:

  1. Data source -- Where is the data? Files on disk? A CSV? A directory of documents? Inline in the conversation?
  2. Operation -- What should be done to each item? Summarize? Classify? Extract? Transform? Generate?
  3. Output format -- What should the result look like? JSON? CSV? Markdown? Individual files?
  4. Output destination -- Where should results go? Single file? Directory of files? Returned in conversation?
  5. Quality requirements -- Are there validation rules? Schemas? Scoring criteria?

If any of these are ambiguous, ask the user before proceeding. Getting the spec wrong wastes all agent compute.

Step 1: Intake and Inventory

1a. Discover and Count Items

Locate all data items and count them:

Glob/Bash: Find all files matching the pattern
Read: Sample first 3-5 items to understand structure
Bash: Count total items (wc -l for CSVs, file count for directories, etc.)

Report:

## Intake Report
- Data source: /path/to/data/ (or inline, or CSV)
- Total items found: 1,247
- Item format: JSON files, avg 2KB each
- Sample item structure: { name, email, company, title, linkedin_url }
- Estimated tokens per item: ~500
- Total estimated tokens: ~623,500
1b. Detect Schema

From the sample items, define the input schema:

{
  "inputSchema": {
    "type": "object",
    "fields": {
      "name": "string",
      "email": "string",
      "company": "string",
      "title": "string",
      "linkedin_url": "string"
    }
  }
}
1c. Define Output Schema

Based on the task, define what each processed item should look like:

{
  "outputSchema": {
    "type": "object",
    "fields": {
      "name": "string (from input)",
      "company": "string (from input)",
      "personalized_first_line": "string (generated, 1-2 sentences)",
      "pain_point_guess": "string (inferred from title + company)",
      "confidence": "number (0-1)",
      "processing_status": "enum: success | failed | skipped"
    }
  }
}

Step 2: Swarm Design

2a. Calculate Batch Size

The batch size determines how many items each agent processes. Factors:

FactorGuideline
Token budget per itemInput tokens + expected output tokens + instruction overhead
Agent context limit~200K usable tokens per agent (conservative, leaves room for instructions)
Instruction overhead~2K tokens for the agent's brief
Safety marginUse 70% of theoretical capacity

Formula:

usable_tokens = 200,000 * 0.70 = 140,000
tokens_per_item = input_tokens + output_tokens + 100 (overhead)
batch_size = floor(usable_tokens / tokens_per_item)

Practical limits:

  • Minimum batch size: 5 items (agent overhead is not worth it for fewer)
  • Maximum batch size: 200 items (beyond this, agent context gets cluttered)
  • Sweet spot: 20-80 items per agent for most text processing tasks
2b. Determine Swarm Size
total_items = 1,247
batch_size = 50
swarm_size = ceil(1,247 / 50) = 25 agents

Practical limits:

  • Maximum parallel agents: 20 per wave (prevents system overload)
  • If swarm_size > 20: Deploy in waves. Wave 1: agents 1-20. Wave 2: agents 21-25.
2c. Present Swarm Plan
## Swarm Plan

- Total items: 1,247
- Batch size: 50 items per agent
- Swarm size: 25 agents
- Waves: 2 (Wave 1: 20 agents, Wave 2: 5 agents)
- Estimated processing: All items covered
- Output format: Single CSV file with all results

### Agent Assignments
| Agent | Items | Range | Notes |
|-------|-------|-------|-------|
| swarm-01 | 50 | items 1-50 | -- |
| swarm-02 | 50 | items 51-100 | -- |
| ... | ... | ... | -- |
| swarm-25 | 47 | items 1201-1247 | Partial batch |

Proceed? (Y to deploy / N to adjust batch size)

Step 3: Prepare Agent Briefs

Each swarm agent receives a self-contained brief. The brief must include:

  1. Role: "You are a data processing agent in a swarm of 25. Your job is to process items 51-100."
  2. Task description: Exactly what to do with each item (the operation).
  3. Input data: The actual data items for this batch (embedded in the brief or read from a file range).
  4. Output schema: The exact format for results. Include a concrete example.
  5. Quality rules: Validation criteria, edge case handling, what to do with malformed items.
  6. Error protocol: "If an item cannot be processed, mark it as failed with a reason. Do not skip items silently."
  7. Output format: "Return your results as a JSON array. Each element must match the output schema."

Agent Brief Template

You are swarm-agent-{N}, processing batch {N} of {TOTAL_BATCHES} in a data processing swarm.

## Your Task
{TASK_DESCRIPTION}

## Input Data
You will process the following {BATCH_SIZE} items:

{ITEMS_AS_STRUCTURED_DATA}

## Output Schema
For each item, produce a result matching this schema:
{OUTPUT_SCHEMA_WITH_EXAMPLE}

## Example
Input:
{EXAMPLE_INPUT}

Expected output:
{EXAMPLE_OUTPUT}

## Quality Rules
- {RULE_1}
- {RULE_2}
- {RULE_3}
- Every item MUST appear in your output, even if processing failed.
- For failed items, set processing_status to "failed" and include an error_reason field.

## Error Handling
- Malformed input: Mark as "failed", reason: "malformed input: {description}"
- Ambiguous data: Make your best judgment, set confidence to < 0.5
- Missing required field: Mark as "skipped", reason: "missing {field}"

## Output Format
Return a JSON object with this structure:
{
  "agentId": "swarm-agent-{N}",
  "batchRange": "{START}-{END}",
  "totalProcessed": {NUMBER},
  "totalSuccess": {NUMBER},
  "totalFailed": {NUMBER},
  "totalSkipped": {NUMBER},
  "results": [
    {OUTPUT_SCHEMA_ITEM_1},
    {OUTPUT_SCHEMA_ITEM_2},
    ...
  ],
  "errors": [
    {"itemIndex": N, "reason": "description"}
  ],
  "notes": "Any observations about the data quality or patterns"
}

Step 4: Deploy Swarm

4a. Wave Deployment

Deploy agents in waves to manage system load:

Wave 1: Launch up to 20 agents in parallel using the Agent tool with run_in_background: true. Send ALL agent calls in a single message.

Launch swarm-agent-01 through swarm-agent-20 in parallel.
Each receives its batch of items and the standardized brief.

Wave 2+ (if needed): After Wave 1 completes, launch remaining agents.

4b. Data Distribution

How to get data to each agent depends on the data source:

Source TypeDistribution Method
Directory of filesTell each agent which file paths to Read
Single large CSVPre-split into batch files using Bash, tell each agent its file
Single JSON arrayPre-split into batch files using Bash
Inline dataEmbed directly in the agent brief (for small datasets)
Database exportExport to CSV first, then split

For CSVs and large files, pre-split before deploying:

# Split a CSV into batches of 50 rows (preserving header)
head -1 data.csv > header.csv
tail -n +2 data.csv | split -l 50 - batch_
for f in batch_*; do cat header.csv "$f" > "batches/${f}.csv" && rm "$f"; done
rm header.csv
4c. Progress Tracking

As agents complete, track progress:

## Swarm Progress

Wave 1 (20 agents):
[################----] 16/20 complete

| Agent | Status | Processed | Success | Failed | Duration |
|-------|--------|-----------|---------|--------|----------|
| swarm-01 | DONE | 50 | 48 | 2 | 45s |
| swarm-02 | DONE | 50 | 50 | 0 | 38s |
| swarm-03 | RUNNING | -- | -- | -- | -- |
| ... | ... | ... | ... | ... | ... |

Cumulative: 800/1247 items processed (64%)

Step 5: Collect and Aggregate Results

5a. Gather Agent Outputs

As each agent completes, collect its JSON output. Parse and validate:

  1. Schema validation -- Does each result match the output schema?
  2. Completeness check -- Does the agent's result count match its batch size?
  3. Duplicate detection -- Check for duplicate item IDs across agents.
  4. Error extraction -- Pull out all failed/skipped items for the retry queue.
5b. Merge Results

Combine all agent results into a single unified output:

# Conceptual merge logic
merged_results = []
failed_items = []
skipped_items = []

for agent_output in all_agent_outputs:
    for result in agent_output["results"]:
        if result["processing_status"] == "success":
            merged_results.append(result)
        elif result["processing_status"] == "failed":
            failed_items.append(result)
        elif result["processing_status"] == "skipped":
            skipped_items.append(result)

# Sort by original item order
merged_results.sort(key=lambda x: x["original_index"])
5c. Validate Completeness
## Aggregation Report

- Total items in input: 1,247
- Total results received: 1,247
- Successful: 1,198 (96.1%)
- Failed: 34 (2.7%)
- Skipped: 15 (1.2%)

### Coverage Check
- Items with results: 1,247 / 1,247 (100% coverage)
- Missing items: 0
- Duplicate results: 0

### Failure Analysis
| Failure Reason | Count |
|---------------|-------|
| Malformed input | 12 |
| Missing required field | 8 |
| Ambiguous data | 14 |

Proceed to retry failed items? (Y / skip / manual review)

Step 6: Error Recovery

6a. Retry Queue

Collect all failed and skipped items into a retry batch:

Retry batch: 49 items (34 failed + 15 skipped)
Retry strategy: Single agent with enhanced instructions
6b. Enhanced Retry Brief

The retry agent gets special instructions:

You are the retry agent. These items failed or were skipped in the first pass.
For each item, I am providing the original item AND the failure reason from the first attempt.

Your job:
1. Try harder -- use more creative interpretation for ambiguous items
2. For truly malformed items, extract whatever you can and note what is missing
3. For items that failed due to missing fields, infer the field if possible or mark as "unrecoverable"

The bar is lower for retries: partial results are better than no results.
6c. Retry Limits
  • Maximum retries: 2 (original attempt + 2 retries = 3 total attempts)
  • After max retries: Mark item as "unrecoverable" and include in the final report
  • Unrecoverable threshold: If > 10% of items are unrecoverable, flag to the user for manual review

Step 7: Write Final Output

Based on the user's requested output format:

CSV Output
# Write header + all successful results as CSV
# Include a separate failures.csv for failed items
JSON Output
{
  "metadata": {
    "task": "description of what was processed",
    "totalItems": 1247,
    "successfulItems": 1210,
    "failedItems": 22,
    "unrecoverableItems": 15,
    "processingDate": "2026-04-10T12:00:00Z",
    "swarmSize": 25,
    "waves": 2
  },
  "results": [...],
  "failures": [...],
  "summary": {
    "key_patterns": "...",
    "notable_findings": "...",
    "data_quality_notes": "..."
  }
}
Markdown Report
# Processing Results: [Task Name]

## Summary
- Processed: 1,247 items
- Success rate: 97%
- Key findings: [aggregated insights]

## Results Table
| Item | Result Field 1 | Result Field 2 | Status |
|------|---------------|----------------|--------|
| ... | ... | ... | ... |

## Failures
| Item | Reason | Attempted Retries |
|------|--------|-------------------|
| ... | ... | ... |
Individual Files

For tasks where each item produces a standalone document (e.g., generating 500 blog post outlines):

output/
  001-item-name.md
  002-item-name.md
  ...
  500-item-name.md
  _summary.md
  _failures.md

Step 8: Summary Report

Always end with a comprehensive summary:

## Swarm Processing Complete

### Execution Summary
- Task: [description]
- Data source: [source]
- Total items: 1,247
- Swarm size: 25 agents across 2 waves
- Total processing time: ~3 minutes

### Results
- Successful: 1,210 (97.0%)
- Failed (recovered on retry): 22 (1.8%)
- Unrecoverable: 15 (1.2%)
- Output written to: [path]

### Quality Metrics
- Schema compliance: 100% of successful results match output schema
- Average confidence: 0.82
- Items flagged for review: 37 (low confidence < 0.5)

### Patterns Observed
- [Any interesting patterns the swarm noticed across the data]
- [Data quality issues found]
- [Recommendations for future processing]

### Cost
- Agents deployed: 25 (Wave 1) + 1 (retry) = 26
- Estimated tokens consumed: ~1.2M input + ~400K output

Swarm Configurations for Common Tasks

Sentiment Analysis (1000 reviews)

task: Classify each review as positive/negative/neutral with confidence score
batch_size: 100  # Reviews are short, pack more per agent
swarm_size: 10
output_schema:
  review_id: string
  sentiment: enum(positive, negative, neutral, mixed)
  confidence: float(0-1)
  key_phrases: string[]
  summary: string(1 sentence)

Lead Scoring (2000 contacts)

task: Score each lead 1-100 based on ICP fit criteria
batch_size: 40  # Each lead needs more analysis context
swarm_size: 50
waves: 3
output_schema:
  lead_id: string
  score: int(1-100)
  icp_match: object
    company_size: bool
    industry: bool
    tech_stack: bool
    title_seniority: bool
  buying_signals: string[]
  recommended_action: enum(hot, warm, nurture, disqualify)

Content Generation (500 product descriptions)

task: Write a 100-word product description from product data
batch_size: 25  # Output is longer, needs more generation tokens
swarm_size: 20
output_schema:
  product_id: string
  title: string
  description: string(100 words)
  key_features: string[3]
  seo_keywords: string[5]

Document Summarization (300 papers)

task: Summarize each paper in 3 bullet points with key findings
batch_size: 15  # Papers are long, fewer per agent
swarm_size: 20
output_schema:
  paper_id: string
  title: string
  summary_bullets: string[3]
  key_finding: string
  methodology: string
  relevance_score: float(0-1)

Error Handling

ErrorCauseResponse
Agent returns no outputAgent timeout or crashRe-deploy that batch with a fresh agent
Agent returns partial resultsContext overflow or mid-processing failureIdentify processed items, re-deploy unprocessed items
Agent returns malformed JSONOutput parsing failureAttempt to extract results from raw text, re-deploy if impossible
Duplicate results across agentsBatch overlap miscalculationDeduplicate by item ID, keep first occurrence
All agents failSystemic issue (bad brief, impossible task)Abort, report to user, suggest task reformulation
Retry agent also failsItem is truly unprocessableMark as unrecoverable, include raw input in failure report
Data source unavailableFile missing, permission deniedAbort before deploying swarm, report to user
Output file write failsDisk space, permissionsAttempt alternative location, or return results in conversation

Scaling Guidelines

Total ItemsRecommended Batch SizeSwarm SizeWavesNotes
10-5010-252-51Small job, minimal overhead
50-20025-504-101Standard processing
200-50040-605-151Moderate scale
500-100050-8010-201-2Large scale, may need waves
1000-500050-10020+2-5Multi-wave deployment
5000+100-20050+5+Enterprise scale, consider chunking

Anti-Patterns to Avoid

  1. Do not use swarm for sequential tasks -- If item N depends on the result of item N-1, a swarm is the wrong tool. Use a chain instead.
  2. Do not deploy 100 agents for 100 items -- One item per agent wastes overhead. Batch them.
  3. Do not skip the schema definition -- Without a schema, merging results from 25 agents becomes a nightmare.
  4. Do not ignore failures -- Even at 99% success rate, 1% of 10,000 items is 100 failures. Always run retries.
  5. Do not deploy without a sample run -- Process 5 items manually first to validate the task definition and output quality before scaling.

平台分布

Codex

38.05%
按下载量换算72

Claude

28.39%
按下载量换算54

Cursor

18.83%
按下载量换算36

Gemini CLI

10.19%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills