← 返回 Skills 市场
pathanaawej0-dot

LLM Wiki

作者 Aawej · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-llm-wiki
功能描述
Create and maintain a persistent LLM-maintained knowledge base (wiki) following Andrej Karpathy's pattern. The LLM actively builds and maintains interconnect...
使用说明 (SKILL.md)

LLM Wiki Skill

Create and maintain a persistent LLM-maintained knowledge base (wiki) following Andrej Karpathy's pattern. Instead of traditional RAG where LLMs rediscover knowledge from scratch, this skill enables the LLM to actively build and maintain interconnected markdown files that serve as a growing, searchable knowledge base.

Overview

This skill implements Andrej Karpathy's LLM Wiki concept:

  • Raw sources → Immutable collection of source documents
  • The wiki → LLM-generated, interconnected markdown files owned entirely by the LLM
  • The schema → Configuration file that tells the LLM how to structure and maintain the wiki

The LLM becomes a disciplined wiki maintainer rather than a generic chatbot, handling all the bookkeeping, cross-referencing, and knowledge synthesis.

Folder Structure

When initialized, this skill creates:

llm-wiki/
├── raw/                  # Your source documents (immutable)
├── wiki/
│   ├── entities/         # Person, model, organization pages
│   ├── concepts/         # Techniques, theories, methods
│   ├── sources/          # Source summaries and analyses
│   └── logs/             # Activity logs (optional)
├── index.md              # Auto-generated catalog of all wiki pages
├── log.md                # Chronological record of activities
└── SCHEMA.md             # Configuration for LLM wiki maintainer

Core Workflows

1. Ingesting Sources

When new sources are added to raw/:

  • LLM reads and discusses key takeaways with human
  • Creates/updates summary page in wiki/sources/
  • Updates relevant entity pages in wiki/entities/
  • Updates relevant concept pages in wiki/concepts/
  • Updates index.md and appends to log.md

2. Querying Knowledge

When answering questions:

  • Consults index.md to find relevant pages
  • Reads and synthesizes from wiki pages with citations
  • Suggests filing valuable answers back as new wiki knowledge
  • Logs the query interaction

3. Wiki Maintenance (Lint)

Periodic health checks:

  • Identifies contradictions between pages
  • Finds stale claims superseded by newer sources
  • Detects orphan pages (no inbound links)
  • Notes missing concepts that need their own page
  • Highlights missing cross-references
  • Suggests new questions to investigate and sources to seek
  • Reports findings and asks for confirmation before changes

Human-LLM Collaboration

Human Responsibilities:

  • Curate and add sources to raw/
  • Direct analysis and ask probing questions
  • Resolve conflicts and provide context
  • Think about implications and meaning

LLM Responsibilities:

  • Read and comprehend source materials
  • Extract and integrate knowledge into wiki
  • Maintain cross-references and consistency
  • Update summaries when new information arrives
  • Flag contradictions and uncertainties
  • Handle all bookkeeping and maintenance
  • Never modify raw source documents

Usage

Initial Setup

The skill automatically creates the folder structure and base files when first used.

Adding a Source

  1. Place document(s) in llm-wiki/raw/
  2. Tell the agent: "Please process the new source I added"
  3. Agent will ingest and integrate the knowledge

Asking Questions

  • Ask questions naturally about your knowledge base
  • Agent will consult the wiki and provide cited answers
  • Agent may suggest filing insights back as wiki pages

Maintenance

  • Agent will periodically suggest running wiki health checks
  • Or you can request: "Please run a lint check on the wiki"

Configuration

The SCHEMA.md file in the wiki root contains detailed configuration for:

  • Naming conventions
  • Optional frontmatter format
  • Specific workflow details
  • Output format guidelines
  • Tool integration hints (Obsidian, qmd, git, etc.)

Example Interaction Flow

Human: "I've added a new paper about LLM quantization techniques to raw/"

Agent:

  1. Reads the paper
  2. Discovers key points: quantization reduces model size, improves inference speed, techniques like GPTQ, AWQ
  3. Creates/updates wiki/sources/paper-title.md with summary
  4. Updates/concept page wiki/concepts/quantization.md
  5. Updates entity pages for any mentioned models/researchers
  6. Updates index.md and appends to log.md
  7. Reports: "I've processed the paper and updated the quantization concept page. Would you like to discuss any specific findings?"

Human: "What's the difference between GPTQ and AWQ?"

Agent:

  1. Checks index for relevant pages
  2. Reads wiki/concepts/quantization.md and related entity pages
  3. Synthesizes answer comparing the two techniques with citations
  4. Suggests: "This comparison could be filed as a new wiki page. Would you like me to create wiki/concepts/gptq-vs-awq.md?"
  5. Logs the query

Benefits Over Traditional RAG

  • Compounding knowledge: Each source makes the wiki more valuable, not just adds to retrieval corpus
  • Zero maintenance cost: LLM handles all bookkeeping, cross-referencing, consistency
  • Persistent synthesis: Knowledge is compiled once and kept current, not re-derived per query
  • Exploration value: Answers can become new wiki pages, making explorations permanent
  • Transparent organization: Human-navigable structure with clear categories and links

Requirements

  • Basic file system access to create/modify the wiki directory structure
  • Compatible with any LLM that can read/write files and follow structured instructions
  • Works best with agents that can maintain context over multiple interactions

Getting Started

  1. Use this skill to initialize your LLM wiki
  2. Add your first source document to the raw/ folder
  3. Ask the agent to process it
  4. Begin building your knowledge base through ingestion and questioning
安全使用建议
This appears safe for a local, user-curated Markdown knowledge base. Before installing, make sure you are comfortable with the agent reading documents you place in `llm-wiki/raw/` and storing summaries, links, and query logs in persistent local files.
功能分析
Type: OpenClaw Skill Name: openclaw-llm-wiki Version: 0.1.0 The skill is a knowledge management tool designed to create and maintain a markdown-based wiki following a structured pattern. It operates entirely on local markdown files within a specific directory structure (llm-wiki/) and lacks any indicators of data exfiltration, unauthorized code execution, or malicious prompt injection. All instructions are aligned with the stated purpose of document synthesis and organization.
能力评估
Purpose & Capability
The stated purpose and behavior are coherent: SKILL.md describes a persistent LLM-maintained wiki built from user-added sources, which inherently involves reading source files and writing Markdown pages.
Instruction Scope
The workflow is user-directed: the user places documents in `llm-wiki/raw/`, asks the agent to process them, and the skill says raw source documents should never be modified.
Install Mechanism
There is no install spec, no code files, no required binaries, and no static scan findings.
Credentials
The skill asks for local file-system read/write ability to create and modify the wiki directory structure, which is expected for this purpose but should be limited to the intended folder.
Persistence & Privilege
The skill intentionally creates persistent wiki pages, indexes, and logs, so user-provided source content and query-derived insights may remain available across future interactions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-llm-wiki
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-llm-wiki 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: LLM Wiki skill for maintaining persistent knowledge base
元数据
Slug openclaw-llm-wiki
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

LLM Wiki 是什么?

Create and maintain a persistent LLM-maintained knowledge base (wiki) following Andrej Karpathy's pattern. The LLM actively builds and maintains interconnect... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 LLM Wiki?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-llm-wiki」即可一键安装,无需额外配置。

LLM Wiki 是免费的吗?

是的,LLM Wiki 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

LLM Wiki 支持哪些平台?

LLM Wiki 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 LLM Wiki?

由 Aawej(@pathanaawej0-dot)开发并维护,当前版本 v0.1.0。

💬 留言讨论