LLM-WIKI: Using Agents to Maintain a Persistent Wiki in an Obsidian Vault

Preface

Personal knowledge bases often fall into two common dilemmas: bookmarks and web clippings pile up, yet rarely does anyone go back to organize them; and every time you ask a large language model a question, the answer feels temporarily cobbled together, failing to accumulate into a relationship with your local notes. The LLM Wiki concept proposed by Karpathy suggests handing the tasks of “reading materials, writing pages, and maintaining cross-references” over to the model, leaving humans to only feed content and review results. Below is an introduction to LLM-WIKI (Lobster Linked OB Setup) on SkillHub: it encodes this workflow into a WorkBuddy Skill, allowing the LLM to incrementally maintain a structured Wiki directly within your Obsidian vault.

What is this

LLM-WIKI (package name llm-wiki-clean, SkillHub ID @indiv-yemo/llm-wiki-clean) is a personal knowledge base management Skill based on the LLM Wiki pattern. The maintainer is SkillHub user 夜秣 (user_fb9c3efc). The current version is 1.0.0, categorized under knowledge-management, with subcategories including knowledge base Q&A, data organization, and information retrieval.

The Skill’s positioning is clear: you provide the absolute path to your Obsidian vault and collect raw materials; the Agent follows the rules in SKILL.md to create raw/ (read-only source layer) and wiki/ (writable knowledge layer) within the vault. It continuously updates index.md, log.md, and bi-directional links to facilitate browsing relationships within the Obsidian Graph view. Official documentation describes it as a WorkBuddy Skill (Lobster Skill), which can also be installed via SkillHub for use in any client that supports Agent Skills.

Core Functions

Based on the SKILL.md and SkillHub summary, the capabilities can be categorized into four operations (including initial initialization):

Initialize Wiki System (First Time Only)

The Skill does not automatically know the vault path. You must explicitly provide the absolute path of the Obsidian vault the first time. The Agent will:

  1. Write SCHEMA.md (operation and maintenance rulebook) to the vault root directory.
  2. Create raw/sources/ and raw/assets/.
  3. Create wiki/Entities/, wiki/Concepts/, wiki/Sources/, and wiki/Analysis/.
  4. Create wiki/index.md and wiki/log.md.

Trigger example: “Help me set up an LLM Wiki system in OB, the vault path is: …”

Ingest

Hand over new articles, pasted text, or files under raw/sources/ to the Agent. The process includes reading the material, extracting insights/entities/concepts, writing summary pages in wiki/Sources/, updating or creating entity/concept pages, maintaining [[Double Bracket]] links, and updating index.md and log.md. Files within raw/ are read-only and will not be modified.

Trigger words include: ingest, digest, record, or phrases like “help me process this article”.

Query

Ask questions against the existing Wiki. The Agent first reads wiki/index.md, then dives into relevant pages to synthesize an answer. The response will include citations (e.g., “Reference: [[Page Name]]”). If the answer has long-term value, it can be written to wiki/Analysis/ and recorded in the log.

Trigger words include: query, check, what is there in the Wiki about XX, etc.

Lint

Perform a full scan of Markdown files under wiki/ to check for contradictions, orphan pages, broken links, index inconsistencies, outdated expressions, etc., and output a report. Fixes require user confirmation; the system will not modify the library without authorization.

Trigger words: lint, health check, check Wiki, etc.

Optional: Tencent Docs Sync

If a Tencent Docs Space ID is configured, you can say “Tencent Docs sync”, etc., to sync wiki/ content to the document space (depends on Tencent Docs MCP; this is an optional capability).

Installation and Activation

Install from SkillHub (General)

The standard SkillHub ID is @indiv-yemo/llm-wiki-clean. You can send the prompt below to an AI client that supports the SkillHub installation flow (specific steps should follow the SkillHub Installation Guide):

Please install `@indiv-yemo/llm-wiki-clean` according to https://skillhub.cn/install/skillhub.md.

Official Entry Page: https://api.skillhub.cn/user_fb9c3efc/llm-wiki-clean (The SkillHub frontend is usually at https://skillhub.cn/skills/user_fb9c3efc/llm-wiki-clean).

WorkBuddy (Lobster) Local Directory

The installation method for WorkBuddy provided in the README is as follows:

Method 1: Download the skill folder and place it in the WorkBuddy skills directory. Restart WorkBuddy or use /skills in a session to confirm it has loaded.

Method 2: Create a llm-wiki/ folder in the skills directory, copy the SKILL.md from the package into it, and restart WorkBuddy.

Skills Directory Paths:

  • macOS / Linux: ~/.workbuddy/skills/
  • Windows: C:\Users\YourUsername\.workbuddy\skills\

The package is marked with requires_api_key: false and does not depend on additional API Keys.

Typical Usage

1. Initialize vault

After installing the Skill, first declare the absolute path of your vault, for example:

Help me set up an LLM Wiki system in OB,
My vault path is: /Users/YourName/Documents/MyVault/

Windows users can use path formats like D:/MyKnowledgeBase/MyKnowledgeBase/.

2. Digest a source

Place the file in raw/sources/, or tell the Agent:

Help me digest raw/sources/ArticleTitle.md

Or paste the content directly and say “Help me digest this article”.

3. Query Wiki

Check the Wiki for content regarding "AI Programming"

Or:

query: Help me summarize everything in the Wiki about going overseas to make money

4. Health Check

Lint the Wiki to check for issues

Daily usage involves opening the Graph View in Obsidian to view the links between entities and concepts.

Applicable Scenarios and Notes

Who it is for: Users who already use or are willing to use Obsidian as their local knowledge base; who want materials to settle into a cross-referenced Wiki rather than one-off RAG Q&A; and who can load Skills in WorkBuddy or other Agent environments.

Directory Boundaries: The Skill is designed to only operate within wiki/, raw/, and the root SCHEMA.md of the vault. It does not modify existing notes in other folders of the vault (based on official README descriptions).

Cost and Maintenance: The README version history mentions that token consumption will rise as the knowledge base grows; updating multiple pages during each ingest is expected by design. Lint fixes require manual confirmation to avoid erroneous changes.

Unverifiable Discrepancies: The “rating” field for SkillHub mentioned in task clues did not appear in the public API metadata; download counts are based on the API (at the time of querying, there were approximately 1078 downloads and 4 starred favorites), which will change with community statistics. For Cursor / Claude Code or similar tools not using WorkBuddy, you need to place SKILL.md into the respective client’s skills directory yourself. Specific paths depend on each product’s documentation; this Skill package does not list specific Cursor commands.

Conclusion

LLM-WIKI writes the “Ingest—Query—Inspect” workflow into a repeatable Agent process, placing the outputs onto Obsidian’s editable Markdown and Graph. It is suitable for personal knowledge base scenarios requiring long-term accumulation. For obtaining the Skill and instructions, please refer to the SkillHub official address: https://api.skillhub.cn/user_fb9c3efc/llm-wiki-clean.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye