Skip to content
Back to skills

Pin Llm Wiki

ASecurity

Automates the Karpathy LLM Wiki workflow: turns web, GitHub, and YouTube URLs into well-structured, citable, wikilinked pages with automatic linting and sourcing — invoke with /pin-llm-wiki

  • 76 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
ai-agentsgogitdocumentation

Works with

  • cursor

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add ndjordjevic/pin-llm-wiki --skill pin-llm-wiki --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pin Llm Wiki?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pin Llm Wiki
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ndjordjevic-pin-llm-wiki/badge)](https://www.skillsdirectory.com/skills/ndjordjevic-pin-llm-wiki)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pin-llm-wiki
description: "Automates the Karpathy LLM Wiki workflow: turns web, GitHub, and YouTube URLs into well-structured, citable, wikilinked pages with automatic linting and sourcing — invoke with /pin-llm-wiki"
version: "1.0.0"
last_updated: "2026-04-30"

compatible_agents:
  tested:
    - claude
    - cursor
    - copilot
  untested:
    - codex

categories:
  - research
  - documentation
  - productivity

job_roles:
  - developer
  - researcher

author: "Nenad Djordjevic"
github: "ndjordjevic"
license: "apache-2.0"
trigger: "/pin-llm-wiki"
---

# /pin-llm-wiki

Automates Karpathy's LLM wiki pattern: drop URLs in `inbox.md`, the skill fetches, ingests, and maintains a cited, agent-readable knowledge base.

## Trigger phrases

- **`/pin-llm-wiki`** (with subcommands: `init`, `ingest`, `lint`, `queue`, `remove`)
- “Pin this YouTube video to my LLM wiki”
- “Ingest these research links into my wiki”
- “Run pin-llm-wiki lint on this knowledge base”
- “Queue these URLs, then batch-process the inbox”
- “Initialize a new Karpathy-style wiki with pin-llm-wiki”

```
inbox.md (human drops URLs)
    ↓  fetch
raw/  (immutable source captures)
    ↓  ingest
wiki/  (LLM-maintained, cited, linked)
    ↓  lint
a healthy, queryable knowledge base
```

## Phase 1 subcommands

| Command | Status |
|---|---|
| `init` | implemented |
| `ingest [<url>]` | implemented (single-URL form auto-queues if URL is not already in inbox) |
| `lint` | implemented |
| `remove <slug>` | implemented |
| `queue <url> [<url> ...]` | implemented |

## Skill directory

This SKILL.md and all sibling files (`ingest.md`, `init.md`, `lint.md`, `remove.md`, `queue.md`, `ingest-protocol.md`, `templates/...`) live inside the skill directory: `~/.claude/skills/pin-llm-wiki/`, `~/.copilot/skills/pin-llm-wiki/`, `~/.cursor/skills/pin-llm-wiki/`, or the project-local `.claude/skills/` / `.copilot/skills/` / `.cursor/skills/` equivalents. In this repository the canonical copy is **`skills/pin-llm-wiki/`**. All `templates/...` and sibling-file paths in this skill are relative to whichever skill directory the loading tool used.

## Dispatch

1. Identify the subcommand from the invocation args (the first word after `/pin-llm-wiki`).
2. Route — read the sibling file in this skill directory and follow its instructions exactly:
   - **`init`** → `init.md` (no Guard required — it scaffolds the wiki)
   - **`ingest`** → `ingest.md` (with or without a URL arg)
   - **`lint`** → `lint.md`
   - **`remove`** → `remove.md`
   - **`queue`** → `queue.md`
3. **Guard (every subcommand except `init`):** confirm `.pin-llm-wiki.yml` exists in the current working directory. If absent, stop with: *"No wiki found here (`.pin-llm-wiki.yml` missing). Run `/pin-llm-wiki init` to scaffold one first."* Subcommand files repeat this check by reference; you only need to enforce it once per invocation.
4. Do not proceed beyond this dispatch step before reading the target file.

## Git policy (canonical)

**Never run `git commit` or `git push` after any subcommand** — `init`, `ingest`, `refresh`, `lint`, `remove`, `queue`, or any auto-fix — unless the human explicitly asked to commit in this conversation. Subcommand files reference this policy without restating it. The wiki's own `AGENTS.md` carries the same rule for downstream agents.

Files in this skill

  • SKILL.md3.3 KB
  • ingest-protocol.md24.6 KB
  • ingest.md14.1 KB
  • init.md8.5 KB
  • lint.md6 KB
  • queue.md2.2 KB
  • remove.md8 KB
  • templates/AGENTS.md.tmpl2.3 KB
  • templates/CLAUDE.md.tmpl53 B
  • templates/README.md.tmpl3.7 KB
  • templates/config.yml.tmpl258 B
  • templates/gitignore.tmpl152 B
  • templates/inbox.md.tmpl1.3 KB
  • templates/protocols/common.md8 KB
  • templates/protocols/github.md2.4 KB
  • templates/protocols/web.md16.7 KB
  • templates/protocols/youtube.md2 KB
  • templates/raw/github-README.md.tmpl214 B
  • templates/raw/web-README.md.tmpl179 B
  • templates/raw/youtube-README.md.tmpl235 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.