360 Secure SkillHub
360 安全技能中心

文件RAG

面向本地工作区的文件检索 Skill(基础版),通过 Node 脚本对 JS/TS、Python、C++、Go、Markdown、PDF、DOCX、XLSX 等文件建立本地索引,按关键词查询返回骨架、元数据与聚类代码片段;约束为仅索引小于 20MB 的文件并使用单线程顺序索引。

分类:搜索
wjreliable
wjreliable
热度 54.34
最近更新 2026-09-22 02:57:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wjreliable/local-file-rag-basic
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
local-file-rag-basic
version
1.0.0
author
wjreliable
description
High-performance local File RAG suite (Basic Edition).

Skill: Local File RAG Search (Basic Edition)

Description

This is the Basic Edition of the high-performance local RAG suite, providing efficient code and document retrieval within constraints.

  • Constraints:
    • Only indexes files under 20MB.
    • Uses single-threaded (sequential) indexing for lower resource usage.
  • Support: JS/TS, Python, C++, Go, Markdown, PDF, DOCX, XLSX, etc.

Tools

local_file_rag_search

Efficiently searches the local workspace.

Parameters:

  • query (string, required): Search terms or function names.
  • targetFile (string, optional): Specific file path to restrict the search.
  • rootDir (string, optional): Root directory to scan.

Output Protocol: Returns a structured result with Skeletons, Metadata, and Clustered Code Snippets.