Install
openclaw skills install llm-obsidian-wikiBuild, maintain, query, archive, and audit a Markdown / Obsidian knowledge Wiki continuously maintained by an LLM. Use this skill to initialize a personal knowledge base; import raw materials grouped by source under source/ into wiki/; organize articles, papers, book notes, interviews, and meeting notes; maintain source pages, entity pages, concept pages, synthesis pages, comparison pages, and query archive pages; update index.md and log.md; answer questions based on the Wiki and archive answers with long-term value; check broken links, orphan pages, duplicate concepts, outdated conclusions, unlabeled contradictions, encoding corruption, and organizational disorder.
openclaw skills install llm-obsidian-wikiMaintain a Markdown / Obsidian Wiki that is accumulative, linkable, and evolvable. Whenever importing material or answering a question, do not merely generate a summary. Instead, compile new knowledge into existing pages: update entities, concepts, synthesized judgments, comparisons, and query archives so the Wiki becomes more valuable through continued use.
source/ # Raw material layer: factual sources, read-only by default
wiki/ # Knowledge compilation layer: structured Wiki maintained by the LLM
schema/SKILL.md # Convention layer: this skill / schema
The Knowledge/ root directory should contain only a small number of structural entry points and tool files. Do not place ordinary knowledge pages there.
Recommended root contents:
Knowledge/
source/
wiki/
schema/
verify_wiki.py # Optional compatibility wrapper delegating to schema/scripts/verify_wiki.py
README.md # Optional: minimal entry point
The root directory should not contain:
If a root entry point is needed, create a minimal Knowledge/README.md that only links to:
[[Knowledge/wiki/README]][[Knowledge/wiki/index]][[Knowledge/wiki/syntheses/Knowledge Wiki Topic Map]][[Knowledge/wiki/log]][[Knowledge/source]]Principle: the root directory is for “entry points”; wiki/ is for “knowledge”.
Use English for the default directory names in the English schema:
wiki/
index.md # Main index; keep the English file name
log.md # Operation log; keep the English file name
README.md # Wiki documentation; keep the English file name
sources/
entities/
concepts/
syntheses/
comparisons/
queries/
Conventions:
index.md, log.md, README.md, and schema/SKILL.md, use readable English directory and file names whenever possible.AI Agent.md, OpenClaw.md, Claude Code.md, or Harness Engineering.md.sources/, concepts/, and entities/. If historical empty duplicates are found, clean them up. If they contain content, migrate that content into the canonical directories and update links.source-*, concept-*, or synthesis-*.wiki/sources/Use source pages to summarize and locate a single source. A source page should include:
wiki/entities/Use entity pages for people, organizations, products, projects, tools, and similar objects. Entity pages hold facts and background; they should not carry excessively long arguments.
source/ metadata.Recommended structure: Positioning → Key information (structured fact table) → Core capabilities / product features → Role in the knowledge base → Related sources → Related pages
wiki/concepts/Use concept pages for methods, patterns, theories, problem framings, frameworks, and similar ideas. Prefer reusing and updating existing concept pages to avoid synonym duplication.
Recommended structure: Definition → Core understanding / judgments → Relationship to neighboring concepts → Related sources → Related pages
Anti-template rules:
wiki/syntheses/Use synthesis pages for cross-source judgments, frameworks, thematic overviews, case matrices, architecture analyses, and similar compiled knowledge.
Each synthesis page should include at least: a core judgment, multi-source synthesis (not single-source retelling), and cross-references to 3+ source pages.
wiki/comparisons/Use comparison pages to distinguish easily confused concepts, products, paradigms, or solutions, for example Reasoner vs Agent.md.
Recommended structure:
Minimum quality requirements:
A / B; write the concrete objects being compared.wiki/syntheses/A topic map page is a type of synthesis page. It organizes the Wiki's long-term reading paths and thematic main threads. Do not place it in the Knowledge/ root directory.
Recommended locations:
wiki/syntheses/Knowledge Wiki Topic Map.mdwiki/syntheses/Agent Engineering Topic Map.mdA topic map should include:
Division of responsibilities with index.md:
index.md keeps the full entry list and page catalog;index.md carry too much explanatory content, otherwise it will become an overly long essay.wiki/queries/Archive question-and-answer outputs with long-term value as reusable pages. A query page should answer a clear question and link back to related source, concept, and synthesis pages.
source/.wiki/index.md, wiki/log.md, and wiki/README.md.wiki/index.md first to locate existing related pages.wiki/index.md and wiki/log.md.When importing 5 or more materials under the same topic in one batch, do not only create multiple source pages. Establish a topic structure as well.
Steps:
Claude Code Source Architecture MapAgent-Era Startup Methodologyindex.md;log.md by topic, rather than as a per-file operation ledger.wiki/index.md first.wiki/queries/ or update a synthesis page.wiki/log.md.Use this when source/ already contains many imported materials, wiki/ has grown in page count, and the user wants to improve navigability, thematic clustering, and long-term maintainability.
Steps:
wiki/index.md, wiki/README.md, wiki/log.md, and existing synthesis pages.wiki/syntheses/Knowledge Wiki Topic Map.md.index.md and the topic map:
index.md: full catalog;index.md that are hard to navigate.README.md, index.md, and log.md.updated date.Regularly check for thin pages and template remnants. Passing broken-link checks does not mean the knowledge quality is sufficient.
The following pages should be reviewed first:
A thin page does not necessarily have to be expanded, but it must be judged:
Search especially for:
A / B placeholder column names;When template remnants are found, rewrite them into concrete judgments based on the original source materials and related pages. Do not merely delete the heading.
The publishable audit script for the current Knowledge Wiki is located at:
python3 Knowledge/schema/scripts/verify_wiki.py
For compatibility with existing commands, this vault also keeps a root-level wrapper:
python3 Knowledge/verify_wiki.py
When publishing the skill, package Knowledge/schema/scripts/verify_wiki.py as scripts/verify_wiki.py inside the skill package, together with SKILL.md; the root-level wrapper is only a convenience entry point for this vault.
Run the audit script after every batch import, refactor, rename, or topic-map update.
Passing criteria:
Sources without ziliao: 0Broken wikilinks: 0Pages not in index.md: 0UTF-8 issues: 0If script output conflicts with human judgment, human inspection takes precedence, but the reason must be recorded in wiki/log.md.
Do not mechanically create low-quality source pages merely to pass the script. Source pages still need to meet the minimum quality standard for source pages.
index.md Specificationwiki/index.md is the navigation entry point. Recommended structure:
# Knowledge Wiki Index
## Quick Links
## Sources
## Entities
## Concepts
## Syntheses
## Comparisons
## Queries
Each record should preferably include:
- [[Knowledge/wiki/concepts/Context Engineering]] — one-sentence description; status: evolving.
log.md Specificationwiki/log.md is a date-based timeline for phase-level changes, not an overly granular operation ledger. Update principles:
## YYYY-MM-DD|Topic Overview whenever possible, using ### to group by topic.wiki/queries/. log.md should only link to a summary.Recommended format:
## YYYY-MM-DD|Topic Overview
### Topic One
- Import/update scope: ...
- Created/updated: [[Knowledge/wiki/...]], [[Knowledge/wiki/...]]
- Key conclusion: ...
### Topic Two
- ...
## Current To-Dos / Follow-Up Directions
- [ ] ...
Common topics:
Source page:
---
type: source
tags: [source-summary]
source_file: "[[Knowledge/source/...]]"
source_name:
author:
url:
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: initialized
---
Entity page:
---
type: entity
tags: [entity]
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: evolving
---
Concept page:
---
type: concept
tags: [concept]
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: evolving
---
Synthesis page:
---
type: synthesis
tags: [synthesis]
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: evolving
---
Comparison page:
---
type: comparison
tags: [comparison]
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: evolving
---
Query page:
---
type: query
tags: [query]
created: YYYY-MM-DD
updated: YYYY-MM-DD
status: archived
---
By default, prioritize internal materials under Knowledge/source/ and Knowledge/wiki/. Do not use external search to replace existing sources.
External search may be used when:
When using external search:
[[Knowledge/wiki/concepts/Context Engineering]].[[...]] links.Chinese content must be written as UTF-8. In Windows / PowerShell environments, writing Chinese directly with PowerShell here-strings, Add-Content, or Set-Content can easily produce question-mark corruption.
Prefer:
apply_patch to modify Markdown;.py script and write text with Path.write_text(..., encoding="utf-8");read_text(..., encoding="utf-8").Avoid:
After every batch write, check for:
source/ by default, unless the user requests it or the image is critical for long-term understanding.![[image.png]].README.md should keep its English name.