Agent skill

LLM Wiki

by jellydn in jellydn/my-ai-tools

Build a persistent compounding wiki from raw sources using the LLM Wiki pattern

MITAuto-check passedKnowledge Management

Install LLM Wiki

skills CLI
$ npx skills add jellydn/my-ai-tools --skill llm-wiki -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jellydn/my-ai-tools llm-wiki --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jellydn/my-ai-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llm-wiki .claude/skills/llm-wiki && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llm-wiki
GitHub stars
123
Token cost
~1.5k tokens
SKILL.md length
659 words
Files
4
Skills in repo
33
Repo updated
First seen
Licence
MIT

At a glance

Build a persistent compounding wiki from raw sources using the LLM Wiki pattern

  • Works in 6 steps: Create the directory structure: raw/,… → Copy $SKILL_PATH/templates/schema.md to… → Create wiki/index.md from… → …
  • Tasks that involve LLM wikis
  • SKILL.md covers Usage, Actions, Architecture and For "init [DIRECTORY]":, plus 7 more sections
  • Calls bun

What it does

LLM Wiki is an agent skill from jellydn/my-ai-tools. Build a persistent compounding wiki from raw sources using the LLM Wiki pattern

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `templates/index.md`, `templates/log.md` and `templates/schema.md`). Compatibility notes: cline, claude, opencode, amp, codex, gemini, cursor, pi

It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: Comprehensive configuration management for AI coding tools - Replicate my complete setup for Claude Code, OpenCode, Amp, Li, Codex and Claude Code Switch with custom… The licence is MIT.

When your agent uses it

  • Tasks that involve LLM wikis

Example prompts

  • “/llm-wiki”

Requirements

  • Compatibility (from SKILL.md): cline, claude, opencode, amp, codex, gemini, cursor, pi

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Create the directory structure: raw/, wiki/, wiki/entities/, wiki/concepts/, wiki/sources/
  2. Copy $SKILL_PATH/templates/schema.md to CLAUDE.md (or AGENTS.md)
  3. Create wiki/index.md from $SKILL_PATH/templates/index.md
  4. Create wiki/log.md from $SKILL_PATH/templates/log.md
  5. Create a starter wiki/overview.md stating the wiki's domain and purpose
  6. Tell the user to add sources to raw/ and run /llm-wiki ingest next

What it can do on your machine

Read from SKILL.md and the folder at commit 62c9227. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • gist.github.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    cline, claude, opencode, amp, codex, gemini, cursor, pi

    From compatibility in the SKILL.md frontmatter.

Context cost

LLM Wiki loads about 1.5k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 659 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jellydn/my-ai-tools at commit 62c9227, republished under its MIT licence (© jellydn). 659 words, ~1,542 tokens.

Download SKILL.mdSave it as .claude/skills/llm-wiki/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
llm-wiki
description
Build a persistent compounding wiki from raw sources using the LLM Wiki pattern
compatibility
cline, claude, opencode, amp, codex, gemini, cursor, pi
license
MIT
hint
Use when building a personal knowledge base, researching a topic over time, or maintaining a structured wiki from raw documents
user-invocable
true
metadata.audience
all
metadata.workflow
knowledge-management

LLM Wiki

Build and maintain a persistent, compounding knowledge wiki from raw sources.

Based on Karpathy's LLM Wiki pattern: the LLM incrementally integrates each new source into a structured wiki of markdown files — updating entity pages, flagging contradictions, strengthening cross-references. Synthesis is compiled once and kept current, not re-derived on every query.

Usage

/llm-wiki <ACTION> [ARGUMENTS]

Actions

  • init [DIRECTORY] - Initialize a new wiki (default: wiki/)
  • ingest <SOURCE> - Process a source file and integrate it into the wiki
  • query <QUESTION> - Answer a question using the wiki as the knowledge base
  • lint - Health-check the wiki for contradictions, orphan pages, and stale content
  • status - Show a summary of the wiki's current state

Architecture

your-wiki/
├── raw/           # Immutable source documents — you add, LLM never modifies
│   └── assets/    # Downloaded images referenced by sources
├── wiki/          # LLM-generated and maintained pages
│   ├── index.md   # Catalog of all pages with one-line summaries
│   ├── log.md     # Append-only record of all operations
│   ├── overview.md
│   ├── entities/  # People, places, organizations
│   ├── concepts/  # Ideas, topics, themes
│   └── sources/   # One summary page per source
└── CLAUDE.md      # Schema: wiki conventions and per-operation workflows

Templates for all three layers are in $SKILL_PATH/templates/.


For "init [DIRECTORY]":

  1. Create the directory structure: raw/, wiki/, wiki/entities/, wiki/concepts/, wiki/sources/
  2. Copy $SKILL_PATH/templates/schema.md to CLAUDE.md (or AGENTS.md)
  3. Create wiki/index.md from $SKILL_PATH/templates/index.md
  4. Create wiki/log.md from $SKILL_PATH/templates/log.md
  5. Create a starter wiki/overview.md stating the wiki's domain and purpose
  6. Tell the user to add sources to raw/ and run /llm-wiki ingest <file> next

Done when: all five files and directories exist and the user has been told the next step.


For "ingest <SOURCE>":

  1. Read the source file; share key takeaways and ask the user what to emphasize
  2. Create wiki/sources/<slug>.md with a structured summary
  3. Update wiki/overview.md if the source shifts the big picture
  4. Create or update entity pages in wiki/entities/ for key people, places, organizations
  5. Create or update concept pages in wiki/concepts/ for key ideas and themes
  6. Add a contradiction note on any existing page where this source conflicts with current content
  7. Update wiki/index.md — every new or modified page must appear with a one-line summary
  8. Append to wiki/log.md: ## [YYYY-MM-DD] ingest | <Source Title>

Done when: every affected page is updated, every new or changed page appears in index.md, and the log entry is appended. A single ingest typically touches 5–15 pages.


For "query <QUESTION>":

  1. Read wiki/index.md to identify the most relevant pages
  2. Read those pages in full
  3. Synthesize an answer with citations to specific wiki pages
  4. If the answer is a valuable synthesis (comparison, analysis, discovered connection), offer to file it as a new wiki page; if filed, update wiki/index.md and append to wiki/log.md

Done when: the question is answered with citations, and any filing decision (page created or skipped) is resolved.


Show full SKILL.md (266 more words)Show less

For "lint":

Scan the entire wiki and report on each of the following:

  • Contradictions — conflicting claims across pages
  • Stale content — pages superseded by newer ingested material
  • Orphan pages — pages with no inbound links
  • Missing pages — concepts mentioned on multiple pages but lacking their own page
  • Broken links — [[Page Name]] links pointing to non-existent pages
  • Data gaps — areas a targeted source or web search could fill

Suggest new questions and sources. Ask before making any fixes.

Append to wiki/log.md: ## [YYYY-MM-DD] lint | health check

Done when: all six issue types are checked and reported, suggestions are given, and the log entry is appended.


For "status":

Report: source count in raw/, wiki page count, last 10 entries in wiki/log.md, and any obvious health issues (orphan pages, missing index entries).

Done when: all four items are reported.


Index and log

wiki/index.md — content catalog, updated on every ingest. Every page with a link and one-line summary, organized by category. The LLM reads this first when answering queries.

wiki/log.md — append-only operation log. Entry format: ## [YYYY-MM-DD] <operation> | <title>. Grep-parseable:

bash
grep "^## \[" wiki/log.md | tail -5          # last 5 operations
grep "^## \[.*\] ingest" wiki/log.md          # all ingests
grep "^## \[.*\] query" wiki/log.md           # all queries

For larger wikis, add qmd — local hybrid BM25/vector search with an MCP server:

bash
bun install -g @tobilu/qmd
qmd collection add ./wiki --name my-wiki
qmd embed
qmd query "how does X relate to Y" -c my-wiki

Tips

  • Obsidian Web Clipper converts web articles to markdown — fast source collection for raw/.
  • File good answers: valuable query results (comparisons, analyses, new connections) should become wiki pages — explorations compound the knowledge base just like ingested sources do.
  • Ingest one source at a time — read the summaries, check the updates, guide emphasis. You get more value staying in the loop than batch-ingesting unattended.
  • The wiki is a git repo of markdown files — version history and collaboration come free.

© jellydn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in skills/llm-wiki of jellydn/my-ai-tools.

  • SKILL.md
  • templates/index.md
  • templates/log.md
  • templates/schema.md

Open the folder on GitHubat commit 62c9227

Compare with similar skills

LLM Wiki next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LLM Wiki compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LLM Wiki this skilljellydn/my-ai-tools123—~1.5kAutomated safety check: PassMIT
Karpathy LLM WikiAstro-Han/karpathy-llm-wiki2.5k—~3.6kAutomated safety check: PassMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Wiki Builderrohitg00/pro-workflow2.9k—~1kAutomated safety check: PassNone
Codex History IngestAr9av/obsidian-wiki3.5k—~2.2kAutomated safety check: NotesMIT
Arkon Editnduckmink/arkon1.5k—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.5k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Wiki Builder

    rohitg00/pro-workflow

    Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.

    2.9k GitHub stars~1k tokensUpdated 11 days ago
    Knowledge ManagementAuto-check passed
  • Codex History Ingest

    Ar9av/obsidian-wiki

    Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.

    3.5k GitHub stars~2.2k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check: notes
  • Arkon Edit

    nduckmink/arkon

    Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.

    1.5k GitHub stars~1.6k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Research Wiki Builder

    dair-ai/dair-academy-plugins

    Creates and maintains configurable research wikis: scaffold a folder, add sources, compile pages and indexes, and file query answers back.

    614 GitHub stars~1.3k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from jellydn/my-ai-tools

All 33 skills in this repo
  • Babysit PR

    jellydn/my-ai-tools

    A skill your agent uses when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.

    123 GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Visual PR

    jellydn/my-ai-tools

    Posts a concise visual outline as a GitHub pull request comment.

    123 GitHub stars~764 tokensUpdated yesterday
    Auto-check passed
  • Qmd Knowledge

    jellydn/my-ai-tools

    Manage project knowledge with qmd — captures learnings, decisions, and conventions

    123 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Prd

    jellydn/my-ai-tools

    Generate Product Requirements Documents from feature ideas — plans specs and requirements

    123 GitHub starsUsed in 4 repos~1.8k tokens
    Auto-check passed
  • Capability Experiments

    jellydn/my-ai-tools

    Build an interactive report or experiment when the user asks to explore model capabilities.

    123 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • PR Review

    jellydn/my-ai-tools

    Fix PR review comments by implementing requested changes. An agent skill from jellydn/my-ai-tools.

    123 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Questions about LLM Wiki

What does LLM Wiki do?

Build a persistent compounding wiki from raw sources using the LLM Wiki pattern. LLM Wiki is an agent skill from jellydn/my-ai-tools.

When should I use LLM Wiki?

LLM Wiki fits situations like: tasks that involve LLM wikis.

How do I install LLM Wiki in Claude Code?

Run `npx skills add jellydn/my-ai-tools --skill llm-wiki -a claude-code`. Or copy the skill folder (skills/llm-wiki in jellydn/my-ai-tools) into .claude/skills/llm-wiki in your project. Claude Code loads it when a task matches its description.

How do I install LLM Wiki in Codex?

Run `npx skills add jellydn/my-ai-tools --skill llm-wiki -a codex`. Or copy the skill folder (skills/llm-wiki in jellydn/my-ai-tools) into .agents/skills/llm-wiki in your project. Codex loads it when a task matches its description.

Can I use LLM Wiki in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jellydn/my-ai-tools --skill llm-wiki -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-wiki, .gemini/skills/llm-wiki, .github/skills/llm-wiki and .opencode/skills/llm-wiki in your project.

What does LLM Wiki need to run?

Going by SKILL.md and its folder, LLM Wiki needs the command-line tools its instructions call (bun). Compatibility (from SKILL.md): cline, claude, opencode, amp, codex, gemini, cursor, pi.

Does LLM Wiki access the network?

SKILL.md names 2 domains. As links in the text: gist.github.com and github.com. This is read from the text; nothing was executed.

Is LLM Wiki safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does LLM Wiki use?

LLM Wiki is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does LLM Wiki use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to LLM Wiki?

Skills that share tags, products or a category with LLM Wiki: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.5k stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Wiki Builder (rohitg00/pro-workflow, 2.9k stars) and Codex History Ingest (Ar9av/obsidian-wiki, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Wiki?

jellydn (a GitHub user) maintains it in jellydn/my-ai-tools, which has 123 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 10, 2026.

Source: jellydn/my-ai-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.