local-file-rag-basic
由 wjreliable 提供
Search & Research简介
High-performance local File RAG suite (Basic Edition).
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
安装
clawhub install wjreliable/local-file-rag-basic运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。