← Back to Skills Marketplace
overdue-lin

claw-local-knowledge

by Zexun Lin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
123
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install claw-local-knowledge
Description
本地知识库技能,用于添加和检索知识。当用户需要将文档(docx/pdf/xlsx/pptx)添加到知识库时使用本技能,或在需要从知识库中检索相关知识时使用。
README (SKILL.md)

Local Knowledge Skill

本地知识库技能,帮助 AI Agent 管理本地文档知识库。

主要功能

  • 添加知识:将用户上传的 docx、pdf、xlsx、pptx 文档转换为 markdown,存入知识库
  • 检索知识:从知识库中检索与当前任务相关的文档内容

何时使用

  • 用户要求将文档添加到知识库
  • 用户上传了文件并希望整合到知识库
  • Agent 需要查询知识库中的已有知识来辅助回答问题
  • 用户询问与知识库中已有文档相关的内容

References 指引

场景 读取文件 说明
添加/整合知识 references/add_knowledge.md 完整的文件转换流程:检查临时文件 → 转换格式 → 清洗乱码 → 更新索引
检索知识 references/retrieval_knowledge.md 检索流程:读取索引 → 定位文件 → 读取内容 → 整合信息
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install claw-local-knowledge
  3. After installation, invoke the skill by name or use /claw-local-knowledge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of claw-local-knowledge skill. - 支持将 docx、pdf、xlsx、pptx 文档转为 markdown 并添加到本地知识库 - 可从知识库检索与任务相关的文档内容 - 明确指引添加、整合、检索知识的场景与流程 - 提供参考文档,助力标准化知识处理
Metadata
Slug claw-local-knowledge
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is claw-local-knowledge?

本地知识库技能,用于添加和检索知识。当用户需要将文档(docx/pdf/xlsx/pptx)添加到知识库时使用本技能,或在需要从知识库中检索相关知识时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 123 downloads so far.

How do I install claw-local-knowledge?

Run "/install claw-local-knowledge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is claw-local-knowledge free?

Yes, claw-local-knowledge is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does claw-local-knowledge support?

claw-local-knowledge is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created claw-local-knowledge?

It is built and maintained by Zexun Lin (@overdue-lin); the current version is v1.0.0.

💬 Comments