add-karpathy-llm-wiki

add-karpathy-llm-wiki is a skill for Claude Code from nanocoai/nanoclaw. It costs 56 tokens per session (1,253 once invoked), scanned A, original, MIT.

A persistent wiki-style knowledge base for a NanoClaw group, based on a pattern for organizing information that an AI agent can use. A wiki is a collection of linked notes about a chosen subject.

In plain words
What is it for?
Use it to build a knowledge base from sources such as web pages, PDFs, images, voice notes, books, or transcripts.
Why use it?
It gives the agent a lasting place to collect and retrieve information instead of relying only on the current conversation.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it to build a knowledge base from sources such as web pages, PDFs, images, voice notes, books, or transcripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nanocoai/nanoclaw/add-karpathy-llm-wiki
About the project

NanoClaw is an AI assistant that runs agents inside separate Linux containers, isolating their files and execution environments. People use it to connect agents to messaging services and run assistants with memory and scheduled jobs. The catalogue contains skills and instructions for extending or operating NanoClaw.

nanocoai/nanoclaw · 30,745 stars · on GitHub · nanoclaw.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nanocoai/nanoclaw --skill add-karpathy-llm-wiki
Clone the repo
git clone --depth 1 https://github.com/nanocoai/nanoclaw

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-karpathy-llm-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki/github.svg)](https://agentmods.dev/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki)
Your own site
<a href="https://agentmods.dev/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-karpathy-llm-wiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw/add-karpathy-llm-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 73
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Agent Snooping · line 42
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 44
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01253
Opus 5 $0.00028 $0.00626
Sonnet 5 $0.00011 $0.00251
Haiku 4.5 $0.00006 $0.00125

Measured 12d ago against content hash 74bf5ab46f95, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-karpathy-llm-wiki scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sLo sources/filename.pdf "<url>"
Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/skills/add-karpathy-llm-wiki/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Karpathy LLM Wiki

Set up a persistent wiki knowledge base on NanoClaw, based on Karpathy's LLM Wiki pattern.

Each step is safe to re-run: directory creation uses mkdir -p, initial wiki files are created only if absent, the container skill is preserved unless the user opts to update it, and the group CLAUDE.md section is replaced in place via marker comments rather than duplicated.

Step 1: Read the pattern

Read ${CLAUDE_SKILL_DIR}/llm-wiki.md — this is the full LLM Wiki idea as written by Karpathy. Understand it thoroughly before proceeding. Summarize the core idea to the user briefly, then discuss what they want to build.

Step 2: Choose a group

AskUserQuestion: "Which group should have the wiki?"

  1. Main group — add to your existing main chat
  2. Dedicated group — create a new group just for the wiki
  3. Other — pick an existing group

If dedicated: ask which channel and chat, then register with pnpm exec tsx setup/index.ts --step register.

Step 3: Design collaboratively

Discuss with the user based on the pattern:

  • What's the wiki's domain or topic?
  • What kinds of sources will they add? (URLs, PDFs, images, voice notes, books, transcripts)
  • Do they want the full three-layer architecture or a lighter version?
  • Any specific conventions they care about? (The pattern intentionally leaves this open.)

Based on this discussion, create three things:

3a. Directory structure

Create wiki/ and sources/ directories in the group folder (mkdir -p — safe if they already exist). Create initial index.md and log.md per the pattern's Indexing and Logging section, adapted to the user's domain. Skip any of these files that already exist so a populated wiki is never clobbered on re-run.

3b. Container skill

Create container/skills/wiki/SKILL.md tailored to this user's wiki. This is the schema layer from the pattern — it tells the agent how to maintain the wiki. Base it on the pattern's Operations section (ingest, query, lint) and the conventions you agreed on with the user. Don't over-prescribe — the pattern says "your LLM figures out the rest."

Read the full file on GitHub · 100 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 100 lines · 56 tokens per session scan A 74bf5ab46f95

Subscribe to this mod's changes

add-karpathy-llm-wiki is a skill published in the GitHub repository nanocoai/nanoclaw (30,745 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,253 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

self-reflection

Daily loop that reviews the bot's own recent outbound behavior and any pending lessons in self/learnings.md, stress-tests candidate rules against 10-20 hypothetical scenarios, and on explicit owner approval routes each to the right home among three sinks — prompts/project.md (durable behavioral rules), a memory file…

Rustam-Z/hamroh · 120 tokens

Pynchy Development

Use when running pynchy locally — running the app, tests, linting, formatting, prek hooks, or rebuilding the agent container. Also use when determining whether you're on the live Pynchy host or a local machine, and for debugging agent behavior-- session transcript branching, inspecting message history and agent traces…

crypdick/pynchy · 79 tokens

Pynchy Plugin Authoring

Use when creating, scaffolding, or updating a pynchy plugin, including channels, MCP servers, skills, agent cores, workspace specs, and container runtime plugins. Also use when users ask how to register plugins via config.toml, add entry points, or validate plugin hook wiring.

crypdick/pynchy · 64 tokens

x-integration

Post tweets, like, reply, retweet, and quote on X (Twitter) using browser automation. Use when the user asks you to interact with X/Twitter.

crypdick/pynchy · 38 tokens

slack-token-extractor

Refresh expired Slack browser tokens (xoxc/xoxd) using persistent browser sessions. Use when Slack MCP tools fail with authentication errors.

crypdick/pynchy · 34 tokens

Documentation Manager

Use when writing or reviewing pynchy documentation, deciding where to document things, updating the docs, checking doc consistency, or fixing broken links. Covers information architecture, writing philosophy, tree-shaped navigation, doc-code coupling, no hard-coded usernames, extensibility framing for pluggable…

crypdick/pynchy · 68 tokens