llm-wiki-easy
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "llm-wiki-easy":https://skillpi.com/zh/skills/deepskill-3b871aa2671c0a32b645d8719a88ea86d3707406a6246546fdb7350482adfe84。安装前核对上游来源和版本:https://skillhub.cn/skills/user_cad2c8c1/llm-wiki-easy。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于构建与维护基于本地文件的知识库(LLM Wiki)的工具。采用三层文件夹架构(raw / wiki / schema),由规则文件(AGENTS.md)驱动。适用于从零搭建知识库、将原始资料(Markdown、PPTX、PDF、XLSX、Word、图片等)编译导入为带 frontmatter 与 [[wikilinks]] 的条目、基于知识库内容严格回答并引用条目,以及执行健康检查(断链扫描、索引完整性与重复内容检测)。可通过触发词如“搭建知识库”“LLM wiki”“把资料编译进 wiki”“知识库自检”等启用。
介绍来源: third_party · user_cad2c8c1 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: llm-wiki-builder
description: Build and maintain a local file-based knowledge base ("LLM Wiki") using a three-layer folder architecture (raw / wiki / schema) driven by a rules file (AGENTS.md). Use this skill when the user wants to (1) set up / scaffold a new local knowledge base or wiki from scratch, (2) compile/ingest raw source materials (Markdown, PPTX, PDF, XLSX, Word, images) into linked wiki entries with frontmatter and [[wikilinks]], (3) answer questions grounded strictly in the knowledge base with cited [[entries]], or (4) run a health check (broken-link scan, index completeness, duplicate detection). Triggers include phrases like "搭建知识库", "LLM wiki", "把资料编译进 wiki", "基于 wiki 回答", "知识库自检", "build a knowledge base".LLM Wiki Builder
A methodology for building a durable, plain-text, AI-maintained knowledge base. The whole system is just folders + one rules file — no database, no app. It works in any Markdown editor (Obsidian, VS Code) and versions cleanly with git.
Core Architecture — Three Layers
<wiki-root>/
├── raw/ ← Source layer (READ-ONLY). Original materials go here untouched.
│ ├── papers/ web/ meetings/ notes/
│ └── README.md ← inbox instructions
├── wiki/ ← Knowledge layer (AI writes here). Distilled entries.
│ ├── concepts/ people/ projects/ topics/
├── schema/
│ └── AGENTS.md ← the rules file = the "brain" of the wiki
└── index.md ← table of contents (all entries registered)
Iron Rules (never violate)
raw/is read-only. Only extract text from source files — never edit, rename, or add non-source files (scripts, notes) intoraw/. Run any extraction script in a temp dir OUTSIDE the wiki root, then delete it.- Every entry has frontmatter (
title,type,tags,source,created,updated) and is traceable to a source inraw/. - Every
[[wikilink]]must have a landing entry. No dangling links — if you reference[[X]], anX.mdmust exist (create a stub/redirect entry if needed). index.mdstays in sync — every entry is registered; every registered link resolves.- Distill, don't dump. Entries are concise: one-line definition + key points + related links + source. Merge trivial items rather than creating dozens of tiny fragments.
The Four Actions
This skill supports four distinct user intents. Identify which one, then follow the matching flow.
Action 1 — Scaffold a new wiki
Use scripts/init_wiki.py to create the full three-layer structure, then copy the rules template into place.
python scripts/init_wiki.py "<wiki-root>"
cp assets/AGENTS.md "<wiki-root>/schema/AGENTS.md"
The script creates all folders, .gitkeep placeholders, raw/README.md, and a starter index.md. After scaffolding, optionally drop one sample source into raw/web/ and run Action 2 once to prove the loop works. Then git init + first commit as a restore point.
Action 2 — Compile raw materials into wiki entries
The heart of the system. Read references/compile-guide.md for the full procedure. In short:
- Copy new source materials into
raw/(preserve originals). - Extract text from Office/PDF/images (see compile-guide for the extraction snippet). Run the extractor in a temp dir outside the wiki root.
- Plan entries: identify products/projects, concepts, people/vendors, topics. Merge trivial items.
- Write each entry to the right
wiki/<category>/with proper frontmatter +[[wikilinks]]+ asource:back-reference. - Create stub entries for any
[[link]]that lacks a landing page. - Update
index.md. - Run Action 4 (health check), then
git commit. - Report to the user exactly what changed (new/updated entry counts by category).
Action 3 — Answer a question grounded in the wiki
- Read only the relevant
wiki/entries (use grep/glob to locate them). - Answer strictly from knowledge-base content — do not add outside knowledge. If the KB lacks something, say so explicitly and note what raw material would fill the gap.
- End the answer with a
参考词条/ references list of[[entry]]links actually used.
Action 4 — Health check
Run scripts/wiki_healthcheck.py "<wiki-root>". It reports: total entry count, broken [[links]] (with source files), entries missing from index.md, and index links that don't resolve. Note: links inside fenced code blocks are ignored (they are syntax examples, not real links). Fix any issues found, then report.
Rules File (AGENTS.md)
schema/AGENTS.md is the operational contract for the wiki — it defines folder roles, entry format, linking rules, and the compile procedure. The canonical template lives in assets/AGENTS.md. When scaffolding, copy it in. The user (or AI) may tune it per project; treat the in-repo schema/AGENTS.md as authoritative for that wiki once it exists — always read it before compiling.
Handy prompts to give the user
- Compile:
按 schema/AGENTS.md,把 raw/ 里的新资料编译进 wiki,更新 index,告诉我改了啥。 - Ask:
基于 wiki/ 回答我的问题:____。只依据知识库内容,末尾列出参考 [[词条]]。 - Health check:
按 schema/AGENTS.md 给知识库做自检:补断链、修 index、找重复词条,给我报告。
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的本地知识库构建方法论,支持多格式文件编译与链接管理
- 解决用户知识沉淀、检索和版本控制的实际痛点,实用价值高
亮点
- 触发词覆盖中英文关键场景,边界清晰,能有效区分其他 Skill
待提升项
-
缺少 When to Use 章节 原报告严重程度:轻微
文档结构完整但未设置明确的 'When to Use' 章节标题
改进建议:建议添加 'When to Use' 章节以明确使用场景
-
文档过长 原报告严重程度:轻微
主文档约600行,超出推荐的500行限制
改进建议:考虑将部分详细说明移至子文档或附录
亮点
- 文档结构清晰,分四层架构、铁规则、四大动作,逻辑完整
待提升项
-
引用文件缺失 原报告严重程度:重大
主文档引用了 scripts/init_wiki.py、scripts/wiki_healthcheck.py、assets/AGENTS.md、references/compile-guide.md 等文件,但未在传入内容中提供
改进建议:请确保所有被引用的脚本和文档文件都包含在 Skill 包中
亮点
- 工具使用逻辑清晰,参数明确,有异常处理说明和最佳实践指导
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。