New to Claude Skills? Learn how to install them →

Vruvnet on GitHub

Vector Setup

Free

Streamline ruvector installation with essential add-ons.

by ruvnet67.6k stars on ruvnet/ruflo
1 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Vector Setup does

Vector Setup is a skill designed to facilitate the first-run setup of ruvector@0.2.25, ensuring that all necessary components are installed for seamless operation. Many users encounter issues with missing dependencies when trying to execute /vector subcommands, which can lead to confusion and wasted time. This skill automates the installation of required add-ons, such as ruvector-onnx-embeddings-wasm, @ruvector/pi-brain, and @ruvector/ruvllm, thereby eliminating these common pitfalls.

The installation process is straightforward and idempotent, meaning it will only install what is missing, avoiding unnecessary duplication. Users can opt for a lean installation or include additional components like @ruvector/graph-node and @ruvector/router for a more comprehensive setup. After installation, the skill includes verification steps to ensure that the setup is complete and functional, allowing users to quickly confirm that everything is working as intended.

This skill is particularly useful for developers and designers who are setting up ruvector for the first time and want to avoid the hassle of manually resolving dependency issues. By automating the setup process, it saves time and reduces the likelihood of errors, making it an essential tool for anyone looking to leverage the capabilities of ruvector effectively.

However, it's important to note that this skill does not install the native Rust toolchain or platform-specific bindings, which may be necessary for certain builds. Users should ensure they have the appropriate environment set up if they require these additional components.

When to use it

Use this skill when you are setting up `ruvector` for the first time or when you encounter dependency errors with `/vector` commands.

When not to use it

This skill is not suitable for users who already have `ruvector` and its dependencies correctly installed, or for those who need to install native bindings specific to their platform.

What you can build with it

First-time Setup

Use this skill when setting up `ruvector` for the first time to ensure all dependencies are installed.

Resolving Dependency Errors

Employ this skill to quickly resolve common dependency errors encountered with `/vector` commands.

Streamlining Development Environment

Integrate this skill into your development workflow to automate the setup of `ruvector` and its add-ons.

How to install Vector Setup

View source

1. Install with the skills CLI

npx skills add ruvnet/ruflo/vector-setup --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by ruvnet

Vector Setup

Bootstraps ruvector@0.2.25 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:

ErrorMissing package
ONNX WASM files not bundled. The onnx/ directory is missing.ruvector-onnx-embeddings-wasm
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:
    npm install ruvector@0.2.25
    
  2. Install the add-ons (idempotent — only what's missing):
    npm install ruvector-onnx-embeddings-wasm \
                @ruvector/pi-brain \
                @ruvector/ruvllm
    
    For a leaner install, pass --full to also pull @ruvector/graph-node and @ruvector/router:
    npm install ruvector-onnx-embeddings-wasm \
                @ruvector/pi-brain \
                @ruvector/ruvllm \
                @ruvector/graph-node \
                @ruvector/router
    
  3. Verify the binary:
    npx -y ruvector@0.2.25 doctor
    npx -y ruvector@0.2.25 info
    
  4. Register the MCP server:
    claude mcp add ruvector -- npx -y ruvector@0.2.25 mcp start
    claude mcp list | grep ruvector
    
  5. Sanity check the most common subcommands:
    npx -y ruvector@0.2.25 hooks route "test"
    npx -y ruvector@0.2.25 attention list
    npx -y ruvector@0.2.25 rvf examples
    
  6. (Optional) Generate a pi identity for brain + edge:
    npx -y ruvector@0.2.25 identity generate
    npx -y ruvector@0.2.25 identity show
    

Smoke test

For a deterministic verification of the install, run the plugin's bundled smoke script:

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.

Frequently asked questions about Vector Setup

Similar skills