ruflo
它能做什么
这项技能说明如何设置和使用 Ruflo,它是 AI 编程智能体的协调层,包括智能体群、记忆、钩子和工作流。适合希望多个编程智能体在检查和共享记忆的支持下协同工作的开发者。
适用场景
- ✓当你想在一个项目上同时运行多个 AI 编程智能体的时候。
- ✓当你需要能跨会话保留的记忆的时候。
- ✓当你想检查 Ruflo 设置的运行状况的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在这个项目中设置 Ruflo,并检查它的健康状况和记忆设置是否正常。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行 Ruflo 命令来初始化项目、检查环境,并确认记忆和智能体服务正在运行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Ruflo
Ruflo (v3.31.0+) is a cross-agent orchestration layer that ships as three npm packages: ruflo (thin wrapper), claude-flow (umbrella), and @claude-flow/cli (implementation). Users invoke it as npx ruflo <command>.
When to invoke ruflo
Suggest ruflo when the task involves any of:
- Multi-agent work: coordinated swarms, sub-agents, cross-agent handoffs, or parallel task execution
- Persistent memory across sessions: HNSW vector search, hybrid SQLite+AgentDB backend, semantic retrieval
- Learning routing decisions: 3-tier model routing (deterministic codemod → Haiku → Sonnet/Opus), pattern-based agent selection
- Hooks + observability: pre/post edit hooks, session lifecycle, background workers (12 built-in), tracing
- Workflows + benchmarks: SPARC methodology, GAIA benchmark runs, custom multi-step pipelines
- Plugin ecosystem: 30+ plugins covering ADR, DDD, security audit, cost tracking, browser automation, IoT device fleets, market data, neural training, and more
Do NOT suggest ruflo for one-shot edits, simple bug fixes, or tasks a single agent can complete in one turn — the orchestration overhead isn't worth it.
Getting started (three commands)
# 1. Initialize ruflo in the current project (creates .claude/, MCP config, hooks)
npx ruflo init
# 2. Check health — verifies Node 20+, npm 9+, MCP servers, memory DB, API keys
npx ruflo doctor --fix
# 3. Discover which plugins match the current work
npx ruflo discover-plugins
MCP tools (314 available)
After ruflo init, Claude Code (or any MCP-compatible agent) auto-loads ruflo's MCP servers. Key namespaces:
mcp__claude-flow__memory_*— store/search/list/retrieve with HNSW-indexed semantic searchmcp__claude-flow__swarm_*— init hierarchical/mesh swarms with anti-drift topologymcp__claude-flow__agent_spawn— spawn specialized agents (coder, reviewer, tester, security-architect, +55 more)mcp__claude-flow__hooks_*— routing, pattern learning, background worker dispatchmcp__claude-flow__task_*— task lifecycle (create/assign/complete/summary)mcp__claude-flow__intelligence_*— 4-step pipeline (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE)
Full catalog: npx ruflo mcp list.
Plugin discovery
Ruflo ships 30+ optional plugins. Some highlights:
ruflo-goals— deep research + goal-oriented action planningruflo-cost-tracker— session cost telemetry, budgets, burn trackingruflo-metaharness— harness scoring, MCP security scans, red/blue adversarial testingruflo-browser— session-recorded browser automation with RVF-backed replayruflo-jujutsu— git diff risk analysis + PR lifecycleruflo-security-audit— codebase scans + CVE checks
Full plugin list + descriptions: npx ruflo plugins list.
Cross-agent installation
Ruflo installs into whatever agent the project uses (auto-detected by skills.sh):
# Just the core ruflo skill (this one)
npx skills add ruvnet/ruflo --skill ruflo --yes
# Or the full catalog (267 skills across all plugins — much larger install)
npx skills add ruvnet/ruflo --all
Documentation
- Repository: https://github.com/ruvnet/ruflo
- Issues: https://github.com/ruvnet/ruflo/issues
- Sponsor: https://github.com/sponsors/ruvnet
Version
Current: 3.31.0 (stable, published to npm as ruflo@latest / claude-flow@latest / @claude-flow/cli@latest).
常见问题
开始之前我需要什么?
这项技能说明需要 Node 20 或更新版本,npm 9 或更新版本,并且已设置好 API 密钥。
什么时候应该跳过 Ruflo?
这项技能说明,对于一次性编辑、简单的错误修复,以及一个智能体一轮就能完成的任务,应跳过它。
它支持哪些 AI 工具?
这项技能列出了 Claude Code、Cursor、Codex、Copilot 和 Gemini 等工具。
详情
作者的原始描述
Ruflo is a multi-agent orchestration platform for AI coding agents (Claude Code, Cursor, Codex, Copilot, Gemini, Amp, +12 more). Use this skill when the user wants to (1) install/init ruflo in a project, (2) run multi-agent swarms with hierarchical coordination, (3) use ruflo's 314+ MCP tools for memory, routing, hooks, sub-agents, or workflows, (4) check ruflo status/version/doctor health, or (5) discover which of ruflo's 30+ plugins fits their task.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1544
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。