技能详情(站内镜像,无评论)
作者:vx:17605205782 @52YuanChangXing
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 32 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:52yuanchangxing/local-rag-index-planner
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions align with its stated purpose (local knowledge-index planning and local directory/file auditing); it requires only python3 and has no outsized credential or install demands — but it will read any local files you point it at, so avoid giving it sensitive system paths or secrets to scan.
目的
Name/description match the included files: SKILL.md, README, resources/spec.json describe planning/local-audit tasks and scripts/run.py implements structured reports, directory scans, CSV reports and pattern scans. Required binary is python3 — appropriate for the included Python script. No unrelated credentials, binaries or installs are requested.
说明范围
SKILL.md explicitly instructs the agent to use local template/spec files and optionally run scripts/run.py. The script reads files under any input path and scans many text file types (md, json, py, sh, csv, etc.). This is coherent for a local index planner but means the skill will read whatever input path you give it (including potentially sensitive files) — the skill itself does not exfiltrate data or contact external endpoints, but outputs c…
安装机制
No install spec; instruction-only with an optional local Python script. No remote downloads or package installs are performed by the skill bundle. This is low-risk from an install perspective.
证书
The skill declares no required environment variables or credentials and only needs python3. The script reads files provided by the user but does not require unrelated tokens or secrets. Requested permissions are proportional to the stated functionality.
持久
always is false and the skill does not request system-level persistence. It does not modify other skills or system-wide configs. Autonomous invocation is allowed by default (platform behavior) but is not combined with other elevated privileges.
综合结论
This skill appears internally consistent and only needs python3, but it will read whatever path you pass to the script (files and directories including .py/.sh/.json/.md/.csv). Before running or letting an agent invoke it: (1) do not point it at system roots or directories that contain secrets (e.g., /etc, ~/.ssh, credential stores); (2) sanitize or remove sensitive data from inputs you supply; (3) review output before sharing externally (repo…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Local Rag Index Planner」。简介:规划本地知识库的目录、分片粒度、命名、更新时间与访问边界,而不是直接堆 RAG。;use for rag, indexing, knowledge workf…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/52yuanchangxing/local-rag-index-planner/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: local-rag-index-planner
version: 1.0.0
description: "规划本地知识库的目录、分片粒度、命名、更新时间与访问边界,而不是直接堆 RAG。;use for rag, indexing, knowledge workflows;do not use for 直接部署向量数据库, 忽略权限隔离."
author: OpenClaw Skill Bundle
homepage: https://example.invalid/skills/local-rag-index-planner
tags: [rag, indexing, knowledge, architecture]
user-invocable: true
metadata: {"openclaw":{"emoji":"🗃️","requires":{"bins":["python3"]},"os":["darwin","linux","win32"]}}
---
# 本地知识索引规划师
## 你是什么
你是“本地知识索引规划师”这个独立 Skill,负责:规划本地知识库的目录、分片粒度、命名、更新时间与访问边界,而不是直接堆 RAG。
## Routing
### 适合使用的情况
- 帮我规划本地知识索引结构
- 不要一上来就做复杂 RAG
- 输入通常包含:资料类型、检索需求、权限边界
- 优先产出:目标与边界、资料分层、风险与限制
### 不适合使用的情况
- 不要直接部署向量数据库
- 不要忽略权限隔离
- 如果用户想直接执行外部系统写入、发送、删除、发布、变更配置,先明确边界,再只给审阅版内容或 dry-run 方案。
## 工作规则
1. 先把用户提供的信息重组成任务书,再输出结构化结果。
2. 缺信息时,优先显式列出“待确认项”,而不是直接编造。
3. 默认先给“可审阅草案”,再给“可执行清单”。
4. 遇到高风险、隐私、权限或合规问题,必须加上边界说明。
5. 如运行环境允许 shell / exec,可使用:
- `python3 "{baseDir}/scripts/run.py" --input <输入文件> --output <输出文件>`
6. 如当前环境不能执行脚本,仍要基于 `{baseDir}/resources/template.md` 与 `{baseDir}/resources/spec.json` 的结构直接产出文本。
## 标准输出结构
请尽量按以下结构组织结果:
- 目标与边界
- 资料分层
- 切片策略
- 元数据建议
- 更新策略
- 风险与限制
## 本地资源
- 规范文件:`{baseDir}/resources/spec.json`
- 输出模板:`{baseDir}/resources/template.md`
- 示例输入输出:`{baseDir}/examples/`
- 冒烟测试:`{baseDir}/tests/smoke-test.md`
## 安全边界
- 聚焦结构设计,避免过早工程化。
- 默认只读、可审计、可回滚。
- 不执行高风险命令,不隐藏依赖,不伪造事实或结果。