vector-setup
它能做什么
这项技能安装 ruvector 工具及其可选附加组件,并检查安装是否正常。适用于首次使用向量命令时遇到缺少软件包错误的人。
适用场景
- ✓当向量命令因缺少软件包或缺少文件的错误而失败的时候。
- ✓当你第一次设置向量搜索的时候。
- ✓当你想检查安装是否正常的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我设置 ruvector,使向量命令能正常工作,并检查安装。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能固定 ruvector 的版本,安装缺失的附加组件,运行工具的健康检查和信息检查,并注册工具服务器。它只安装尚未存在的内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Vector Setup
Bootstraps ruvector@0.3.3 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
- Pin ruvector:
npm install ruvector@0.3.3 - Install the add-ons (idempotent — only what's missing):
For a leaner install, passnpm install @ruvector/pi-brain \ @ruvector/ruvllm--fullto also pull@ruvector/graph-nodeand@ruvector/router:npm install @ruvector/pi-brain \ @ruvector/ruvllm \ @ruvector/graph-node \ @ruvector/router - Verify the binary:
npx -y ruvector@0.3.3 doctor npx -y ruvector@0.3.3 info - Register the MCP server:
claude mcp add ruvector -- npx -y ruvector@0.3.3 mcp start claude mcp list | grep ruvector - Sanity check the most common subcommands:
npx -y ruvector@0.3.3 hooks route "test" npx -y ruvector@0.3.3 attention list npx -y ruvector@0.3.3 rvf examples - (Optional) Generate a pi identity for brain + edge:
npx -y ruvector@0.3.3 identity generate npx -y ruvector@0.3.3 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/sonanative binding (the JS fallback via@ruvector/ruvllmis 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.
常见问题
为什么我会看到缺少软件包的错误?
有些命令需要默认不包含的附加软件包,这项技能会把它们安装好。
有没有更轻量的安装方式?
有。完整选项会额外添加几个软件包,而标准选项只安装主要附加组件。
我如何确认设置成功?
这项技能会运行工具的 doctor 和 info 命令,并报告输出结果。
详情
作者的原始描述
First-run setup for ruvector@0.3.3 — installs ONNX/Brain/SONA add-ons, registers the MCP server, and verifies the install via `doctor`
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1688
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。