# Claw RAG

> Simple RAG over local text/markdown.

- Skill: `modbender/claw-rag` (Agent Skill)
- Install (CLI): `npx skillmds@latest add modbender/claw-rag`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/claw-rag/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/modbender/claw-rag

---


# claw-rag
Simple RAG over local text/markdown.

## Inputs
- query (string): question to answer.
- docsPath (string, optional): folder of docs (default ./docs relative to CWD).
- k (number, optional): number of top matches (default 3).

## Output
- answer: synthesized answer from matches.
- matches: [{path, score, snippet}...]

Requires: OPENAI_API_KEY in env.

