Autonomously plans, develops, tests, and delivers full software projects from plain-English prompts using coordinated multi-agent roles and automated quality...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install swarm-coding-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install swarm-coding-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/swarm-coding-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: swarm-coding-skill description: Autonomous multi-agent code generation. Planner creates manifest, specialized roles execute tasks. Generates complete projects with tests, Docker, CI, and decision logs. requiredEnv: - OPENROUTER_API_KEY optionalEnv: - OPENROUTER_MODEL - MOCK warnings: - Writes to parent workspace (swarm-projects/, .learnings/). Run in isolated workspace. - Stores prompts and agent reasoning in DECISIONS.md and .learnings/. Do not include sensitive data. - Auto-includes Privy/web3 auth when prompts mention blockchain. Review generated code. autonomy: orchestrator-driven-code-generation outputPaths: - swarm-projects/{timestamp}/ - .learnings/ - DECISIONS.md - SWARM_SUMMARY.md externalServices: - name: OpenRouter purpose: LLM inference for planning and code generation scope: API key sent with requests capabilities: - code-generation - multi-agent-orchestration - project-scaffolding - docker-ci - testing - knowledge-grounded-decisions - continuous-improvement ---
Fully autonomous multi-agent software development. Given a plain-English prompt, the swarm designs, implements, tests, and delivers a complete project end-to-end.
Core capability: Code generation via OpenRouter's qwen3-coder model. The orchestrator drives a Planner to create a manifest, then executes specialized worker roles (BackendDev, FrontendDev, QA, DevOps, etc.) in dependency order. All code is written to files; no interactive sessions.
Important: This skill generates code for review and deployment by the user. It does not make business decisions or operate autonomously in production. The user remains responsible for security, compliance, and operational decisions.
Planner role) analyzes your prompt, decides tech stack and architecture, and creates a swarm.yaml manifest with tasks and dependencies.BackendDev, FrontendDev, QA, DevOps) are spawned as sub-sessions. Each has a clear persona and works on its assigned files in a shared workspace.server/, Frontend owns client/, etc.). If two roles need the same file, the manifest assigns an owner.# In your main OpenClaw session, invoke:
/trigger swarm-code "Build a dashboard that shows Moltbook stats and ClawCredit status"
The skill will:
.env at workspace root): - Required: OPENROUTER_API_KEY — OpenRouter API key with qwen/qwen3-coder access - Optional: OPENROUTER_MODEL (default: qwen/qwen3-coder), MOCK=1 for dry-run
Important: The orchestrator reads .env from the workspace root (parent directory of this skill) and writes project files to swarm-projects/ and logs to .learnings/ in that same workspace root. Run in an isolated workspace to avoid exposing unrelated secrets.
Store your OpenRouter key in .env at the workspace root:
OPENROUTER_API_KEY=sk-or-...
Optional overrides:
OPENROUTER_MODEL=qwen/qwen3-coder
MOCK=1 # dry-run, no API calls
The skill uses qwen/qwen3-coder by default. Ensure your OpenRouter key has that model enabled.
The created project lives in swarm-projects/ and includes:
README.md with run instructionspackage.json (or equivalent)test/ directory with automated testsDockerfile and docker-compose.yml (if applicable)CI/ with GitHub Actions workflow (optional)DECISIONS.md — Project memory documenting key architectural and technical decisions with rationale.learnings/ — Learning logs capturing errors, insights, and feature requests - ERRORS.md — Failures, exceptions, and recovery actions - LEARNINGS.md — Corrections, better approaches, knowledge gaps - FEATURE_REQUESTS.md — Requested capabilities that don't exist yet
SWARM_SUMMARY.md — Execution summary with role performance, statistics, and next stepsThe swarm skill automatically captures learnings during execution to improve future runs:
.learnings/ERRORS.md with context and recovery suggestions.learnings/LEARNINGS.md (e.g., "Simplified X by using Y").learnings/LEARNINGS.md when you override a decision.learnings/FEATURE_REQUESTS.md when you ask for something the skill can't doA SWARM_SUMMARY.md is generated with:
Over time, review .learnings/ files:
This creates a feedback loop where each swarm run makes the skill smarter.
.openclaw/agents//sessions/ ./stop to the orchestrator's session./auth/callback with JWKS verification and a simulated fallback; frontend integrates @privy-io/react-auth if React is used. For advanced agentic wallet controls, see the Privy Agentic Wallets skill.DECISIONS.md file that documents significant decisions made by the planner and each agent. This serves as long-term knowledge grounding—future developers (or the same human weeks later) can understand why certain choices were made. Agents are prompted to explain their technical decisions (e.g., library selection, architecture patterns, security tradeoffs) as part of their output.Enjoy your autonomous coding factory 🚀
安装 Hackathon Swarm Coding 后,可以对 AI 说这些话来触发它
Help me get started with Hackathon Swarm Coding
Explains what Hackathon Swarm Coding does, walks through the setup, and runs a quick demo based on your current project
Use Hackathon Swarm Coding to autonomously plans, develops, tests, and delivers full software pro...
Invokes Hackathon Swarm Coding with the right parameters and returns the result directly in the conversation
What can I do with Hackathon Swarm Coding in my ai agent & automation workflow?
Lists the top use cases for Hackathon Swarm Coding, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/swarm-coding-skill/ 目录(个人级,所有项目可用),或 .claude/skills/swarm-coding-skill/(项目级)。重启 AI 客户端后,用 /swarm-coding-skill 主动调用,或让 AI 根据上下文自动发现并使用。
Hackathon Swarm Coding 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Hackathon Swarm Coding 可免费安装使用。请查阅仓库了解许可证信息。
Autonomously plans, develops, tests, and delivers full software projects from plain-English prompts using coordinated multi-agent roles and automated quality...
Hackathon Swarm Coding 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Hackathon Swarm Coding
Identifies repetitive steps in your workflow and sets up Hackathon Swarm Coding to handle them automatically