llm-wiki-easy
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-wiki-easy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3b871aa2671c0a32b645d8719a88ea86d3707406a6246546fdb7350482adfe84. Verify the upstream source and version against https://skillhub.cn/skills/user_cad2c8c1/llm-wiki-easy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A tool to build and maintain a local‑file‑based knowledge base (LLM Wiki). It uses a three‑folder structure (raw / wiki / schema) driven by a rules file (AGENTS.md). Applicable for initializing a new local knowledge base from scratch; compiling/importing raw materials (Markdown, PPTX, PDF, XLSX, Word, images, etc.) into wiki entries with frontmatter and [[wikilinks]]; answering strictly based on the knowledge base and citing [[entries]]; and performing health checks (broken‑link scans, index completeness, duplicate content detection). Trigger phrases include “build a knowledge base”, “LLM wiki”, “compile materials into wiki”, and “knowledge base self‑check”.
Introduction source: third_party · user_cad2c8c1 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
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、找重复词条,给我报告。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的本地知识库构建方法论,支持多格式文件编译与链接管理
- 解决用户知识沉淀、检索和版本控制的实际痛点,实用价值高
Highlights
- 触发词覆盖中英文关键场景,边界清晰,能有效区分其他 Skill
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整但未设置明确的 'When to Use' 章节标题
Recommendation: 建议添加 'When to Use' 章节以明确使用场景
-
文档过长 Reported severity: Minor
主文档约600行,超出推荐的500行限制
Recommendation: 考虑将部分详细说明移至子文档或附录
Highlights
- 文档结构清晰,分四层架构、铁规则、四大动作,逻辑完整
Areas to improve
-
引用文件缺失 Reported severity: Major
主文档引用了 scripts/init_wiki.py、scripts/wiki_healthcheck.py、assets/AGENTS.md、references/compile-guide.md 等文件,但未在传入内容中提供
Recommendation: 请确保所有被引用的脚本和文档文件都包含在 Skill 包中
Highlights
- 工具使用逻辑清晰,参数明确,有异常处理说明和最佳实践指导
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.