Install
openclaw skills install lhuaizhong-llm-wikiBuild and maintain a local Markdown knowledge wiki that compounds over time instead of relying on one-shot RAG retrieval. Use when the user wants to turn notes, documents, transcripts, chat logs, research material, or project context into an LLM-maintained wiki/second-brain; when setting up an Obsidian-friendly knowledge base; or when defining ingest, query, reindex, and lint workflows for a personal or team knowledge vault.
openclaw skills install lhuaizhong-llm-wikiBuild a local-first, Markdown-based wiki where the human curates sources and asks questions, while the agent maintains the compiled knowledge pages, links, summaries, and indexes.
Prefer this pattern when the goal is cumulative understanding across many sessions, files, and questions — not just answering one query from raw documents.
Treat the wiki as a compiled artifact, not the raw archive.
Use three layers:
The human focuses on sourcing, exploration, and direction. The agent handles summarizing, cross-referencing, page updates, consolidation, and bookkeeping.
Adapt the exact layout to the user’s workspace, but prefer a structure like:
knowledge/
raw/
inbox/
docs/
transcripts/
web/
wiki/
concepts/
people/
projects/
timelines/
sources/
logs/
knowledge-log.md
INDEX.md
SCHEMA.md
Guidelines:
raw/ append-only when practical.wiki/ human-readable and link-heavy.INDEX.md short and navigational.SCHEMA.md focused on conventions, not prose.Use when new material arrives.
Goal: convert raw inputs into durable wiki structure.
Steps:
raw/ unchanged.INDEX.md if navigation changed.Prefer updating existing pages over creating near-duplicates.
Use when the user asks a question about the knowledge base.
Steps:
Prefer reading 2–5 good pages over sweeping the entire vault.
Use when the structure has drifted or grown.
Tasks:
INDEX.mdUse when the wiki may be internally inconsistent.
Check for:
When high-stakes accuracy matters, preserve disagreement explicitly instead of forcing one synthetic summary.
Prefer simple Markdown that Obsidian and other editors render well.
For most concept pages, use sections like:
# Topic Name
## Summary
A short stable summary.
## Key points
- ...
## Relationships
- Related: [[Other Page]]
- Depends on: [[Another Page]]
## Sources
- [[Source - Interview 2026-04-06]]
- raw/transcripts/interview-2026-04-06.md
## Open questions
- ...
Rules:
[[Page Name]] when the vault supports wiki links.Maintain two special files:
INDEX.mdUse as a map of the vault.
Include:
Do not turn it into a giant dump of every page.
logs/knowledge-log.mdUse as a chronological maintenance trail.
Each entry should briefly record:
Example:
## 2026-04-06
- Ingested interview transcript on home networking setup.
- Updated [[OpenClaw 微信 channel 插件项目]] and created [[网络规划偏好]].
- Flagged uncertainty around deployment target and auth flow.
If the user keeps notes in Obsidian:
Obsidian is the browsing interface; the agent is the maintainer.
Examples:
For a brand-new vault, initialize the scaffold first:
python3 scripts/init_wiki.py /path/to/knowledge
Add --force to overwrite existing scaffold files.
After initialization:
SCHEMA.mdraw/wiki/Read these bundled references only when needed:
references/scaffold.md: example scaffold for SCHEMA.md, INDEX.md, and page conventionsreferences/operations.md: practical checklists for ingest, query, reindex, and lint runsreferences/publish-notes.md: short external-facing positioning and use-case wordingscripts/init_wiki.py: create a starter wiki vault with directories, hub pages, INDEX.md, SCHEMA.md, and logs/knowledge-log.md