Agent skill

Karpathy Wiki Doctor

by toolboxmd in toolboxmd/karpathy-wiki

Detached doctor only. An agent skill from toolboxmd/karpathy-wiki.

MITAuto-check passedKnowledge Management

Install Karpathy Wiki Doctor

skills CLI
$ npx skills add toolboxmd/karpathy-wiki --skill karpathy-wiki-doctor -a claude-code

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

GitHub CLI
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-doctor --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/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/karpathy-wiki-doctor .claude/skills/karpathy-wiki-doctor && 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
karpathy-wiki-doctor
GitHub stars
105
Token cost
~489 tokens
SKILL.md length
216 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Detached doctor only. An agent skill from toolboxmd/karpathy-wiki.

  • Works in 9 steps: Run wiki-archive-schema-proposals.py… → Read /schema.md and category _index.md… → Read .ingest-issues.jsonl and… → …
  • Tasks that involve LLM wikis
  • SKILL.md covers Completion, Steps and Done
  • Calls bash

What it does

Karpathy Wiki Doctor is an agent skill from toolboxmd/karpathy-wiki. Detached doctor only. Whole-wiki census: tests, schema, tags, frontmatter, related, rewrite jobs. Does not rewrite page bodies. Launched by wiki doctor or when doctor cadence is due. Main agent never loads this.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: Karpathy Wiki - Claude Code skills for building persistent, compounding knowledge bases. Based on Andrej Karpathy's LLM Wiki pattern. The licence is MIT.

When your agent uses it

  • Tasks that involve LLM wikis

Example prompts

  • “/karpathy-wiki-doctor”

Workflow steps

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

  1. Run wiki-archive-schema-proposals.py --wiki-root "${WIKI_ROOT}" so leftover
  2. Read /schema.md and category _index.md files.
  3. Read .ingest-issues.jsonl and .doctor-runs.jsonl if they exist.
  4. Run page validation and tag lint (wiki-validate-page.py,
  5. Collapse same-idea tag pairs. Lint is a detector; also use tag-drift
  6. Patch schema.md via wiki-schema-patch.py (objects, tags, categories,
  7. You may fix frontmatter, tags, and related lists. Leave page synthesis
  8. If a cluster needs a playbook body, write one rewrite job under
  9. Complete through the helper.

What it can do on your machine

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

    • bash

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

  • Network

    No URLs in SKILL.md.

    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

Karpathy Wiki Doctor loads about 489 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 216 words of instructions outside code blocks.

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

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 toolboxmd/karpathy-wiki at commit db81e65, republished under its MIT licence (© toolboxmd). 216 words, ~489 tokens.

Download SKILL.mdSave it as .claude/skills/karpathy-wiki-doctor/SKILL.md (or your agent's skills folder).
name
karpathy-wiki-doctor
description
Detached doctor only. Whole-wiki census: tests, schema, tags, frontmatter, related, rewrite jobs. Does not rewrite page bodies. Launched by wiki doctor or when doctor cadence is due. Main agent never loads this.

karpathy-wiki doctor (detached census)

You are the detached wiki doctor. Wiki root is ${WIKI_ROOT}. Run id is ${WIKI_RUN_ID}. Perform this census yourself. Do not launch another model.

Completion

After the census succeeds:

bash
bash "${WIKI_PLUGIN_ROOT}/scripts/wiki-complete-doctor.sh"

Exit non-zero if that helper fails.

Steps

  1. Run wiki-archive-schema-proposals.py --wiki-root "${WIKI_ROOT}" so leftover proposal files sit under pending archive, not in a live inbox.
  2. Read <wiki>/schema.md and category _index.md files.
  3. Read .ingest-issues.jsonl and .doctor-runs.jsonl if they exist.
  4. Run page validation and tag lint (wiki-validate-page.py, wiki-lint-tags.py).
  5. Collapse same-idea tag pairs. Lint is a detector; also use tag-drift lines in .ingest-issues.jsonl. Skip pairs that are not the same idea. For each same-idea pair run wiki-collapse-tag.py --wiki-root "${WIKI_ROOT}" --same-idea <a> <b>. One spelling remains on pages, indexes, and Tag Taxonomy. Do not write == synonym pairs. Do not treat historical == schema lines as the collapse plan.
  6. Patch schema.md via wiki-schema-patch.py (objects, tags, categories, extra Page contract keys).
  7. You may fix frontmatter, tags, and related lists. Leave page synthesis unchanged.
  8. If a cluster needs a playbook body, write one rewrite job under <wiki>/.wiki-pending/rewrite-jobs/ naming the object token and pages. Do not execute the rewrite.
  9. Complete through the helper.

Done

Tests ran, schema objects/tags/categories match the index, rewrite jobs are recorded when a body rewrite is needed, page bodies are unchanged.

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

Files

Just SKILL.md in skills/karpathy-wiki-doctor of toolboxmd/karpathy-wiki.

Open the folder on GitHubat commit db81e65

Compare with similar skills

Karpathy Wiki Doctor 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.

Karpathy Wiki Doctor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Karpathy Wiki Doctor this skilltoolboxmd/karpathy-wiki105—~489Automated 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 12 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 yesterday
    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 toolboxmd/karpathy-wiki

  • Karpathy Wiki Capture

    toolboxmd/karpathy-wiki

    Capture-authoring protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki.

    105 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Karpathy Wiki Ingest

    toolboxmd/karpathy-wiki

    Detached ingester only. An agent skill from toolboxmd/karpathy-wiki.

    105 GitHub stars~6.8k tokensUpdated 2 days ago
    Auto-check passed
  • Using Karpathy Wiki

    toolboxmd/karpathy-wiki

    Auto-loaded by the SessionStart hook. An agent skill from toolboxmd/karpathy-wiki.

    105 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Karpathy Wiki Read

    toolboxmd/karpathy-wiki

    Read protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki.

    105 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Karpathy Wiki Doctor

What does Karpathy Wiki Doctor do?

Detached doctor only. An agent skill from toolboxmd/karpathy-wiki. Karpathy Wiki Doctor is an agent skill from toolboxmd/karpathy-wiki. Detached doctor only.

When should I use Karpathy Wiki Doctor?

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

How do I install Karpathy Wiki Doctor in Claude Code?

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

How do I install Karpathy Wiki Doctor in Codex?

Run `npx skills add toolboxmd/karpathy-wiki --skill karpathy-wiki-doctor -a codex`. Or copy the skill folder (skills/karpathy-wiki-doctor in toolboxmd/karpathy-wiki) into .agents/skills/karpathy-wiki-doctor in your project. Codex loads it when a task matches its description.

Can I use Karpathy Wiki Doctor 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-doctor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/karpathy-wiki-doctor, .gemini/skills/karpathy-wiki-doctor, .github/skills/karpathy-wiki-doctor and .opencode/skills/karpathy-wiki-doctor in your project.

What does Karpathy Wiki Doctor need to run?

Going by SKILL.md and its folder, Karpathy Wiki Doctor needs the command-line tools its instructions call (bash).

Does Karpathy Wiki Doctor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Karpathy Wiki Doctor 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 Karpathy Wiki Doctor use?

Karpathy Wiki Doctor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Karpathy Wiki Doctor use?

About 489 tokens (SKILL.md is roughly 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 Karpathy Wiki Doctor?

Skills that share tags, products or a category with Karpathy Wiki Doctor: 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 Karpathy Wiki Doctor?

toolboxmd (a GitHub organization) maintains it in toolboxmd/karpathy-wiki, which has 105 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.

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