yangel-hide/video-production-planner-agent/llm-wiki
Claude Code and agent skill by yangel-hide/video-production-planner-agent
- community
Checking that the SKILL.md file is still in the repository.
Karpathy's LLM Wiki: build/query interlinked markdown KB.
Install
npx vskill@latest install yangel-hide/video-production-planner-agent/llm-wikiSKILL.md
The same SKILL.md was published earlier as yangel-hide/video-production-planner-agent/llm-wiki.
Karpathy's LLM Wiki
Build and maintain a persistent, compounding knowledge base as interlinked markdown files. Based on Andrej Karpathy's LLM Wiki pattern.
Unlike traditional RAG (which rediscovers knowledge from scratch per query), the wiki compiles knowledge once and keeps it current. Cross-references are already there. Contradictions have already been flagged. Synthesis reflects everything ingested.
Division of labor: The human curates sources and directs analysis. The agent summarizes, cross-references, files, and maintains consistency.
When This Skill Activates
Use this skill when the user:
- Asks to create, build, or start a wiki or knowledge base
- Asks to ingest, add, or process a source into their wiki
- Asks a question and an existing wiki is present at the configured path
- Asks to lint, audit, or health-check their wiki
- References their wiki, knowledge base, or "notes" in a research context
Wiki Location
Location: Set via WIKI_PATH environment variable (e.g. in ~/.hermes/.env).
If unset, defaults to ~/wiki.
The wiki is just a directory of markdown files — open it in Obsidian, VS Code, or any editor. No database, no special tooling required.
Architecture: Three Layers
Layer 1 — Raw Sources: Immutable. The agent reads but never modifies these. Layer 2 — The Wiki: Agent-owned markdown files. Created, updated, and cross-referenced by the agent. Layer 3 — The Schema: SCHEMA.md defines structure, conventions, and tag taxonomy.
Resuming an Existing Wiki (CRITICAL — do this every session)
When the user has an existing wiki, always orient yourself before doing anything:
① Read `SCHEMA.md` — understand the domain, conventions, and tag taxonomy. ② Read `index.md` — learn what pages exist and their summaries. ③ Scan recent `log.md` — read the last 20-30 entries to understand recent activity.
Only after orientation should you ingest, query, or lint. This prevents:
- Creating duplicate pages for entities that already exist
- Missing cross-references to existing content
- Contradicting the schema's conventions
- Repeating work already logged
For large wikis (100+ pages), also run a quick search_files for the topic at hand before creating anything new.
Initializing a New Wiki
When the user asks to create or start a wiki:
- Determine the wiki path (from
$WIKI_PATHenv var, or ask the user; default~/wiki) - Create the directory structure above
- Ask the user what domain the wiki covers — be specific
- Write
SCHEMA.mdcustomized to the domain (see template below) - Write initial
index.mdwith sectioned header - Write initial
log.mdwith creation entry - Confirm the wiki is ready and suggest first sources to ingest
SCHEMA.md Template
Adapt to the user's domain. The schema constrains agent behavior and ensures consistency:
source_url: https://example.com/article # original URL, if applicable ingested: YYYY-MM-DD sha256: <hex digest of the raw content below the frontmatter>
index.md Template
The index is sectioned by type. Each entry is one line: wikilink + summary.
Scaling rule: When any section exceeds 50 entries, split it into sub-sections by first letter or sub-domain. When the index exceeds 200 entries total, create a _meta/topic-map.md that groups pages by theme for faster navigation.
log.md Template
Core Operations
1. Ingest
When the user provides a source (URL, file, paste), integrate it into the wiki:
① Capture the raw source:
- URL → use
web_extractto get markdown, save toraw/articles/ - PDF → use
web_extract(handles PDFs), save toraw/papers/ - Pasted text → save to appropriate
raw/subdirectory - Name the file descriptively:
raw/articles/karpathy-llm-wiki-2026.md - Add raw frontmatter (
source_url,ingested,sha256of the body).
On re-ingest of the same URL: recompute the sha256, compare to the stored value — skip if identical, flag drift and update if different. This is cheap enough to do on every re-ingest and catches silent source changes.
② Discuss takeaways with the user — what's interesting, what matters for the domain. (Skip this in automated/cron contexts — proceed directly.)
③ Check what already exists — search index.md and use search_files to find existing pages for mentioned entities/concepts. This is the difference between a growing wiki and a pile of duplicates.
④ Write or update wiki pages:
- New entities/concepts: Create pages only if they meet the Page Thresholds
in SCHEMA.md (2+ source mentions, or central to one source)
- Existing pages: Add new information, update facts, bump
updateddate.
When new info contradicts existing content, follow the Update Policy.
- Cross-reference: Every new or updated page must link to at least 2 other
pages via [[wikilinks]]. Check that existing pages link back.
- Tags: Only use tags from the taxonomy in SCHEMA.md
- Provenance: On pages synthesizing 3+ sources, append
^[raw/articles/source.md]
markers to paragraphs whose claims trace to a specific source.
- Confidence: For opinion-heavy, fast-moving, or single-source claims, set
confidence: medium or low in frontmatter. Don't mark high unless the claim is well-supported across multiple sources.
⑤ Update navigation:
- Add new pages to
index.mdunder the correct section, alphabetically - Update the "Total pages" count and "Last updated" date in index header
- Append to
log.md:## [YYYY-MM-DD] ingest | Source Title - List every file created or updated in the log entry
⑥ Report what changed — list every file created or updated to the user.
A single source can trigger updates across 5-15 wiki pages. This is normal and desired — it's the compounding effect.
2. Query
When the user asks a question about the wiki's domain:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/research/llm-wiki/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yangel-hide/video-production-planner-agent/llm-wiki)