llm-wiki-plugin
Andrej Karpathy's LLM Wiki pattern as a skill & Claude Code plugin β turn accumulated sources into a self-maintaining, scalable markdown knowledge base.
Install / Use
npx skills add praneybehl/llm-wiki-pluginInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of llm-wiki-plugin
llm-wiki-plugin scores 89/100 on our quality scale, 393rd of 955 AI & Machine Learning skills we index (top 42%).
Its SKILL.md is 22 KB long, well organised into 22 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.
It has 123 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 8 days ago, so llm-wiki-plugin is actively maintained.
- Our last check on 2026-10-18 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk β read a skill before letting an agent act on it.
llm-wiki-plugin compared with similar skills
All 4 of these similar skills score higher than llm-wiki-plugin; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| llm-wiki-plugin (this skill)by praneybehl | 89 | 123 | 8d ago | SKILL.md |
| claude-memby thedotmack | 100 | 113.8k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install llm-wiki-plugin?
- Run
npx skills add praneybehl/llm-wiki-plugin. The install tabs above show the steps for each supported agent. - Which AI agents does llm-wiki-plugin work with?
- It is written for Claude Code, Gemini CLI, Cursor and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is llm-wiki-plugin safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is llm-wiki-plugin still maintained?
- The repository was last updated 8 days ago, so llm-wiki-plugin is actively maintained.
Skill content
View source on GitHubLLM Wiki β a second brain for AI agents
Turn PDFs, articles, transcripts, and notes into a shared wiki that your AI agents can search, cite, and keep up to date. Add a source once. Ask questions later. Keep the useful answers.
Works with Claude Code, Codex, Cursor, Gemini CLI, OpenCode, OpenClaw, Pi, OMP, and Hermes. Read the documentation.
What is LLM Wiki?
AI agents are good at the task in front of them, but a new session starts with limited context. LLM Wiki gives them a shared memory that can live in one personal wiki across all projects or inside a specific project.
When you add a source, the agent turns it into linked Markdown pages. Later, it can find the right section and answer with citations. Useful answers can be saved back into the wiki, so the knowledge grows instead of being rebuilt from scratch.
Everything canonical stays in readable Markdown. Default semantic search is localβno hosted vector database or embedding service.
What's new in v3.2.0
- Learn from completed work.
/wiki:learncaptures verified successes/failures and consolidates cited patterns, applicability and counterexamples. - Turn evidence into tested procedures.
/wiki:evolveruns training, evidence consolidation, whole-skill proposals, validation, and independent final testing, retaining rejected attempts. Adapters for nine supported agent hosts provide bounded runs, durable tool traces and cross-agent transfer; see the execution requirements. - Explicit apply and rollback. Only a reviewed, passing change can be applied; whole-skill snapshot checks prevent overwriting intervening edits.
- Runnable evaluation examples. Separate training, validation and final-test tasks cover source-grounded answers and file artifacts, with calibrated judging, paired task-level analysis, and ingestion/graph/hybrid-search checks. Fictional fixtures stay outside the installed skill.
- Compatible upgrade. Existing Markdown and commands remain valid.
/wiki:upgradeadds optional templates and archive guidance idempotently.
See Learning and skill evolution for the full workflow, evaluation limits and inference costs. This release adds tooling; it does not claim measured model gains.
The evolution workflow adapts WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution (Google Research and Virginia Tech, 2026): persistent experience-to-pattern learning, repeated skill proposals, retained failures, validation-only selection and independent final testing. See what we adapted and changed and the measured results. Our study rejected both proposals; no quality improvement was demonstrated.
Why use it?
- Stop repeating project context. Your agent can read the knowledge you already collected.
- Use the same wiki across agents. The files are plain Markdown, not tied to one model or tool.
- Trace every answer. Citations point back to the wiki page and original source.
- Keep the wiki healthy. The agent updates links, summaries, and contradictions as new sources arrive.
- Stay in control. Your pages remain readable, editable, and versionable.
LLM Wiki works best for knowledge that grows over time: research, meeting notes, customer calls, papers, articles, and project decisions. Use a regular database when your main problem is structured records and transactions.
Installation
uv is the only prerequisite: it creates the pinned script environments on every supported platform. Install it using the official uv instructions before running /wiki:init or the natural-language equivalent.
Plugin/skill installation copies all agent-facing commands and bundled tools. Wiki initialization then performs mandatory runtime setup: FastEmbed 0.8.0, sqlite-vec 0.1.9, PyYAML 6.0.3, the local BAAI/bge-small-en-v1.5 model, the parse cache, and vectors for every existing section. Upgrade runs the same setup again, incrementally synchronizing changed and deleted sections.
Claude Code β full plugin
The native path: the skill, the nine /wiki:* slash commands, and the marketplace manifest all ship in one install.
/plugin marketplace add praneybehl/llm-wiki-plugin
/plugin install llm-wiki@llm-wiki
Once installed, the plugin works in any project. Installation does not decide where your wiki lives.
Other coding agents β skill only
The llm-wiki skill uses the standard agentskills.io format, so it installs cleanly into any agent supported by the skills CLI. Pick the --agent flag that matches your setup:
# Install globally so the skill is available across all projects
npx skills add praneybehl/llm-wiki-plugin -a <agent> -g
# Or install into the current project only
npx skills add praneybehl/llm-wiki-plugin -a <agent>
| Agent | --agent value | Invoke via | Scripts run |
|-------|-----------------|------------|:-----------:|
| Claude Code | claude-code | /wiki:* slash commands (bundled) or natural language | β
|
| Codex (OpenAI) | codex | /skills or $llm-wiki / natural language | β
|
| Cursor | cursor | /llm-wiki or natural language | β
|
| Gemini CLI | gemini-cli | /skills management commands / natural language | β
|
| OpenCode | opencode | natural language (agent invokes the native skill tool) | β
|
| OpenClaw | openclaw | auto-exposed as a user command | β
|
| Pi Agent | pi | /skill:llm-wiki or natural language | β
|
| OMP ("Oh My Pi") | manual (see below) | natural language (skills auto-surface via skill://) | β
|
OpenCode also reads .claude/skills/ and ~/.claude/skills/, so if you already installed the skill for Claude Code you can use it in OpenCode without a second install.
Hermes Agent (Nous Research), OMP ("Oh My Pi"), and other agentskills.io-compatible runtimes that aren't yet in the npx skills registry can still use this skill β clone the repo and symlink or copy skills/llm-wiki/ into the agent's skills directory. Hermes reads from ~/.hermes/skills/; OMP reads managed/user skills from ~/.omp/agent/skills/ and surfaces them via skill://.
git clone https://github.com/praneybehl/llm-wiki-plugin.git
mkdir -p ~/.hermes/skills ~/.omp/agent/skills
ln -s "$(pwd)/llm-wiki-plugin/skills/llm-wiki" ~/.hermes/skills/llm-wiki
ln -s "$(pwd)/llm-wiki-plugin/skills/llm-wiki" ~/.omp/agent/skills/llm-wiki
A few things to know when using the skill outside Claude Code:
- Slash commands are Claude Code-only. The nine
/wiki:*commands live incommands/wiki/as Claude Code plugin manifests. In other agents, invoke the skill by natural language ("add this paper to the wiki", "what does the wiki say about X", "lint the wiki") β the SKILL.md handles the rest. - All bundled tools are agent-accessible. Every listed agent can invoke
setup_wiki.py, hybrid/lexical search, lint, stats, graph lint/extract/query, and initialization through the installed skill. Dependency-bearing scripts carry pinned PEP 723 metadata and run withuv run --script; initialization and upgrade verify the full runtime before reporting readiness. - The wiki itself is agent-agnostic. It's just a directory of markdown files. You can ingest with one agent and query with another; nothing in
wiki/ties it to a specific runtime.
Choose where the wiki lives
Skill scope and wiki scope are separate choices. A global skill install makes the skill available in every project; it does not create or select a global wiki.
- One personal wiki across projects: keep it at a stable user-level path such as
~/wiki/, keep raw sources under~/wiki/raw/, and point your agent's global instructions there. Work from any project can then be deliberately ingested into the same wiki. - One wiki for a project: keep
wiki/andraw/in the project and point the project's agent-memory file to them. Choose this when the knowledge should be isolated or versioned with that repository.
A global wiki does not automatically crawl or ingest every project. The agent adds project facts, decisions, and source material when you ask it to ingest them or when your global instructions explicitly tell it to preserve durable findings.
Quick start
For one personal wiki shared across projects:
/wiki:init --global
This initializes ~/wiki/ with raw sources under ~/wiki/raw/ and proposes a matching stanza for your agent's global instructions.
For a wiki isolated to the current project:
/wiki:init
Already have a wiki from an earlier plugin version? Run /wiki:upgrade instead. Init and upgrade both install and verify the complete pinned local runtime, cache the embedding model, build the parse cache, and synchronize all current vectors. They add missing wiki files idempotently and never overwrite existing pages or SCHEMA.md.
Initialization bootstraps the selected wiki and raw-source roots with SCHEMA.md, index.md, log.md, and a page template, then emits a JSON runtime report. Setup is complete only when it reports "status": "ready".
As part of the same step, the skill proposes a location pointer so the agent remembers the wiki in future sessions: global instructions for a personal global wiki, or the project's agent-memory file for a project wiki. The skill never writes to a memory file without your approval; see skills/llm-wiki/references/agent-memory-integration.md for both variants.
Drop your first source into the configured raw root (for example ~/wiki/raw/ in the global layout), then:
/wiki:ingest ~/wiki/raw/your-source.pdf
Claude reads the source (chunk-reading if it's large), discusses the takeaways with you, writes a summary page, identifies which existing entity and concept pages it touches, surgically updates them with str_replace, creates new pages for new entities and concepts (each with at least one inbound link), updates the index, and appends to the log.
Once you have a few sources in:
/wiki:query What does my wiki say about X?
Claude reads the index to find candidate pages, reads them, synthesizes an answer with [[wikilink]] citations, and offers to file substantive answers back into wiki/synthesis/ so the exploration compounds.
Periodically, run a health check:
/wiki:lint
This catches orphan pages, broken wikilinks, oversized pages, missing frontmatter, and stale claims. Findings are presented as proposed edits β Claude doesn't rewrite your wiki silently.
Commands
| Command | What it does |
|---------|--------------|
| /wiki:init [--global] | Bootstrap a personal global wiki or a wiki in the current project (both include the graph layer). |
| /wiki:ingest <source> | Process a new source into the wiki; refreshes the graph layer when present. |
| /wiki:query <question> | Answer a question from the wiki with citations; consults graph.sqlite for relational questions when available. |
| /wiki:lint | Structural and semantic health check; also runs graph lint when wiki/graph/ontology.yaml exists. |
| /wiki:stats | Show wiki size, link density, and which scaling threshold the wiki is at. |
| /wiki:graph <action> | extract / lint / neighbors / edges / path / facts against the compiled graph layer. |
| /wiki:learn <task artifacts> | Capture verified experience and consolidate reusable, evidence-linked patterns. |
| /wiki:evolve <goal or action> | Propose, evaluate, inspect, apply or roll back a skill improvement; retain all trial results. |
| /wiki:upgrade | Upgrade an existing wiki to the current plugin version (idempotent file ops + walked S
Truncated for display β read the full file on GitHub.
Related Skills
claude-mem
113.8kPersistent Context Across Sessions for Every Agent β Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
91.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
