Token导航 LogoToken导航

Agent Skill · 研究检索

llmwiki(llmwiki 文档)

llmwiki 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

llmwiki 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 14,226。

总安装 8,726周安装 371GitHub Stars 公开资料未说明下载 3,057核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install llmwiki

这个 Skill 是做什么的

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

用于构建以 LLM 驱动的个人知识库系统。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。将原始文档编译为结构化、相互链接的多语言 Wiki。支持新兴分类法和知识图谱的动态更新与维护。安装前建议确认权限范围、维护状态及是否涉及文件读写操作。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

llmwiki 怎么安装?

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

llmwiki 支持哪些 AI 工具?

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

llmwiki 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

llmwiki 是免费的吗?

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

llmwiki 用的人多吗?

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

llmwiki 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
llmwiki

llmwiki 文档 · 本页

8,726—接触敏感数据MIT-0有提醒

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

SKILL.md 原文

name
llmwiki
version
0.8.0
description
LLM-powered personal knowledge base. Raw documents in, an LLM compiles them into a structured interlinked wiki with trilingual articles, emergent taxonomy, and self-healing. One operations contract serves CLI, HTTP, and MCP.
author
Hosuke
homepage
https://github.com/Hosuke/llmbase
source
https://github.com/Hosuke/llmbase
license
MIT
keywords
install
pip install llmwiki
requires
credentials
description
API key for any OpenAI-compatible LLM endpoint (user-supplied)
required
true
description
LLM API base URL
required
false
description
Primary model name
required
false
description
Comma-separated fallback model chain (empty = no fallback)
required
false
permissions
notes
|

llmwiki

A personal knowledge base that an LLM _compiles_, not just stores. Raw documents go in, an LLM writes trilingual (EN / 中文 / 日本語) wiki articles with [[wiki-links]], backlinks, and an emergent taxonomy. The MCP server dispatches every tool through llmwiki/operations.py; the CLI exposes the same registry via llmbase ops call; individual HTTP/CLI wrappers are being migrated onto the registry over time.

  • PyPI: pip install llmwiki
  • CLI command: llmbase (the package name and the command differ)
  • GitHub: https://github.com/Hosuke/llmbase
  • Demo: https://huazangge-production.up.railway.app

Setup

pip install llmwiki

mkdir my-kb && cd my-kb

cat > .env << 'EOF'
LLMBASE_API_KEY=sk-your-key
LLMBASE_BASE_URL=https://your-endpoint/v1
LLMBASE_MODEL=your-model
# Optional: LLMBASE_FALLBACK_MODELS=backup-1,backup-2
EOF

cat > config.yaml << 'EOF'
llm:
  max_tokens: 16384
paths:
  raw: "./raw"
  wiki: "./wiki"
EOF

Commands

CommandDescription
llmbase ingest url <url>Ingest a web article
llmbase ingest pdf <file>Ingest a PDF (auto-chunks)
llmbase ingest file <file>Ingest any local file
llmbase ingest dir <dir>Ingest all files from a directory
llmbase ingest cbeta-learn --batch 10Corpus plugin: Buddhist canon
llmbase ingest ctext-book 论语 /analects/zhCorpus plugin: Chinese classics
llmbase compile newCompile new raw docs incrementally (3-layer dedup)
llmbase compile allFull rebuild
llmbase compile indexRebuild index + aliases
llmbase query "<q>"Ask a question (single-pass; add --deep for multi-step research)
llmbase query "<q>" --tone wenyan📜 classical Chinese voice
llmbase query "<q>" --tone scholar🎓 academic voice
llmbase query "<q>" --tone eli5👶 simple voice
llmbase query "<q>" --tone caveman🦴 primitive voice
llmbase query "<q>" --file-backFile answer back into the wiki
llmbase lint check8-category structural health check
llmbase lint healCheck → fix → re-check → report
llmbase lint deepLLM deep quality analysis
llmbase webWeb UI at :5555
llmbase serveAgent HTTP API at :5556
llmbase mcpStart MCP server (stdio)
llmbase statsKB statistics

MCP Integration (for AI clients)

{
  "mcpServers": {
    "llmwiki": {
      "command": "python",
      "args": ["-m", "llmwiki", "--base-dir", "/path/to/my-kb"]
    }
  }
}

Tools exposed by the MCP server:

ToolPurpose
kb_searchFull-text search over compiled concepts
kb_search_rawVerbatim full-text fallback over raw/ sources (v0.6.2+)
kb_askDeep-research Q&A with tone modes
kb_getGet article by slug or alias (空, kong, emptiness all work)
kb_listList articles, filter by tag
kb_backlinksFind articles citing a given article
kb_taxonomyMultilingual category tree
kb_statsArticle count, word count
kb_xiciGuided reading (导读)
kb_ingestIngest a URL
kb_compileCompile raw → wiki
kb_lintHealth check / auto-fix
kb_export / kb_export_article / kb_export_tag / kb_export_graphStructured export for downstream projects

All tools are declared in llmwiki/operations.py — downstream projects register custom ops via operations.register(...) and they become available on CLI + MCP automatically.

Agents mounted on this server can answer from compiled concepts, fall back to raw sources with kb_search_raw when compile glossed a detail, ingest new material mid-session, and trigger healing.

Workflows

Build a KB from scratch

llmbase ingest url https://example.com/topic
llmbase ingest pdf ./paper.pdf
llmbase compile new
llmbase query "What are the key concepts?"
llmbase lint heal

Autonomous mode (deploy once, server keeps learning)

# config.yaml
worker:
  enabled: true
  learn_source: cbeta         # built-in: cbeta | wikisource | both; custom via register_learn_source()
  learn_interval_hours: 6
  compile_interval_hours: 1
  health_check_interval_hours: 24

health:
  auto_fix_broken_links: true
  max_stubs_per_run: 10

The worker starts under the production WSGI entrypoint (wsgi.py → start_worker_thread). Deploy with gunicorn wsgi:app; llmbase web alone does not self-start the worker.

Daily use as agent memory

  1. Agent receives a task → calls kb_search for relevant concepts
  2. If the compiled answer is too abstract → calls kb_search_raw for verbatim detail
  3. Learns something new → calls kb_ingest with the URL
  4. Optionally kb_compile to fold it into concepts for next session
  5. Periodically kb_lint heals the graph

Key Concepts

  • Synthesis, not archiving — LLM reads raw material and writes composed articles; storage is the cheap part
  • Two-layer recall — kb_search (concepts) + kb_search_raw (verbatim raw sources)
  • Trilingual default — every article has EN / 中文 / 日本語 sections
  • 叠加进化 — new data merges into existing concepts, never overwrites
  • Domain-agnostic — taxonomy emerges per-domain, nothing hardcoded
  • Self-healing — 7-step auto-fix pipeline repairs drift
  • Alias resolution — [[参禅]] → can-chan.md across scripts and simplified/traditional
  • Registry-backed ops — MCP dispatches every tool through operations.py; CLI exposes the same registry via llmbase ops list / llmbase ops call; direct HTTP/CLI wrappers are being migrated onto the registry

Tips

  • --file-back saves Q&A answers into the wiki so future queries benefit
  • --tone wenyan for Chinese users (classical Chinese responses)
  • Run llmbase lint heal after large ingestion batches
  • Web UI /health has buttons for every repair op
  • Knowledge graph at /graph — density slider for large KBs
  • Timeline at /explore — requires entities: { enabled: true } in config

Security & Privacy

  • All data stays local — wiki files are plain markdown on your filesystem
  • LLM API key — user-supplied, loaded from .env
  • Network access — user-initiated (URL ingest, SSRF-protected) plus corpus plugins (cbeta-learn, wikisource-learn, ctext-book) and the autonomous worker when enabled
  • Web server — optional; binds 0.0.0.0 so LAN-accessible by default — front with a reverse proxy or bind override for public exposure
  • API secret — cloud deployments (with PORT env) gate most mutating endpoints behind LLMBASE_API_SECRET (auto-generated if unset). Note: /api/ask is open by default and writes Q&A back via file_back; only promotion to concepts requires the secret
  • Autonomous worker — opt-in via config, disabled by default
  • No telemetry — nothing is sent anywhere except the configured LLM API

平台分布

OpenClaw

91.73%
按下载量换算2,804

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills