← 返回 Skills 市场
300
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install aupu-knowledge-base
功能描述
当用户提及任何与本地文档、知识库、参考资料、历史记录、配置文件、说明文档、内部资料、已有内容、文件创建/读取等相关需求时,必须使用本技能从 /mnt/data 目录中检索或操作文件。
使用说明 (SKILL.md)
知识库访问技能(Knowledge Base Access)
🚀 触发条件(高优先级)
只要用户表达出以下任一意图,立即启用本技能:
- 提到“知识库“、“文档”、“文件”、“资料”、“说明”、“手册”、“记录”、“历史”、“配置”、“模板”等词
- 询问“有没有…”、“在哪里找…”、“之前说过…”、“根据…”、“参考…”
- 要求“创建一个基于现有内容的文件”、“从文档中提取…”、“总结一下资料”
- 涉及项目、产品、流程、规范、政策、日志、数据等具体实体,且未提供完整上下文
- 用户请求看似“常识性”,但可能对应内部定制化内容(如“部署步骤是什么?”)
💡 即使用户没有明确写出
/mnt/data或文件名,也应默认尝试在此目录中查找!
🔍 功能说明
所有结构化或非结构化知识均存储于:
📁 /mnt/data/
系统必须优先从此目录读取真实内容,而非依赖模型内置知识或猜测。
✅ 使用规范
- 自动扫描
/mnt/data/及其子目录(支持.pptx,.md,.txt,.json,.yaml,.csv,.pdf等) - 若找到多个候选文件,优先选择路径最匹配、文件名最相关的
- 若未找到,回复:“未在本地知识库(/mnt/data)中找到相关内容,请确认文件是否存在。”
- 禁止编造不存在的文档内容
🌟 示例(扩大触发场景)
| 用户输入 | 正确响应 |
|---|---|
| “怎么部署服务?” | 检查 /mnt/data/docs/deployment.md 或类似文件 |
| “有用户手册吗?” | 查找 /mnt/data/manuals/ 下的 PDF 或 Markdown |
| “上次会议纪要发我一下” | 搜索 /mnt/data/meetings/ 或 /mnt/data/records/ |
| “生成一个 API 调用示例” | 若存在 /mnt/data/examples/api/,从中提取模板 |
| “公司有哪些部门?” | 检查 /mnt/data/org/structure.json 或 departments.md |
| “写个 README” | 查看 /mnt/data/templates/README.md 是否存在 |
⚠️ 注意事项
- WebDAV 挂载点必须处于活跃状态
- 文件名和路径区分大小写
- 优先解析结构化格式(JSON/YAML/Markdown),提升准确性
- 宁可多查,不可不查:不确定时,先查
/mnt/data!
启用后,任何涉及“信息查询”、“内容生成依据”、“文件操作”的请求,默认关联本技能。
安全使用建议
This skill will actively search and read files under /mnt/data whenever users mention many common terms (documents, manuals, deploy steps, templates, '有没有', '在哪里找', etc.), even if the user did not explicitly ask to read local files. Before installing:
- Confirm whether /mnt/data contains any sensitive or private files (credentials, secrets, personal data). If it does, do not enable this skill without restricting its access.
- Prefer a mode requiring explicit user consent or an explicit file-path input before any file read.
- Limit triggers to narrower, more specific phrases or require an explicit opt-in step.
- Test the skill in a sandboxed environment with only non-sensitive sample files.
- If you must use it, log/monitor what files it reads and consider running the agent under a sandbox or with a filesystem permission boundary so the skill cannot access unrelated data.
Given these broad automatic-scan rules, treat the skill as potentially privacy-invasive unless you can constrain or audit its file access.
功能分析
Type: OpenClaw Skill
Name: aupu-knowledge-base
Version: 1.0.1
The skill bundle is a standard configuration for a knowledge base retrieval tool. It contains instructions in skill.md for the AI agent to prioritize searching the /mnt/data directory when the user asks for documents, manuals, or internal records. There is no executable code, no evidence of data exfiltration, and the prompt steering is focused on improving the accuracy of information retrieval from local files rather than performing harmful actions.
能力评估
Purpose & Capability
Name and description claim local knowledge-base access under /mnt/data, and the SKILL.md indeed instructs exactly that. No unrelated binaries, credentials, or installs are requested — the purpose and required capability are aligned.
Instruction Scope
The instructions require the agent to automatically scan /mnt/data and subdirectories for many file types and to trigger on a wide set of common keywords (e.g., '文档', '记录', '参考', '在哪里找', etc.). It explicitly says to attempt a lookup even when the user did not mention /mnt/data or a filename. That gives the skill broad discretion to read arbitrary local files and to activate frequently on ambiguous user input — this is scope creep relative to explicit, user-authorized file access.
Install Mechanism
Instruction-only skill with no install spec or code files. This is low-risk from an installation perspective (nothing gets written or executed on disk by an installer).
Credentials
No environment variables, credentials, or config paths are requested. However, the skill implicitly requires broad read access to the host's /mnt/data filesystem (and expects WebDAV mounts). That level of filesystem access can expose unrelated sensitive files; the skill does not declare any limits or filters to reduce that exposure.
Persistence & Privilege
always:false (good), but autonomous invocation is allowed (default). Combined with the aggressive trigger rules, the skill can be invoked frequently and will read local files whenever common keywords are used. Autonomous invocation alone is normal, but here it increases the risk because triggers are broad and file access is unrestricted.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aupu-knowledge-base - 安装完成后,直接呼叫该 Skill 的名称或使用
/aupu-knowledge-base触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Expanded trigger conditions and directory path for stricter knowledge retrieval based on user intent:
- 目录切换:由 `/mnt/webdav` 更新为 `/mnt/data`,提升通用性。
- 大幅扩展触发场景,明确所有与知识库、本地文档、资料、项目等相关用户请求,均须优先查找本地目录。
- 新增对多种文件类型和子目录的自动扫描规范。
- 明确禁止编造知识库不存在的信息。
- 丰富使用示例,覆盖更多实际应用场景。
- 增强调查优先级与“多查不漏查”原则。
v1.0.0
Knowledge Base Access Skill v1.0.0
- Introduces strict requirement to retrieve all knowledge-based answers from the mounted `/mnt/webdav` directory.
- Enforces file existence check before answering, supporting formats like `.md`, `.txt`, `.pdf`, and `.json`.
- Requires refusing to answer if relevant information is not found in the knowledge base, instead of generating assumed content.
- Prioritizes the use of structured documents for better accuracy.
- Outlines usage examples and best practices for correct handling of knowledge base queries.
- Reminds to ensure the WebDAV mount is active and that paths are case-sensitive.
元数据
常见问题
aupu-knowledge-base 是什么?
当用户提及任何与本地文档、知识库、参考资料、历史记录、配置文件、说明文档、内部资料、已有内容、文件创建/读取等相关需求时,必须使用本技能从 /mnt/data 目录中检索或操作文件。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 300 次。
如何安装 aupu-knowledge-base?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aupu-knowledge-base」即可一键安装,无需额外配置。
aupu-knowledge-base 是免费的吗?
是的,aupu-knowledge-base 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
aupu-knowledge-base 支持哪些平台?
aupu-knowledge-base 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 aupu-knowledge-base?
由 jianyi(@jianeasy)开发并维护,当前版本 v1.0.1。
推荐 Skills