本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-setup/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル