Introduction¶
If you dump articles, clippings, and conversations into a folder and rely on RAG or ad-hoc uploads to ask questions, answers usually have to be reassembled from raw materials every time, and cross-references and contradiction annotations rarely survive. If you want an Agent to continuously maintain a readable Markdown knowledge layer rather than doing one-off retrieval, you need a fixed workflow and directory convention. Below we introduce the community Skill llm-wiki on SkillHub (coordinates @user_f2c57d7a/llm-wiki-pro, version 1.0.0), which organizes ingest, query, and lint within conversations following Karpathy’s LLM Wiki approach.
What Is This¶
llm-wiki is an Agent Skill aimed at “personal knowledge base maintenance”, published by user_f2c57d7a, sourced from the community, and categorized as knowledge-management. The official page marks requires_api_key=false, and current SkillHub stats show a rating of 100000, 2450 downloads, and 101 installs (subject to what SkillHub displays).
The Skill is positioned to trigger when users say things like “help me organize my notes”, “save this content”, “organize it into the knowledge base”, or “process this source file”. The Agent then maintains the raw/ and wiki/ layered structure according to the rules in the Skill, updating index files such as index.md and log.md. The conceptual explanation aligns with the LLM Wiki approach document publicly shared by Karpathy. This Skill writes the process into SKILL.md rather than replacing your local configuration of knowledge base paths and toolchains.
Core Features¶
The following capabilities all come from the installed SKILL.md (1.0.0) and do not expand on implementation details not specified by the Skill.
Three-Layer Structure¶
- Schema rules layer:
SKILL.md, plus an optionalWIKI_RULES.md, defining how the Agent operates the knowledge base. - Wiki knowledge layer:
$VAULT_PATH/wiki/, where the LLM maintains structured Markdown (entity pages, concept pages, summaries, comparisons, Q&A records, etc.), primarily for human reading. - Raw source layer:
$VAULT_PATH/raw/, storing unaltered original materials (articles, papers, data, chat logs, web clippings, etc.).
Key Files¶
| File | Purpose |
|---|---|
index.md |
Content directory listing pages by category; updated by the LLM after each ingest |
log.md |
Append-only timeline recording operations |
health/*.md |
Health check reports produced by lint |
Three Operations¶
Ingest (Ingestion)
Corresponds to intents such as organizing, saving, and processing source files. The Skill-prescribed steps include: saving the original file to raw/YYYY/MM/DD/; reading index.md and scanning relevant pages; analyzing and integrating into the Wiki; updating index.md and log.md; and performing Git synchronization (requires a locally configured repository and permissions).
Query (Query)
When the user asks a question, the Agent first checks index.md to locate pages, then synthesizes an answer with citations; if the answer has long-term value, it can be written back as a new Wiki page.
Lint (Health Check)
Periodic or on-demand checks: contradictions between pages, outdated claims, orphan pages, missing concept pages, cross-references that should be linked but aren’t, data gaps that could be filled, etc., with results written to health/*.md.
Page Conventions (Excerpt)¶
- Wiki pages live under
wiki/. - The Skill requires pages to include the
#openclawtag, with a source link at the bottom in the form[Source](raw/YYYY/MM/DD/filename.md). - New knowledge points must be associated with at least two existing related pages using
[[Page Name]]; contradictions between new and old content must be annotated rather than directly overwriting old statements.
Installation and Activation¶
The official SkillHub page gives the following installation instructions: read the SkillHub installation documentation and install the coordinates @user_f2c57d7a/llm-wiki-pro.
Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can run the full installation (the recommended method in the documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI-only installation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Install llm-wiki-pro¶
During installation you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/ and may not be recognized. Common paths listed in the SkillHub documentation are:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example in Cursor:
skillhub install llm-wiki-pro --namespace user_f2c57d7a --dir ~/.cursor/skills/
The equivalent coordinate form is @user_f2c57d7a/llm-wiki-pro. After installation, refresh or restart the Agent as required by your client so the Skill is loaded.
Runtime Dependencies (OpenClaw Metadata)¶
In the SKILL.md front matter, the OpenClaw-related metadata declares:
- Required executable:
zk - Required environment variable:
VAULT_PATH(knowledge base root directory)
If you are not using this within the OpenClaw ecosystem, you still need to point VAULT_PATH to your actual vault yourself and ensure that the raw/, wiki/, and index file paths match the Skill description; whether zk is required depends on the host and companion tools you choose, and the Skill loading result in your environment is authoritative.
Typical Usage¶
The following examples restate the official trigger phrases and workflows to facilitate reproduction in the Agent.
1. Ingest new material
Tell the Agent:
Help me organize my notes: save the following content to the knowledge base and process this source file according to the LLM Wiki workflow.
The Agent should, per the Skill, place the original text into raw/YYYY/MM/DD/, update or create pages under wiki/, and refresh index.md and log.md.
2. Ask questions based on the Wiki
Answer based on the knowledge base: are the concept of XXX and the conclusions of the YYY experiment consistent? Please cite wiki pages.
Expected behavior: read index.md first, then read relevant pages, and synthesize an answer; when valuable, it can be precipitated as a new page.
3. Health check
Run a lint on the current knowledge base and write issues to the health directory.
Corresponds to the Skill’s checks for contradictions, orphan pages, missing links, and so on.
Suitable Scenarios and Notes¶
Who It’s For
People who need long-term accumulated, cross-referenceable personal research notes or reading libraries, willing to use Markdown + directory conventions to replace the “retrieve from scratch every Q&A” model; able to accept that Raw is append-only and immutable, and Wiki is maintained by the Agent.
Limitations and Notes
- This Skill is a workflow and specification; it does not bundle a hosting service;
VAULT_PATH, Git, Obsidian, or other readers must be prepared by yourself. - The Ingest workflow specifies Git synchronization; if Git is not configured, this step will fail or require manual handling, so it’s advisable to set up a repository before installation.
- The
#openclawand other tags in the page conventions come from the original Skill text; if the host does not recognize tag semantics, the directory and link conventions still take precedence. - This is a community Skill (
user_f2c57d7a); upgrades and behavior changes are subject to thellm-wiki-propackage on SkillHub.
Conclusion¶
llm-wiki breaks down Karpathy’s LLM Wiki “Raw + persistent Wiki + rules layer” into three Agent-executable operations—ingest, query, and lint—making it suitable for turning colloquial intents like “organize my notes” into fixed directories and index files. For installation and documentation, see SkillHub: llm-wiki skill page, API coordinate entry point: https://api.skillhub.cn/user_f2c57d7a/llm-wiki-pro.