跳到正文
cccskills
免费在 GitHub 公开

swarm-orchestrator

Use when the user types [SWARM] to activate a multi-agent parallel workflow. Dispatches specialized subagents to work on independent tasks simultaneously, with progress tracking and result aggregation.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation星标 5(GitHub 5 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

[SWARM] Orchestrator

Activate a fleet of specialized agents to execute tasks in parallel. This skill handles task decomposition, agent dispatch, progress tracking, and result consolidation.

Activation

User types [SWARM] followed by a task description or goal.

[SWARM] implement login page with JWT auth
[SWARM] refactor all API endpoints to use async/await
[SWARM] add comprehensive tests for auth module

Execution Protocol

1. Analyze & Decompose

Break the user's request into independent subtasks that can execute in parallel.

Rules:

  • Each subtask must have a clear input/output boundary
  • No subtask should block another (true parallelism)
  • Limit to 4-8 concurrent agents (more creates coordination overhead)
  • Group dependent work into sequential phases

Decomposition example:

Request: "Add user authentication"

Phase 1 (parallel):
  ├── Agent-A: Backend auth API endpoints
  ├── Agent-B: Database schema migrations
  └── Agent-C: Auth middleware module

Phase 2 (parallel, after Phase 1):
  ├── Agent-D: Login page frontend
  ├── Agent-E: Session management
  └── Agent-F: Tests for auth flows

Phase 3 (sequential):
  └── Orchestrator: Integration verification

2. Dispatch Subagents

Spawn subagents with clear instructions:

// Use actor tool with subagent_type: "general"
{
  "operation": {
    "action": "run",
    "subagent_type": "general",
    "description": "Implement auth API",
    "prompt": "Task: Build JWT authentication API endpoints.

Work directory: <current working directory>

Requirements:
1. POST /api/auth/login — accept email/password, return JWT
2. POST /api/auth/refresh — refresh expired tokens
3. POST /api/auth/logout — invalidate refresh token
4. All endpoints need @login_required decorator

Output artifacts:
- /src/auth/api.py — API routes
- /src/auth/middleware.py — JWT middleware
- /tests/test_auth.py — test coverage

Verification:
- Run: python -m pytest tests/test_auth.py -v
- All tests must pass before reporting completion

Handoff format when done:
Status: success | failed
Summary: <one-line description>
Files touched: <paths>
Tests: <count> passing
"
  }
}

3. Track Progress

Monitor all running agents. Log status updates:

[HH:MM:SS] SWARM ACTIVATED — Goal: "implement login page"
[HH:MM:SS] Phase 1: Dispatching 3 agents (auth-api, db-migrate, middleware)
[HH:MM:SS] Agent auth-api: In Progress
[HH:MM:SS] Agent db-migrate: In Progress  
[HH:MM:SS] Agent middleware: In Progress
[HH:MM:23] Agent db-migrate: Done — 4 migrations applied
[HH:MM:45] Agent middleware: Done — JWT middleware complete
[HH:MM:12] Agent auth-api: Done — 6 endpoints implemented
[HH:MM:13] Phase 2: Dispatching 3 agents (login-ui, session, tests)
...
[HH:MM:58] SWARM COMPLETE — All phases finished successfully

4. Aggregate Results

Collect outputs from all agents. Produce a final summary:

=== SWARM EXECUTION REPORT ===
Goal: implement login page with JWT auth
Duration: 4 minutes 23 seconds
Agents: 6 dispatched across 2 phases

Phase 1 Results:
  ✅ auth-api — 6 endpoints, 12 tests passing
  ✅ db-migrate — 4 migrations applied
  ✅ middleware — JWT validation complete

Phase 2 Results:
  ✅ login-ui — React component + form validation
  ✅ session — Redis session store implemented
  ✅ tests — 28 integration tests added

Final Verification:
  ✅ All tests passing (40/40)
  ✅ No lint errors
  ✅ Git diff: 8 files changed, +612/-45 lines

Status: COMPLETE

Agent Types

Match agent specialization to task type:

Agent TypeBest ForModel
generalComplex multi-step work, any domainHigh-reasoning
exploreCode search, understanding, analysisAny
developerCode generation, refactoring, bug fixesMid-to-high tier

Common Patterns

Parallel Implementation

[SWARM] implement CRUD for User model

→ Dispatch 4 agents:
  1. Backend routes (POST/GET/PUT/DELETE)
  2. Database schema + migrations
  3. Frontend list/create/edit views
  4. Test suite

Research + Build

[SWARM] add real-time notifications

→ Phase 1 (research):
  1. Explore current codebase for event patterns
  2. Design notification schema

→ Phase 2 (build, parallel):
  1. Implement WebSocket handler
  2. Build notification model + API
  3. Create frontend notification panel

Refactor Campaign

[SWARM] migrate to TypeScript

→ Dispatch 4 agents:
  1. Config setup (tsconfig, path aliases)
  2. Core types (models, APIs, utils)
  3. Migrate existing JS modules
  4. Update build pipeline + tests

Error Handling

Agent Failure

[HH:MM:SS] Agent auth-api: FAILED — SyntaxError in api.py:45

Recovery options:
1. Retry with clarified instructions
2. Fix the error directly if simple
3. Skip and continue with other agents (if non-critical)
4. Stop entire swarm (if blocking dependency)

Timeout

  • Set explicit timeouts: "timeout_ms": 300000 (5 minutes)
  • Agents that timeout are marked failed — timeout
  • Orchestration continues with remaining agents

Resource Limits

  • Max 8 concurrent agents per swarm
  • If queue exceeds limit, batch: run 4, wait, run next 4

When NOT to Use [SWARM]

  • Single focused task — Just do it directly
  • Sequential dependencies — One thing must finish before next starts
  • Trivial changes — Under 30 minutes of work
  • Ambiguous goals — Clarify requirements first, then swarm

Use [SWARM] when you have multiple independent workstreams that can execute in parallel to save time.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

ace-music

免费

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

查看 ProjectZeroDays 的全部技能

报告此技能的问题