Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính81k · #1688

vector-setup

Skill này làm gì

Skill này cài công cụ ruvector và các tiện ích tùy chọn của nó, rồi kiểm tra cài đặt có hoạt động không. Skill dành cho người gặp lỗi thiếu gói khi lần đầu dùng các lệnh vector.

Khi nào nên dùng

  • ✓Khi một lệnh vector bị lỗi do thiếu gói hoặc thiếu file.
  • ✓Khi bạn đang thiết lập tìm kiếm vector lần đầu tiên.
  • ✓Khi bạn muốn kiểm tra cài đặt có khỏe mạnh không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-setup/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy cài đặt ruvector cho tôi để các lệnh vector hoạt động, rồi kiểm tra cài đặt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill ghim phiên bản ruvector, cài các tiện ích còn thiếu, chạy các lệnh kiểm tra sức khỏe và thông tin của công cụ, rồi đăng ký máy chủ công cụ. Skill chỉ cài những gì chưa có sẵn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Vì sao tôi thấy lỗi thiếu gói?

Một số lệnh cần các gói bổ sung không có sẵn mặc định, và skill sẽ cài chúng.

Có cách cài nhẹ hơn không?

Có. Tùy chọn đầy đủ thêm một vài gói, còn cài tiêu chuẩn chỉ cài các tiện ích chính.

Làm sao để xác nhận đã cài thành công?

Skill chạy lệnh doctor và info của công cụ rồi báo cáo đầu ra.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1688
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự