vector-embed
यह क्या करती है
यह स्किल टेक्स्ट के एक टुकड़े का संख्यात्मक रूप बनाती है, जिसे embedding कहते हैं, और बाद में खोज के लिए उसे संग्रहित कर सकती है। यह उन लोगों के लिए है जो अपने नोट्स या दस्तावेज़ों पर खोज या तुलना बना रहे हैं।
कब इस्तेमाल करें
- ✓जब आप किसी दस्तावेज़ को अर्थ से खोजने योग्य बनाना चाहते हैं।
- ✓जब आप दो टेक्स्ट के बीच समानता की तुलना करना चाहते हैं।
- ✓जब आपको clustering या खोज के लिए embeddings इनपुट के रूप में चाहिए।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-embed/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस मीटिंग नोट को vector में बदलकर सहेजिए, ताकि मैं बाद में मिलते-जुलते नोट्स खोज सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल pinned ruvector टूल इंस्टॉल करती है और एक छोटे स्थानीय भाषा मॉडल से हर टेक्स्ट के लिए 384 संख्याओं वाला vector बनाती है। परिणाम फ़ाइल में लिखा जा सकता है या memory में संग्रहित किया जा सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Vector Embed
Generate and store vector embeddings using the ruvector npm package.
When to use
Use this skill to embed text, code, or documents into 384-dimensional vectors for semantic search, similarity comparison, or clustering. ruvector uses ONNX all-MiniLM-L6-v2 with HNSW indexing (52,000+ inserts/sec, ~0.045ms search).
Steps
- Ensure ruvector@0.3.3 is available:
ruvector 0.3.3 bundles the ONNX runtime; no add-on is needed. Ifnpm ls ruvector 2>/dev/null | grep '0.3.3' || npm install ruvector@0.3.3embed textreportsONNX WASM files not bundled, an older ruvector (0.2.x) is being resolved — rerun with the pinnednpx -y ruvector@0.3.3. - Embed the input (use the
textsubcommand, with text as a positional arg):- Single string:
npx -y ruvector@0.3.3 embed text "your text here" - With output file:
npx -y ruvector@0.3.3 embed text "your text here" -o vec.json - For a file: read its content via the Read tool, then pass it as the positional argument.
- For batch: loop over files in shell — ruvector@0.3.3 has no built-in
--batch/--globflags.
- Single string:
- Adaptive (LoRA) variant:
npx -y ruvector@0.3.3 embed text "..." --adaptive --domain code - Confirm — report vector dimension (384), norm, and any output path written.
- Store metadata in AgentDB if needed:
mcp__plugin_ruflo-core_ruflo__memory_store({ key: "embed-SOURCE", value: "VECTOR_METADATA", namespace: "vector-patterns" })
MCP alternative
Register the MCP server once with the pinned version:
claude mcp add ruvector -- npx -y ruvector@0.3.3 mcp start
Then call MCP tools directly: hooks_rag_context (semantic context), brain_search (collective brain), hooks_ast_analyze, hooks_route.
Caveats
- The
embed --batch --globflags do not exist in ruvector@0.3.3.embed textaccepts one text,--stdin, or--input-file <path>(keeps sensitive text off argv); call it per file. - If embedding fails, run
npx -y ruvector@0.3.3 doctorto diagnose.
अक्सर पूछे जाने वाले सवाल
हर vector कितना लंबा है?
स्रोत के अनुसार हर टेक्स्ट के लिए 384 संख्याएँ होती हैं।
क्या टेक्स्ट मेरे कंप्यूटर से बाहर जाता है?
स्रोत मॉडल को टूल के ज़रिए चलने वाला ONNX मॉडल बताता है, इसलिए embedding के लिए होस्ट की गई API की ज़रूरत नहीं।
अगर मैं बहुत सारी फ़ाइलें embed करूँ तो?
स्किल कहती है कि shell में फ़ाइलों पर loop चलाएँ, क्योंकि टूल में कोई अंतर्निहित batch विकल्प नहीं है।
जानकारी
लेखक का मूल विवरण
Generate embeddings via npx ruvector@0.3.3 embed text (ONNX all-MiniLM-L6-v2, 384-dim), normalize, and store in HNSW index
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1686
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।