본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트81k · #1526

embeddings

하는 일

이 스킬은 텍스트를 의미를 담은 숫자 패턴인 임베딩으로 바꾸고, 비슷한 내용을 검색하도록 에이전트를 돕습니다. 단어가 똑같지 않아도 관련된 생각이나 문서를 찾고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓새 요청과 의미가 비슷한 과거 작업을 찾고 싶을 때.
  • ✓정확한 키워드 검색으로는 같은 내용을 설명하는 항목을 놓칠 때.
  • ✓에이전트가 쓸 수 있도록 패턴이나 문서를 검색 가능한 저장소에 보관해야 할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/embeddings/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/embeddings/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“보안 모범 사례와 의미가 비슷한 과거 문서를 찾아서, 가장 가까운 다섯 개를 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 텍스트를 벡터로 바꾸고, 로컬 데이터베이스에 저장한 뒤, 새 질의를 비교해 가장 가까운 결과를 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Embeddings Skill

Purpose

Vector embeddings for semantic search and pattern matching with HNSW indexing.

Features

Feature Description
sql.js Cross-platform SQLite persistent cache (WASM)
HNSW 150x-12,500x faster search
Hyperbolic Poincare ball model for hierarchical data
Normalization L2, L1, min-max, z-score
Chunking Configurable overlap and size
75x faster With agentic-flow ONNX integration

Commands

Initialize Embeddings

npx claude-flow embeddings init --backend sqlite

Embed Text

npx claude-flow embeddings embed --text "authentication patterns"

Batch Embed

npx claude-flow embeddings batch --file documents.json

Semantic Search

npx claude-flow embeddings search --query "security best practices" --top-k 5

Memory Integration

# Store with embeddings
npx claude-flow memory store --key "pattern-1" --value "description" --embed

# Search with embeddings
npx claude-flow memory search --query "related patterns" --semantic

Quantization

Type Memory Reduction Speed
Int8 3.92x Fast
Int4 7.84x Faster
Binary 32x Fastest

Best Practices

  1. Use HNSW for large pattern databases
  2. Enable quantization for memory efficiency
  3. Use hyperbolic for hierarchical relationships
  4. Normalize embeddings for consistency
자주 묻는 질문

임베딩이란 무엇인가요?

텍스트의 의미를 나타내는 숫자 목록입니다.

클라우드 서비스가 필요한가요?

스킬은 로컬 SQLite 캐시를 설명하므로, 데이터는 사용자의 환경에 저장됩니다.

언제 쓰지 않아야 하나요?

정확한 텍스트 일치나 단순한 조회에는 쓰지 않는 것이 좋다고 스킬은 설명합니다.

상세 정보

작성자의 원본 설명

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1526
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬