vector-setup — Claude Code skill: what it does, how to install
Bootstraps [email protected], installs missing add-ons, and registers the MCP server. Useful when /vector subcommands fail on missing dependencies.
npx skills add ruvnet/ruflo --skill vector-setup -a claude-codeWhat vector-setup does
The skill automates the first-run setup for [email protected] to prevent missing dependency errors across /vector subcommands. Without this bootstrap, commands fail when looking for ONNX WASM assets, @ruvector/pi-brain, or @ruvector/ruvllm.
Execution runs via Bash across set steps. It installs [email protected] and the missing packages. Passing --full also brings in @ruvector/graph-node and @ruvector/router. Afterward, it registers the MCP server through claude mcp add ruvector and validates the installation using doctor alongside smoke checks.
The native Rust toolchain is skipped because it is only necessary for source builds. On macOS arm64, the JS fallback inside @ruvector/ruvllm is sufficient, so native compilation for SONA is not required.
What it helps with
- pin
[email protected]and set up bundled ONNX WASM files - install missing
@ruvector/pi-brainand@ruvector/ruvllmpackages - register the ruvector MCP server in Claude Code
- verify CLI health via
ruvector doctorand smoke tests
Example prompts for the agent
- Set up ruvector and install the core dependencies
- Run vector-setup with the --full flag
- Verify the ruvector install with doctor and register the MCP server
How to install vector-setup
1Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill vector-setup -a claude-code2Manually: put the files in place
~/.claude/skills/vector-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/vector-setup/
1Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill vector-setup -a codex2Manually: put the files in place
.agents/skills/vector-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill vector-setup -a cursor2Manually: put the files in place
.cursor/skills/vector-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ruvnet/ruflo vector-setup2Manually: put the files in place
.github/skills/vector-setup/SKILL.md1Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill vector-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/ruvnet/ruflo --path plugins/ruflo-ruvector/skills/vector-setupManually: put the files in place
.devin/skills/vector-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill vector-setup -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set104
The whole set →Similar
Questions about vector-setup
How do I install vector-setup in Claude Code?
Run npx skills add ruvnet/ruflo --skill vector-setup -a claude-code in your terminal. The skill file will be placed in ~/.claude/skills/vector-setup/SKILL.md.
What does vector-setup do?
It resolves missing module errors for Brain, SONA, and ONNX subcommands. The skill installs the necessary npm packages in one step, configures the MCP server, and runs validation checks.
What does the --full flag add during setup?
Passing --full instructs the skill to pull @ruvector/graph-node and @ruvector/router in addition to @ruvector/pi-brain and @ruvector/ruvllm.
Source text
SKILL.md · MIT
--- name: vector-setup description: First-run setup for [email protected] — installs ONNX/Brain/SONA add-ons, registers the MCP server, and verifies the install via `doctor` argument-hint: "[--full]" allowed-tools: Bash Read --- # Vector Setup Bootstraps `[email protected]` and its optional add-ons so every `/vector` subcommand actually works on first run. ## Why this exists Out of the box, several `/vector` subcommands fail with a confusing dep error: | Error | Missing package | |-------|-----------------| | `ONNX WASM files not bundled. The onnx/ directory is missing.` | none — upgrade to ruvector 0.3.3, which bundles it (0.2.x lacks it) | | `Brain commands require @ruvector/pi-brain` | `@ruvector/pi-brain` | | `SONA not available. Native error: Cannot find module '/.../@ruvector/sona/index.js'` | `@ruvector/ruvllm` (JS fallback) | | `LLM commands require @ruvector/ruvllm` | `@ruvector/ruvllm` | This skill installs them in one pass. ## Steps 1. **Pin ruvector**: ```bash npm install [email protected] ``` 2. **Install the add-ons** (idempotent — only what's missing): ```bash npm install @ruvector/pi-brain \ @ruvector/ruvllm ``` For a leaner install, pass `--full` to also pull `@ruvector/graph-node` and `@ruvector/router`: ```bash npm install @ruvector/pi-brain \ @ruvector/ruvllm \ @ruvector/graph-node \ @ruvector/router ``` 3. **Verify the binary**: ```bash npx -y [email protected] doctor npx -y [email protected] info ``` 4. **Register the MCP server**: ```bash claude mcp add ruvector -- npx -y [email protected] mcp start claude mcp list | grep ruvector ``` 5. **Sanity check** the most common subcommands: ```bash npx -y [email protected] hooks route "test" npx -y [email protected] attention list npx -y [email protected] rvf examples ``` 6. **(Optional) Generate a pi identity** for brain + edge: ```bash npx -y [email protected] identity generate npx -y [email protected] identity show ``` ## Smoke test For a deterministic verification of the install, run the plugin's bundled smoke script: ```bash bash plugins/ruflo-ruvector/scripts/smoke.sh ``` It checks: version pin, top-level subcommand visibility, `hooks ast-analyze`, `hooks route`, `attention list`, `rvf examples`, and `info`. Exits non-zero if any drift from the contracted surface is detected. ## What this does not install - Native Rust toolchain (optional; only needed for source builds) - Platform-specific native bindings (auto-detected by `@ruvector/core`) - `@ruvector/sona` native binding (the JS fallback via `@ruvector/ruvllm` is sufficient on macOS arm64; Linux x64 has its own native binding) If `doctor` still reports a problem after this skill runs, paste its output verbatim and ask.
© ruvnet · MIT · ruvnet/ruflo