Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

hk101-living-rag

bởi metatronsdoob369

Search & Research
758Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Simple RAG over local text/markdown.

Mô tả

Kỹ năng này làm gì

Runs retrieval-augmented generation over a local folder of text or markdown files. Given a query, it finds the most relevant document chunks and returns a synthesized answer with source snippets.

Keeps documents local and avoids uploading sensitive content to external search or indexing services.

Khi nào nên dùng

  • Querying a local knowledge base without a cloud service
  • Searching project documentation by natural language
  • Answering questions from a folder of meeting notes
  • Looking up policies stored as markdown files
  • Finding relevant content across a large docs directory

Quy trình ví dụ

ĐẦU VÀO

User asks: 'What is our refund policy?' with docsPath set to ./company-docs

AGENT
  1. 1

    Scans the target folder for text and markdown files

  2. 2

    Chunks documents into searchable segments

  3. 3

    Embeds the query and document chunks using OpenAI

  4. 4

    Retrieves the top k matching chunks by similarity score

  5. 5

    Synthesizes an answer from the matched content

ĐẦU RA

A direct answer to the query plus an array of matches with file path, score, and snippet for each

Yêu cầu

  • OPENAI_API_KEY environment variable

Cài đặt

clawhub install metatronsdoob369/hk101-living-rag

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết