Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ruvnet/ruflo/llms.txt
Use this file to discover all available pages before exploring further.
ruflo init is the first command you run in any new project. It creates the .claude/ directory tree (settings, skills, commands, agents, helpers), writes .mcp.json for Claude Code MCP integration, and optionally bootstraps the V3 runtime in .claude-flow/. Run it once to set up, and use init upgrade whenever you update Ruflo to pull in new helpers without wiping your data.
Synopsis
Subcommands
| Subcommand | Description |
|---|---|
| (default) | Run standard initialization with default, minimal, or full profile |
wizard | Interactive step-by-step setup with prompts for every setting |
check | Verify whether Ruflo is already initialized in the current directory |
skills | Install or update only the skills in .claude/skills/ |
hooks | Create or overwrite only the hooks configuration in settings.json |
upgrade | Update helpers and statusline while preserving existing data |
Default init
Bootstraps a new project using the default profile (recommended for most teams).claudeFlow section in .claude/settings.json, a claude-flow or ruflo key in .mcp.json, or the presence of .claude-flow/config.yaml. If any of these signals are found, the command warns and prompts before overwriting (or exits non-zero in non-interactive mode).
What gets created
Options
Overwrite existing configuration without prompting.
Create a minimal configuration: core skills only, no commands, no agent definitions. Fastest install (~15 s with
--omit=optional).Create a full configuration: all skill sets, all agent types, all hooks enabled. Excludes auth-gated cloud MCP servers unless
--cloud-mcp is also passed.Register the auth-gated cloud MCP servers (
ruv-swarm, flow-nexus) in .mcp.json. Only meaningful with --full.Initialize for OpenAI Codex CLI: creates
AGENTS.md and .agents/skills/ instead of CLAUDE.md and .claude/skills/.Dual-mode: initialize for both Claude Code and OpenAI Codex simultaneously.
Install all ~89 agent categories. Default is the ~24-agent substrate (core, consensus, swarm, SPARC, testing).
Skip
.claude/ directory creation; set up V3 runtime only.Create only the
.claude/ directory; skip V3 runtime setup.Skip writing the
Ruflo Integration pointer block into ~/.claude/CLAUDE.md.Auto-start the background daemon, initialize the memory database, and create an initial swarm after init completes.
Auto-start only the background daemon after init.
Initialize the ONNX embedding subsystem with Poincaré hyperbolic support.
ONNX model to use for embeddings. Choices:
Xenova/all-MiniLM-L6-v2 (384-dim, fast), Xenova/all-mpnet-base-v2 (768-dim, higher quality).wizard
The interactive setup wizard walks you through every configuration decision: component selection, topology, memory backend, embedding model, and hook set. Answers are gathered before any files are written.- Preset —
default,minimal,full, orcustom - Components (custom only) — checkboxes for each
.claude/subdirectory - Skill sets —
core,agentdb,github,v3,flowNexus - Hooks — per-event toggles
- Swarm topology —
hierarchical-mesh,mesh,hierarchical,adaptive - Max agents — numeric input (1–50)
- Memory backend —
hybrid,agentdb,sqlite,in-memory - HNSW indexing — enable/disable
- Neural learning — enable/disable (includes LearningBridge + Knowledge Graph)
- Embedding model — model selection
check
Inspect whether the current directory is already initialized.--format json for machine-readable output.
skills
Install or refresh only the skill files in.claude/skills/, leaving all other configuration untouched.
Install every available skill set.
Install core skills: swarm, memory, SPARC patterns.
Install AgentDB vector-database skills.
Install GitHub integration skills (PR, issues, workflow automation).
Install V3 implementation skills.
hooks
Create or overwrite only the hooks block in.claude/settings.json. Also writes .claude/helpers/hook-handler.cjs (the hook-handler script is required; omitting it silently produces a settings file with no hooks key).
Enable only
PreToolUse and PostToolUse hooks. Default enables all seven hook events.upgrade
Pulls in the latesthook-handler.cjs and statusline helper without touching your stored memories, patterns, or custom skills.
Detect and install any new skills, agents, and commands added since your last install.
Merge new settings (Agent Teams configuration, new hook entries) into the existing
settings.json.Print the full list of preserved files alongside updated and created ones.
Examples
Running
ruflo init in a project that already has .claude/settings.json created by Claude Code itself will not trigger the “already initialized” warning — Ruflo only considers a project initialized when it finds Ruflo-specific signals (a claudeFlow section, a claude-flow/ruflo key in .mcp.json, or .claude-flow/config.yaml).