Skip to content
TakoAPI
Back to skills

hk101-living-rag

by metatronsdoob369

Search & Research
758Downloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Simple RAG over local text/markdown.

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

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

OUTPUT

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

Requirements

  • OPENAI_API_KEY environment variable

Installation

clawhub install metatronsdoob369/hk101-living-rag

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links