llm-wiki-skill
БесплатноБез исполняемых скриптовНе проверенBuild and maintain a personal knowledge base using Karpathy's llm-wiki methodology across Claude Code, Codex, and OpenClaw agents.
от reason-machines★ 99 звёзд на GitHubОб этом скилле
llm-wiki-skill — Multi-Platform Knowledge Base Builder
Skill by ara.so — Daily 2026 Skills collection.
Build a persistent, interlinked personal knowledge base from URLs, PDFs, markdown files, and raw text. Based on Karpathy's llm-wiki methodology: knowledge is compiled once and maintained, not re-derived from raw docs on every query.
What It Does
- Ingests articles, tweets, PDFs, YouTube transcripts, WeChat posts, and plain text
- Routes each source type to the best extraction tool automatically
- Generates structured wiki pages with
bidirectional links - Produces entity pages, topic pages, source summaries, and comparisons
- Outputs Obsidian-compatible local markdown files
- Detects orphaned pages, broken links, and contradictions via health checks
Installation
Recommended: Let Your Agent Install It
Give your agent the repo URL and ask it to install for your platform:
https://github.com/sdyckjq-lab/llm-wiki-skill
Manual Installation
Clone the repo anywhere, then run the installer for your platform:
# Claude Code
bash install.sh --platform claude
# Codex
bash install.sh --platform codex
# OpenClaw
bash install.sh --platform openclaw
# Auto-detect (only if one platform directory exists)
bash install.sh --platform auto
# Custom target directory (OpenClaw non-standard path)
bash install.sh --platform openclaw --target-dir /path/to/your/skills
Default Install Locations
| Platform | Path |
|---|---|
| Claude Code | ~/.claude/skills/llm-wiki |
| Codex | ~/.codex/skills/llm-wiki |
| OpenClaw | ~/.openclaw/skills/llm-wiki |
Legacy Claude Setup (existing users)
bash setup.sh
# This is now a compatibility shim for the unified installer
Prerequisites
# Check Chrome debug mode is running (needed for web extraction)
google-chrome --remote-debugging-port=9222 &
# Check uv is installed (needed for WeChat + YouTube extraction)
uv --version
# Install bun OR npm (one is enough for web extraction deps)
curl -fsSL https://bun.sh/install | bash
# OR: npm is already available in most environments
Platform Entry Points
After installation, read the platform-specific instructions:
- Claude Code:
platforms/claude/CLAUDE.md - Codex:
platforms/codex/AGENTS.md - OpenClaw:
platforms/openclaw/README.md
Knowledge Base Structure
your-wiki/
├── raw/ # Immutable source material
│ ├── articles/ # Web articles
│ ├── tweets/ # X/Twitter
│ ├── wechat/ # WeChat posts
│ ├── xiaohongshu/ # Xiaohongshu (manual paste only)
│ ├── zhihu/ # Zhihu
│ ├── pdfs/ # PDFs
│ ├── notes/ # Notes
│ └── assets/ # Images, attachments
├── wiki/ # AI-generated knowledge base
│ ├── entities/ # People, concepts, tools
│ ├── topics/ # Topic pages
│ ├── sources/ # Source summaries
│ ├── comparisons/ # Side-by-side analysis
│ └── synthesis/ # Cross-source synthesis
├── index.md # Master index
├── log.md # Operation log
└── .wiki-schema.md # Config
Core Workflows
Initialize a New Knowledge Base
# Ask your agent:
"Create a new knowledge base at ~/my-wiki"
# The agent will scaffold the directory structure,
# generate index.md, log.md, and .wiki-schema.md
Ingest a Web Article
# Agent command pattern:
"Add this article to my wiki: https://example.com/article"
# Under the hood, the agent routes to baoyu-url-to-markdown:
npx baoyu-url-to-markdown https://example.com/article > raw/articles/article-slug.md
Ingest a YouTube Video
# Agent command pattern:
"Digest this YouTube video into my knowledge base: https://youtube.com/watch?v=abc123"
# Uses youtube-transcript via uv:
uvx youtube-transcript https://youtube.com/watch?v=abc123 > raw/articles/video-slug.md
Ingest a WeChat Article
# Agent command pattern:
"Add this WeChat article to my wiki: https://mp.weixin.qq.com/s/..."
# Uses wechat-article-to-markdown via uv:
uvx wechat-article-to-markdown https://mp.weixin.qq.com/s/... > raw/wechat/article-slug.md
Ingest a PDF
# Agent command pattern:
"Process this PDF into my wiki: /path/to/paper.pdf"
# OR drag a file into the chat
# No external tool needed — goes directly into main pipeline:
cp /path/to/paper.pdf raw/pdfs/paper.pdf
Ingest Raw Text or Notes
# Just paste text to your agent:
"Add these notes to my wiki: [paste content]"
# Agent writes directly to:
echo "your content" > raw/notes/note-slug.md
Batch Process a Folder
# Agent command pattern:
"Process all files in ~/Downloads/research into my wiki"
# Agent iterates over files and routes each by type
for f in ~/Downloads/research/*; do
# agent determines type and processes accordingly
Установить llm-wiki-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл llm-wiki-skill?
Build and maintain a personal knowledge base using Karpathy's llm-wiki methodology across Claude Code, Codex, and OpenClaw agents.
Как установить скилл llm-wiki-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-wiki-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic