跳到正文
TakoAPI
返回技能列表

local-file-rag-basic

由 wjreliable 提供

Search & Research
1.2k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Scans the specified root directory for supported file types

  2. 2

    Indexes files under 20MB sequentially

  3. 3

    Runs a RAG search query for 'parseConfig'

  4. 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 或你在用的任意编程智能体里。

链接