Agent skill

LLM Wiki

by lewislulu in 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…

No licenceAuto-check passedKnowledge Management

Install LLM Wiki

skills CLI
$ npx skills add lewislulu/llm-wiki-skill --skill llm-wiki -a claude-code

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

GitHub CLI
$ gh skill install lewislulu/llm-wiki-skill 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/lewislulu/llm-wiki-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/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
655
Token cost
~3.7k tokens
SKILL.md length
1,524 words
Files
9 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

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…

  • Works in 9 steps: Divide and conquer → Mermaid for diagrams, KaTeX for formulas → Raw file policy → …
  • Scaffolding a new knowledge base for any research topic
  • SKILL.md covers Core idea, Directory layout, Core principles and The five operations, plus 6 more sections
  • Runs Python scripts from its folder; calls python3

What it does

LLM Wiki is an agent skill from 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 queries against the corpus, lints the graph for health, and audits in-context human feedback filed from Obsidian or the local web viewer. Use when (1) scaffolding a new knowledge base for any research topic, (2) ingesting articles/papers/PDFs/web pages into raw/, (3) compiling or restructuring wiki articles from existing…

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `references/article-guide.md`, `references/audit-guide.md` and `references/log-guide.md`).

It sits in Knowledge Management, covering LLM wikis, Linting and formatting and Knowledge bases. It works with Obsidian. The repository describes itself as: Karpathy-style LLM knowledge base Agent Skill for OpenClaw/Codex. Experimental — will iterate over time.

When your agent uses it

  • Scaffolding a new knowledge base for any research topic
  • Ingesting articles/papers/PDFs/web pages into raw/
  • Restructuring wiki articles from existing raw material
  • Answering questions against the wiki and filing durable answers back

Example prompts

  • “/llm-wiki”

Requirements

  • Python 3
  • Node.js

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Divide and conquer
  2. Mermaid for diagrams, KaTeX for formulas
  3. Raw file policy
  4. Audit is the human feedback surface
  5. compile
  6. ingest
  7. query
  8. lint
  9. audit

What it can do on your machine

Read from SKILL.md and the folder at commit d7751c0. 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

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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
    • obsidian.md
    • 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.

Context cost

LLM Wiki loads about 3.7k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 213 tokens; SKILL.md has 1,524 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~213
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,524 words (~3,685 tokens).

“Instead of RAG (re-retrieving raw docs on every query), the LLM compiles raw sources into a persistent, cross-linked wiki. Every ingest, query, lint, and audit pass makes the wiki richer. Knowledge compounds — and the human stays in the loop…”

— opening of SKILL.md by lewislulu
name
llm-wiki

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts, references) in llm-wiki of lewislulu/llm-wiki-skill.

  • SKILL.md
  • references/article-guide.md
  • references/audit-guide.md
  • references/log-guide.md
  • references/schema-guide.md
  • references/tooling-tips.md
  • scripts/audit_review.py
  • scripts/lint_wiki.py
  • scripts/scaffold.py

Open the folder on GitHubat commit d7751c0

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 skilllewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
LLM WikiCharlesHoskinson/sevenlayer116—~1.5kAutomated safety check: PassCustom licence
Knowledge Base Health Lintjason-effi-lab/karpathy-llm-wiki-vault721—~336Automated safety check: PassNone
Wiki Vault Queryjason-effi-lab/karpathy-llm-wiki-vault721—~383Automated safety check: PassNone
LLM Wikipraneybehl/llm-wiki-plugin118—~5.7kAutomated safety check: PassMIT
My LLM WikiMartinLwx/dotfiles140—~2.7kAutomated safety check: PassNone

Similar skills

  • LLM Wiki

    CharlesHoskinson/sevenlayer

    Builds and maintains a persistent, interlinked Obsidian-compatible markdown knowledge wiki in a git repo via three operations — ingest a source into linked pages, answer a question from the…

    116 GitHub stars~1.5k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Knowledge Base Health Lint

    jason-effi-lab/karpathy-llm-wiki-vault

    Scans an Obsidian-style wiki for broken double-link references, orphan pages, files missing from the index and unresolved knowledge conflicts, then reports the findings.

    721 GitHub stars~336 tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed
  • Wiki Vault Query

    jason-effi-lab/karpathy-llm-wiki-vault

    Answers questions from a local Obsidian-style wiki by reading its index first, then the relevant pages, and replying with wiki-link citations instead of model memory.

    721 GitHub stars~383 tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    praneybehl/llm-wiki-plugin

    Build and maintain an LLM-curated knowledge base from papers, articles, transcripts, notes and project findings.

    118 GitHub stars~5.7k tokensUpdated 28 days ago
    Knowledge ManagementAuto-check passed
  • My LLM Wiki

    MartinLwx/dotfiles

    Provides access to the user's personal wiki, including notes, research, project documentation, decisions, and archived knowledge.

    140 GitHub stars~2.7k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check passed
  • Obsidian Vault Ingest Pipeline

    jason-effi-lab/karpathy-llm-wiki-vault

    Compiles raw articles, papers and transcripts sitting in an inbox folder into linked Obsidian source, entity and concept pages, then archives the originals.

    721 GitHub stars~669 tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed

Works with

Questions about LLM Wiki

What does LLM Wiki do?

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…. LLM Wiki is an agent skill from 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 queries against the corpus, lints the graph for health, and audits in-context human feedback filed from Obsidian or the local web viewer.

When should I use LLM Wiki?

LLM Wiki fits situations like: scaffolding a new knowledge base for any research topic; ingesting articles/papers/PDFs/web pages into raw/; restructuring wiki articles from existing raw material; answering questions against the wiki and filing durable answers back.

How do I install LLM Wiki in Claude Code?

Run `npx skills add lewislulu/llm-wiki-skill --skill llm-wiki -a claude-code`. Or copy the skill folder (llm-wiki in lewislulu/llm-wiki-skill) 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 lewislulu/llm-wiki-skill --skill llm-wiki -a codex`. Or copy the skill folder (llm-wiki in lewislulu/llm-wiki-skill) 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 lewislulu/llm-wiki-skill --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 Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Node.js.

Does LLM Wiki access the network?

SKILL.md names 3 domains. As links in the text: gist.github.com, obsidian.md 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does LLM Wiki use?

No licence was found for LLM Wiki or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does LLM Wiki use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.6k tokens, read only when the agent opens those files.

What are the alternatives to LLM Wiki?

Skills that share tags, products or a category with LLM Wiki: LLM Wiki (CharlesHoskinson/sevenlayer, 116 stars), Knowledge Base Health Lint (jason-effi-lab/karpathy-llm-wiki-vault, 721 stars), Wiki Vault Query (jason-effi-lab/karpathy-llm-wiki-vault, 721 stars) and LLM Wiki (praneybehl/llm-wiki-plugin, 118 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Wiki?

lewislulu (a GitHub user) maintains it in lewislulu/llm-wiki-skill, which has 655 GitHub stars. The repository was last updated on April 16, 2026.

Source: lewislulu/llm-wiki-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.