LaunchKit · 2026
Back to Skills

hk101-living-rag

Simple RAG over local text/markdown.

2
758 downloads
by @metatronsdoob369

Setup & Installation

openclaw skills install @metatronsdoob369/hk101-living-rag

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install hk101-living-rag

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

Here's how your AI assistant might use this skill in practice.

INPUT

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

AGENT
  1. 1Scans the target folder for text and markdown files
  2. 2Chunks documents into searchable segments
  3. 3Embeds the query and document chunks using OpenAI
  4. 4Retrieves the top k matching chunks by similarity score
  5. 5Synthesizes 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

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

OPENAI_API_KEY environment variable