vector-embed
하는 일
이 스킬은 텍스트의 숫자 표현인 임베딩을 만들고, 나중에 검색할 수 있도록 저장할 수 있습니다. 내 메모나 문서를 의미로 검색하거나 비교하는 시스템을 만들려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓문서를 의미로 검색할 수 있게 만들고 싶을 때.
- ✓두 텍스트가 얼마나 비슷한지 비교하고 싶을 때.
- ✓군집화나 검색의 입력으로 임베딩이 필요할 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-embed/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 회의 메모를 벡터로 바꿔서 저장해 주세요. 나중에 비슷한 메모를 찾을 수 있게요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 고정된 버전의 ruvector 도구를 설치하고, 작은 로컬 언어 모델로 각 텍스트의 384개 숫자 벡터를 만듭니다. 결과는 파일에 쓰거나 메모리에 저장할 수 있습니다.
기술 내용 (원본 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.
자주 묻는 질문
각 벡터는 얼마나 긴가요?
원본은 텍스트마다 384개의 숫자라고 설명합니다.
텍스트가 내 컴퓨터 밖으로 나가나요?
원본은 이 모델이 도구를 통해 실행되는 ONNX 모델이라고 설명하므로, 임베딩 자체에는 호스팅된 API가 필요하지 않습니다.
파일을 많이 임베딩하려면 어떻게 하나요?
도구에는 일괄 처리 옵션이 없으므로 셸에서 파일을 반복하라고 이 스킬은 말합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.