闲社服务运行正常AI智能体自动化平台
p

私有知识库

技能标识:private-knowledge-base

Personal knowledge base for PDFs, papers, and documents with cross-document Q&A and concept retrieval. Use when: (1) User asks questions about stored documents ("which doc mentions X?"), (2) Need to summarize concepts across multiple PDFs, (3) User wants to ingest new PDFs/papers into knowledge base, (4) Cross-document linking and association is needed, (5) Fast semantic search over personal document collection.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

私有知识库

私有知识库

用于PDF、论文和研究文档的个人文档存储与检索系统。

快速开始

导入文档

bash

将PDF添加到知识库


./scripts/ingest.sh ~/path/to/document.pdf

处理整个文件夹

./scripts/ingest-folder.sh ~/papers/

查询知识库

bash

在所有文档中搜索概念


./scripts/search.sh transformer架构

从相关文档中获取概念摘要

./scripts/summarize.sh 注意力机制

核心工作流程

1. 文档导入

当用户提供新的PDF或论文时:

  1. 1. 在kb/index.json中创建文档条目
  2. 提取文本和元数据
  3. 生成用于语义搜索的嵌入向量
  4. 使用规范化名称存储在kb/docs/中

2. 跨文档问答

当用户询问哪个文档提到了X?或从我的文档中总结X时:

  1. 1. 搜索嵌入向量以查找相关段落
  2. 检索源文档
  3. 跨文档综合答案
  4. 引用来源,注明文档名称和页码

3. 概念链接

建立文档之间的关联:

  • - 共享概念
  • 引用关系
  • 主题聚类

文件结构

private-knowledge-base/
├── SKILL.md
├── scripts/
│ ├── ingest.sh # 单个文档导入
│ ├── ingest-folder.sh # 批量导入
│ ├── search.sh # 语义搜索
│ └── summarize.sh # 跨文档摘要
├── references/
│ └── schema.md # 知识库索引模式
└── kb/ # 运行时创建
├── index.json
├── embeddings/
└── docs/

使用示例

用户: 我之前存的文档里,哪篇提到了 transformer?
→ 运行 ./scripts/search.sh transformer

用户: 总结一下我文档里关于 attention 的内容
→ 运行 ./scripts/summarize.sh attention

用户: 把这篇 PDF 加到知识库
→ 运行 ./scripts/ingest.sh

配置

设置知识库位置:
bash
export KB_ROOT=~/.openclaw/workspace/kb

默认值:如果未设置,则为~/kb。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 private-knowledge-base-1776116725 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 private-knowledge-base-1776116725 技能

通过命令行安装

skillhub install private-knowledge-base-1776116725

下载

⬇ 下载 private-knowledge-base v1.0.0(免费)

文件大小: 5.19 KB | 发布时间: 2026-4-14 12:04

v1.0.0 最新 2026-4-14 12:04
- Initial release of personal knowledge base for PDFs, papers, and documents
- Supports ingestion of single PDFs or entire folders into the knowledge base
- Enables fast semantic search and cross-document Q&A over stored documents
- Provides tools for summarizing concepts across multiple documents and linking related content
- Includes scripts for document ingestion, search, and summarization
- Offers configuration options for KB storage location
返回顶部