jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ ベクターセットアップ

vector-setup

ruvector 0.2.25 の初期設定として、必要なアドオンをインストールし、サーバー登録と動作確認を行うSkill。

⏱ コードレビュー 1時間 → 10分

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

First-run setup for ruvector@0.2.25 — installs ONNX/Brain/SONA add-ons, registers the MCP server, and verifies the install via `doctor`

🇯🇵 日本人クリエイター向け解説

一言でいうと

ruvector 0.2.25 の初期設定として、必要なアドオンをインストールし、サーバー登録と動作確認を行うSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Vector Setup を使って、最小構成のサンプルコードを示して
  • Vector Setup の主な使い方と注意点を教えて
  • Vector Setup を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

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:

Error Missing 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.