← 返回 Skills 市场
123
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claw-local-knowledge
功能描述
本地知识库技能,用于添加和检索知识。当用户需要将文档(docx/pdf/xlsx/pptx)添加到知识库时使用本技能,或在需要从知识库中检索相关知识时使用。
使用说明 (SKILL.md)
Local Knowledge Skill
本地知识库技能,帮助 AI Agent 管理本地文档知识库。
主要功能
- 添加知识:将用户上传的 docx、pdf、xlsx、pptx 文档转换为 markdown,存入知识库
- 检索知识:从知识库中检索与当前任务相关的文档内容
何时使用
- 用户要求将文档添加到知识库
- 用户上传了文件并希望整合到知识库
- Agent 需要查询知识库中的已有知识来辅助回答问题
- 用户询问与知识库中已有文档相关的内容
References 指引
| 场景 | 读取文件 | 说明 |
|---|---|---|
| 添加/整合知识 | references/add_knowledge.md |
完整的文件转换流程:检查临时文件 → 转换格式 → 清洗乱码 → 更新索引 |
| 检索知识 | references/retrieval_knowledge.md |
检索流程:读取索引 → 定位文件 → 读取内容 → 整合信息 |
安全使用建议
This skill appears to do what it says (convert and index local documents and read them back), and it does not request credentials or external network access. However it recommends injecting lines into SOUL.md so the agent will proactively load the skill — that modifies workspace/agent behavior and increases persistence. Before installing: 1) Confirm you want the agent to automatically consult this local knowledge store and allow the skill to write to SOUL.md or workspace files; 2) Review and approve any exact text the skill will append to SOUL.md; 3) Ensure uploaded files in .openclaw/workspace/temp_file/ don't contain secrets you wouldn't want stored in the workspace (the skill will convert and save contents to markdown); and 4) if you prefer less persistence, do not apply the SOUL.md injection and only invoke the skill manually. If you want more assurance, request the author add an explicit, one-time opt-in step for modifying SOUL.md rather than automatic injection.
功能分析
Type: OpenClaw Skill
Name: claw-local-knowledge
Version: 1.0.0
The skill provides a framework for local document ingestion and retrieval, but it includes instructions for the AI agent to execute shell commands (e.g., 'mkdir', 'rm') for directory setup and file cleanup in 'README.md' and 'references/add_knowledge.md'. While these actions are plausibly necessary for managing a local knowledge base, the use of shell execution and file deletion represents a risky capability that could be exploited for path traversal or unauthorized file removal if not properly constrained by the underlying agent platform.
能力评估
Purpose & Capability
Name/description match the declared behavior: converting uploaded docx/pdf/xlsx/pptx to markdown, storing them under .openclaw/workspace/memory/knowledge_base and maintaining an index. Requested resources (none) and file paths are consistent with a local knowledge-base skill.
Instruction Scope
Instructions are mostly within scope (scan temp_file, convert to markdown, clean text, update index, delete originals). However the README/SKILL.md recommend injecting text into SOUL.md to enable proactive loading — that directs the agent to modify workspace-level configuration controlling agent behavior and goes beyond pure ingestion/retrieval.
Install Mechanism
No install spec and no code files present. Instruction-only skills are lower-risk from an install perspective because nothing is downloaded or executed by an installer.
Credentials
No environment variables, credentials, or external endpoints are requested. All file accesses are local and proportional to the stated purpose.
Persistence & Privilege
The skill suggests injecting directives into SOUL.md to make the agent proactively load the skill when uncertain. Writing such persistent instructions into a workspace/agent config increases the skill's persistence and ability to influence agent behavior; this is a meaningful privilege and should be explicitly authorized by the user.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claw-local-knowledge - 安装完成后,直接呼叫该 Skill 的名称或使用
/claw-local-knowledge触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of claw-local-knowledge skill.
- 支持将 docx、pdf、xlsx、pptx 文档转为 markdown 并添加到本地知识库
- 可从知识库检索与任务相关的文档内容
- 明确指引添加、整合、检索知识的场景与流程
- 提供参考文档,助力标准化知识处理
元数据
常见问题
claw-local-knowledge 是什么?
本地知识库技能,用于添加和检索知识。当用户需要将文档(docx/pdf/xlsx/pptx)添加到知识库时使用本技能,或在需要从知识库中检索相关知识时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。
如何安装 claw-local-knowledge?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-local-knowledge」即可一键安装,无需额外配置。
claw-local-knowledge 是免费的吗?
是的,claw-local-knowledge 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
claw-local-knowledge 支持哪些平台?
claw-local-knowledge 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 claw-local-knowledge?
由 Zexun Lin(@overdue-lin)开发并维护,当前版本 v1.0.0。
推荐 Skills