local-file-rag-basic
by wjreliable
Search & ResearchBrief
High-performance local File RAG suite (Basic Edition).
Description
What This Skill Does
Searches local files using RAG (retrieval-augmented generation) to return code snippets and document excerpts matching a query. Indexes files under 20MB using single-threaded scanning. Supports JS/TS, Python, C++, Go, Markdown, PDF, DOCX, and XLSX formats.
Runs entirely on local files without uploading content to external services, keeping sensitive code and documents private.
When to Use It
- Finding all usages of a function across a large codebase
- Locating relevant sections in local PDF documentation
- Searching project markdown files for a specific topic
- Retrieving code snippets from a Go or Python module
- Querying DOCX or XLSX reports stored on disk
Example Workflow
User asks: find all places where the 'parseConfig' function is called in my project
- 1
Scans the specified root directory for supported file types
- 2
Indexes files under 20MB sequentially
- 3
Runs a RAG search query for 'parseConfig'
- 4
Returns structured results with skeletons, metadata, and clustered code snippets
A list of file locations and code snippets showing each call site of 'parseConfig' with surrounding context
Installation
clawhub install wjreliable/local-file-rag-basicRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.