Token导航 LogoToken导航

Agent Skill · 研究检索

llm-knowledge-bases(LLM 知识数据库)

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

llm-knowledge-bases 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为权限未标注;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 16,182。

总安装 7,342周安装 297GitHub Stars 公开资料未说明下载 2,305核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.2.2

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:llm-knowledge-bases(LLM 知识数据库)
来源仓库:https://github.com/harrylabsj/llm-knowledge-bases
安装命令:
openclaw skills install llm-knowledge-bases
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install llm-knowledge-bases

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

受 Andrej Karpathy 工作流程启发的知识库全生命周期管理工具。从原始研究资料到结构化 Markdown 知识库的无缝转化管道。支持增量更新与交叉引用维护,保持知识体系鲜活度。可与 Obsidian 等笔记软件集成,形成个人知识中枢。强调事实溯源,拒绝虚构未经验证的信息条目。

llm-knowledge-bases 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install llm-knowledge-bases;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

llm-knowledge-bases 怎么安装?

在终端执行 openclaw skills install llm-knowledge-bases。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

llm-knowledge-bases 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

llm-knowledge-bases 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

llm-knowledge-bases 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

llm-knowledge-bases 用的人多吗?

公开数据是累计安装 7,342 次,近一周安装 297 次,下载 2,305 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

llm-knowledge-bases 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
llm-knowledge-bases

LLM 知识数据库 · 本页

7,342—权限未标注MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
llm-knowledge-bases
description
Inspired by a public workflow shared by Andrej Karpathy (@karpathy). Use when the user wants to check, repair, or grow a Markdown wiki backed by the LLM Knowledge Bases runtime: inspect wiki health, compile missing source notes, clean placeholder pages, add concept/entity/synthesis pages, answer questions from the wiki and file the result back, or run deterministic multimodal wiki lint.

LLM Knowledge Bases

Use this skill to operate a Vault that is managed by the LLM Knowledge Bases runtime.

The operating model is:

  • raw/ stores captured source material from the outside world
  • wiki/sources/ stores compiled source notes
  • wiki/outputs/ stores archived answer notes
  • wiki/concepts/ stores durable concept pages
  • wiki/entities/ stores durable entity pages
  • wiki/syntheses/ stores cross-source synthesis pages
  • wiki/_indexes/ stores generated collection indexes
  • wiki/index.md stores the generated home index
  • wiki/log.md stores the generated run log page
  • .llm-kb/ stores runtime state
  • .llm-kb/representations/ stores runtime-managed OCR, vision, metadata, and profiling artifacts for non-text raw assets

The runtime owns Vault I/O. The agent owns understanding, synthesis, linking, and deciding which pages the wiki should gain or improve.

Important Model

  • Treat the Vault as runtime-managed.
  • Use kb_* tools for all Vault reads and writes.
  • Never modify files under raw/.
  • Never write directly into wiki/ or .llm-kb/representations/ with generic file tools.
  • Never fabricate IDs, canonical paths, raw hashes, representation paths, or source_refs.
  • For text and structured-data raw files, use the direct source compile path.
  • For PDF and image raw files, use the representation-first path: bundle the asset context, create any missing representations, then compile the source note.
  • When a source note summarizes a PDF or image, keep asset_paths accurate and include visible review notes, usually # Visual Notes, whenever the source depends on a human or model review pass outside the stored representation files.
  • The goal is not only to answer questions.
  • The goal is to leave the wiki better structured after each meaningful interaction.

Required Tools

  • kb_status
  • kb_list_raw
  • kb_read_raw
  • kb_get_raw_asset
  • kb_prepare_source
  • kb_prepare_source_bundle
  • kb_prepare_representation
  • kb_upsert_representation
  • kb_read_representations
  • kb_upsert_source_note
  • kb_prepare_output
  • kb_upsert_output
  • kb_prepare_derived_note
  • kb_upsert_derived_note
  • kb_search
  • kb_read_notes
  • kb_map_gaps
  • kb_promote_gap
  • kb_repair_source_ids
  • kb_rebuild_indexes
  • kb_lint

If these tools are unavailable, say so clearly instead of pretending the workflow can proceed.

Natural-Language Entry Points

Users do not need to name canonical actions. Map short natural-language requests to the closest workflow. The explicit prefix $llm-knowledge-bases is recommended for maximum routing certainty, but it is not required when the request already clearly matches this skill.

  • check my wiki, look over my knowledge base, 检查我的 wiki, 总览检查:

run kb_status plus kb_lint, report counts, the top issues, and the best next step

  • fill missing source notes, continue the backlog, 补缺失 source notes, 继续推进这份库:

use ingest-source, call kb_status, then kb_list_raw(changed_only=true) with an explicit limit large enough for the batch, prioritize missing_source_note, honor directory/topic filters, compile in small batches, then kb_rebuild_indexes

  • clean up these pages, fix placeholder titles, 只修 AI 相关内容, 做一次维护清理:

use maintain-wiki, start with kb_lint, then use kb_search plus kb_read_notes to target placeholder titles, placeholder summaries, placeholder open questions, placeholder related links, stale navigation, and missing high-value derived pages

  • add concept pages, add entity pages, add synthesis pages, what pages are missing?, 补 concept/entity/synthesis:

use map-gaps, search first, read the evidence, then call kb_map_gaps; use kb_promote_gap when a candidate can land directly, otherwise refine it through kb_prepare_derived_note plus kb_upsert_derived_note

  • repair source ids, repair manifest drift, 修 source id / manifest 漂移:

run kb_repair_source_ids as a dry run first, explain the plan, apply only if the repair set looks correct, then kb_rebuild_indexes

  • answer this from the wiki and save it back, 问答并沉淀成页面:

use ask-and-file, read the evidence first, then choose output for query-specific archives or concept/entity/synthesis for reusable knowledge

Important:

  • honor explicit scope like top 5, first 10, only AI-related, only raw/书评 1/, or do not modify yet
  • prefer small, high-confidence batches over giant rewrites
  • for concept/entity/synthesis work, never create a derived page without first reading the supporting notes

Chinese Intent Lexicon

Treat the following Chinese phrases as strong routing hints, even when the user does not mention tools or page types explicitly.

  • 看一下, 检查一下, 盘一下, 总览, 扫一眼, 先看看:

default to inspection-first behavior with kb_status plus kb_lint

  • 先别改, 先不要修改, 只看不改, 先给我报告:

do not call write tools; stay read-only unless the user later approves changes

  • 补缺失, 补 source, 补书评, 编译缺的, 继续补 source note:

treat this as ingest-source focused on missing_source_note

  • 整理一下, 清理一下, 修一下占位内容, 只修 AI 相关内容, 把这部分弄干净:

treat this as maintain-wiki with topic filters and placeholder cleanup

  • 补概念页, 补 entity, 补 synthesis, 沉淀成页面, 把这个主题写成 page:

treat this as derived-page work; search first, read evidence, then use kb_map_gaps or direct derived-note creation

  • 修漂移, 修 source id, 修 manifest, 先 dry run:

route to kb_repair_source_ids with a dry run before any apply step

  • 继续推进这份库, 继续往前做, 接着跑一轮, 往前推进一批:

treat this as an incremental maintenance batch, not as an open-ended rewrite

Continuation Defaults

When the user says 继续推进这份库 or an equivalent continuation request without enough scope detail, run a conservative default batch:

  1. call kb_status
  2. call kb_list_raw with changed_only=true and an explicit limit
  3. call kb_lint
  4. if a dominant topic filter is obvious from the user request, run kb_search on that topic and read the top evidence notes
  5. choose one primary batch only:

- compile a small batch of missing_source_note text raw files, or - repair a small batch of placeholder-heavy source notes

  1. optionally add one high-confidence concept, entity, or synthesis page if the evidence is already strong
  2. call kb_rebuild_indexes
  3. report what changed, what still looks weak, and the next best batch

Do not silently expand an underspecified continuation request into a large multi-hour rewrite.

Scenario Presets

Use these presets when a short request clearly matches one of the common recurring workflows.

ai-topic-cleanup

Strong triggers:

  • 整理一下 AI 相关内容
  • 只修 AI 相关
  • 补 AI 概念页
  • 把 AI 这部分做扎实
  • 继续推进 AI 主题

Default topic cluster:

  • AI
  • AIGC
  • ChatGPT
  • prompt engineering
  • AGI
  • AI hype vs real value

Default batch:

  1. call kb_lint
  2. run topic-focused kb_search
  3. read the top evidence notes with kb_read_notes
  4. repair a small batch of placeholder-heavy source notes first
  5. if evidence is already strong, add one high-confidence concept, entity, or synthesis page
  6. call kb_rebuild_indexes

Priority order:

  • placeholder source titles
  • placeholder open questions
  • placeholder related links
  • missing high-value concept/entity/synthesis pages

book-review-batch

Strong triggers:

  • 补书评
  • 继续编译书评
  • 把书评编进 wiki
  • 书评批处理
  • 补书评 source notes

Default scope:

  • only raw/书评 1/
  • text-readable raw files only
  • prioritize missing_source_note

Default batch:

  1. call kb_status
  2. call kb_list_raw(changed_only=true) with an explicit limit
  3. filter to raw/书评 1/
  4. compile the first 10 eligible text raw files through kb_prepare_source, kb_read_raw, and kb_upsert_source_note
  5. call kb_rebuild_indexes

Writing expectations:

  • human-facing title, never 元数据
  • real Summary, Key Points, Evidence, Open Questions, and Related Links
  • grounded only in the raw content actually read

continue-this-library

Strong triggers:

  • 继续推进我的这份库
  • 接着跑一轮
  • 再往前推进一批
  • 今天继续做这个库

Default decision rule:

  • if missing_source_note backlog is obviously dominant, prefer a small ingest batch
  • otherwise if placeholder-heavy source notes are clearly dominant, prefer a small cleanup batch
  • otherwise read evidence and add one high-confidence derived page

Default batch cap:

  • up to 10 source-note compiles, or
  • up to 5 placeholder repairs, or
  • 1 derived page

Do not mix all three into one large batch unless the user explicitly asks for a broader sweep.

One-Line Shortcuts

These are valid compact requests. Treat them as sufficient instructions unless the user adds more scope.

  • 用 $llm-knowledge-bases 检查一下我的 wiki,先别改。
  • 用 $llm-knowledge-bases 补书评前 10 个。
  • 用 $llm-knowledge-bases 整理一下 AI 相关内容。
  • 用 $llm-knowledge-bases 补 3 个 concept pages。
  • 用 $llm-knowledge-bases 修一下 source id 漂移,先 dry run。
  • 用 $llm-knowledge-bases 继续推进我的这份库。

Canonical Actions

Treat the following as the four canonical high-level actions for this skill.

ingest-source

Use this when the user wants to ingest, compile, or refresh changed raw material.

Sequence:

  1. call kb_status
  2. call kb_list_raw with changed_only=true
  3. for each changed raw file:

- if the raw file is text or structured data: - call kb_prepare_source - call kb_read_raw - compile the raw content into one grounded source note - if the raw file is a PDF or image: - call kb_prepare_source_bundle - call kb_get_raw_asset - if compile_readiness is not ready, create the missing representation trail with: - kb_prepare_representation - kb_upsert_representation - call kb_read_representations - compile the source note from the raw metadata plus the reviewed representations - call kb_upsert_source_note

  1. after the batch, call kb_rebuild_indexes
  2. report what was compiled, what remains partial, and which raw assets still need representation work

Important:

  • the actual LLM compile happens between the read/bundle steps and kb_upsert_source_note
  • kb_read_raw is only for text-readable raw files
  • PDFs usually become compile-ready once there is native_text, ocr_text, or page_notes
  • images usually become compile-ready once there is vision_notes
  • structured data is already text-readable, but metadata or data_profile can still improve later maintenance
  • one raw file may later justify new concept, entity, or synthesis pages
  • prefer incremental passes over giant rewrites

ask-and-file

Use this when the user wants a grounded answer and the answer may deserve a durable artifact.

Sequence:

  1. call kb_search
  2. read only the most relevant notes with kb_read_notes
  3. answer only from retrieved notes
  4. decide the best write-back target:

- use kb_prepare_output + kb_upsert_output for question-specific answer archives - use kb_prepare_derived_note + kb_upsert_derived_note when the answer should become a durable concept, entity, or synthesis page

  1. call kb_rebuild_indexes if the wiki changed materially

Important:

  • search before answering
  • do not cite notes you did not read
  • do not answer directly from non-text raw assets when the runtime already expects the grounded source note or stored representation trail
  • choose output when preserving the exact query matters
  • choose concept/entity/synthesis when the answer is reusable beyond the original query

maintain-wiki

Use this when the user wants cleanup, organization, or a quality pass.

Sequence:

  1. call kb_lint
  2. inspect wiki/index.md, wiki/log.md, and the most relevant collection indexes with kb_read_notes
  3. identify weak pages, missing derived pages, stale navigation, or grounding gaps
  4. if source note ids, manifest entries, source note paths, or stored raw hashes have drifted, call kb_repair_source_ids first as a dry run and only apply it when the plan is correct
  5. if the user wants fixes, repair narrowly through the appropriate kb_* write tools
  6. call kb_rebuild_indexes

Important:

  • prefer small targeted improvements
  • keep source grounding visible
  • use concept/entity/synthesis pages to absorb recurring structure instead of repeating the same reasoning in outputs
  • treat kb_lint warnings as signals about wiki health, not only schema correctness
  • pay special attention when kb_lint surfaces missing_representation, representation_stale, unreviewed_asset_source, stale source coverage, unresolved research gaps, unsupported claims, contradiction candidates, or missing high-value pages
  • use kb_repair_source_ids for deterministic source-note/manifest repair instead of hand-editing ids, paths, or raw hashes

map-gaps

Use this when the user wants to know what the wiki is missing.

Sequence:

  1. call kb_search
  2. read the relevant source, output, and derived pages
  3. call kb_map_gaps
  4. identify:

- repeated ideas that deserve a concept page - repeated named items that deserve an entity page - cross-source themes that deserve a synthesis page

  1. if the user wants the page landed immediately, call kb_promote_gap with the candidate note_id
  2. otherwise propose the best next pages in priority order

Important:

  • prefer candidates with stronger source_refs coverage
  • use kb_promote_gap when a current candidate should be landed as-is into the wiki
  • use the returned draft template as the starting point when you want to refine the page before calling kb_upsert_derived_note
  • treat the returned suggested opening and evidence summary as scaffolding, not final prose

Writing Rules

Source Notes

Required frontmatter fields:

  • id
  • type: source
  • title
  • raw_path
  • raw_hash
  • source_kind
  • tags
  • created_at
  • updated_at
  • status

Strongly recommended frontmatter fields:

  • raw_kind
  • mime_type
  • asset_paths

Required headings:

  • # Summary
  • # Key Points
  • # Evidence
  • # Open Questions
  • # Related Links

Multimodal guidance:

  • for PDF and image source notes, asset_paths should include the primary reviewed raw asset
  • add # Visual Notes when the note depends on multimodal review details that are not already obvious from the stored representation files
  • do not claim a non-text asset was reviewed if neither the representation trail nor the visible review notes support that claim

Output Notes

Required frontmatter fields:

  • id
  • type: output
  • title
  • query
  • source_refs
  • created_at
  • updated_at

Required headings:

  • # Answer
  • # Sources Used
  • # Follow-up Questions

Derived Notes

Derived pages are for durable wiki structure, not ephemeral chat residue.

Supported kinds:

  • concept
  • entity
  • synthesis

Shared frontmatter fields:

  • id
  • type
  • title
  • aliases
  • source_refs
  • tags
  • created_at
  • updated_at
  • status

Required headings by kind:

  • concept: # Summary, # Definition, # Key Points, # Evidence, # Open Questions, # Related Notes
  • entity: # Summary, # Who or What, # Key Facts, # Evidence, # Open Questions, # Related Notes
  • synthesis: # Summary, # Thesis, # Supporting Evidence, # Tensions, # Open Questions, # Related Notes

Guidance:

  • concept pages capture reusable ideas or frames
  • entity pages capture named things that recur
  • synthesis pages capture higher-level cross-source conclusions that should survive beyond any one query
  • synthesis pages capture multi-source analysis, tradeoffs, or contested views
  • keep source_refs aligned with real source notes

Safety Boundaries

  • Never modify files under raw/.
  • Never use generic file-writing tools to modify wiki/ directly.
  • Never invent note IDs, output IDs, or paths.
  • Never claim a write succeeded unless the runtime confirms it.
  • Never bypass the runtime after a tool failure.

Failure Handling

If a runtime tool fails:

  • explain the failure plainly
  • keep the user context intact
  • propose the next executable step
  • do not work around the error by writing directly to the Vault

Language Policy

  • Write outward-facing artifacts in English by default.
  • Preserve original-language titles or quotes only when they materially matter.
  • If the user explicitly wants another language, follow that request for the final artifact.

Finish Standard

When you finish a task with this skill, report:

  • what was ingested, answered, maintained, or mapped
  • which kb_* tools were used
  • which files were created or updated
  • any unresolved ambiguity or weak evidence
  • the best next one to three follow-up steps

平台分布

OpenClaw

84.09%
按下载量换算1,938

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills