跳到正文
Skillpedia
分析与电子表格81k · #1688

vector-setup

它能做什么

这项技能安装 ruvector 工具及其可选附加组件,并检查安装是否正常。适用于首次使用向量命令时遇到缺少软件包错误的人。

适用场景

  • ✓当向量命令因缺少软件包或缺少文件的错误而失败的时候。
  • ✓当你第一次设置向量搜索的时候。
  • ✓当你想检查安装是否正常的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-setup/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Pin ruvector:
    npm install ruvector@0.3.3
    
  2. Install the add-ons (idempotent — only what's missing):
    npm install @ruvector/pi-brain \
                @ruvector/ruvllm
    
    For a leaner install, pass --full to also pull @ruvector/graph-node and @ruvector/router:
    npm install @ruvector/pi-brain \
                @ruvector/ruvllm \
                @ruvector/graph-node \
                @ruvector/router
    
  3. Verify the binary:
    npx -y ruvector@0.3.3 doctor
    npx -y ruvector@0.3.3 info
    
  4. Register the MCP server:
    claude mcp add ruvector -- npx -y ruvector@0.3.3 mcp start
    claude mcp list | grep ruvector
    
  5. 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
    
  6. (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/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.

常见问题

为什么我会看到缺少软件包的错误?

有些命令需要默认不包含的附加软件包,这项技能会把它们安装好。

有没有更轻量的安装方式?

有。完整选项会额外添加几个软件包,而标准选项只安装主要附加组件。

我如何确认设置成功?

这项技能会运行工具的 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能