Skip to content

Pin LLM Wiki

Skill for Claude, Cursor & Copilot that automates the Karpathy LLM Wiki workflow: ingest web, GitHub, and YouTube URLs into a well-structured, citable, cross-referenced…

Install

$npx skills@latest add ndjordjevic/pin-llm-wiki -g
Claude Code
claude mcp add pin-llm-wiki -- npx skills@latest add ndjordjevic/pin-llm-wiki -g
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "pin-llm-wiki": {
      "command": "npx",
      "args": [
        "skills@latest",
        "add",
        "ndjordjevic/pin-llm-wiki",
        "-g"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

pin-llm-wiki

A multi-editor skill that automates the Karpathy LLM Wiki pattern: drop in URLs, get a local, citable, cross-referenced wiki that agents can read before answering.

Where it runs: Claude Code (slash commands), GitHub Copilot and Cursor (install the skill + follow the same workflows; see below).

Why use it

pin-llm-wiki turns external sources into a durable knowledge base:

  • raw/ keeps immutable captures of the original sources.
  • wiki/ holds summarized, wikilinked pages with citations back to raw files.
  • AGENTS.md tells AI agents to consult the wiki before answering domain questions.
  • inbox.md gives humans and agents a simple queue for future sources.

The result is a repo-local memory layer: reviewable in git, queryable by agents, and less dependent on whatever context happens to fit in one chat.

Install

Use the skills CLI: npx skills@latest add ndjordjevic/pin-llm-wiki (project) or -g (global, e.g. ~/.cursor/skills). Project installs land in .agents/skills/ (Cursor, Copilot, …) and .claude/skills/ (Claude Code)—not in ./skills/ (that path is only this repo’s package layout).

For Claude Code + Cursor + Copilot in one repo, create .claude first so the CLI can install one real copy under .agents/skills/ and symlink Claude Code to it.

mkdir -p .claude
npx skills@latest add ndjordjevic/pin-llm-wiki \
  --agent claude-code --agent cursor --agent github-copilot -y

npx skills@latest add ndjordjevic/pin-llm-wiki -g   # global

Use --agent … for a predictable layout in agent terminals. --list, skills.sh, npx skills@latest add --help.

Update

Refresh the skill files from GitHub. Scope should match how you installed:

# Project install: from that repo’s root, or force project scope
npx skills@latest update pin-llm-wiki -p

# Global install
npx skills@latest update pin-llm-wiki -g

Use -y to skip interactive scope prompts (the CLI can auto-pick project vs global when only one applies). skills update may recreate agent directories you do not use; delete those folders if you want a minimal tree. See npx skills@latest update --help.

Quickstart

Inside the repo that should become a wiki:

/pin-llm-wiki init
/pin-llm-wiki ingest https://github.com/org/repo
/pin-llm-wiki queue https://example.com
/pin-llm-wiki ingest
/pin-llm-wiki lint

After init, follow the generated wiki's AGENTS.md; it is the operating manual for agents working in that knowledge base.

Commands

Use /pin-llm-wiki in the agent. Claude Code, Cursor, and GitHub Copilot all use the same SKILL.md.

Subcommand What it does
init Scaffold inbox.md, .pin-llm-wiki.yml, AGENTS.md, wiki/, and raw/
ingest [url] Ingest one URL, or omit url to process every pending item in inbox.md
queue <url> ... Add URLs to inbox.md without fetching or ingesting
lint Validate wiki health and apply light non-destructive fixes
remove <slug> Soft-delete a source into wiki/.archive/

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…

Explore related