AI Second Brain Skills — AI skill for Claude Code
Two Claude Code skills for building a Karpathy-style LLM wiki — a compounding AI second brain.
How to install AI Second Brain Skills
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open NulightJens/ai-second-brain-skills and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Second Brain Skills does
Two Claude Code skills for building a Karpathy-style LLM wiki — a compounding AI second brain. Install: git clone https://github.com/NulightJens/ai-second-brain-skills.git && ln -s $(pwd)/ai-second-brain-skills/llm-wiki-setup ~/.claude/skills/llm-wiki-setup && ln -s $(pwd)/ai-second-brain-skills/wiki-self-heal ~/.claude/skills/wiki-self-heal
Alternatives in AI
- Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
- LLM Wiki Skill — 基于 Karpathy llm-wiki 方法论的个人知识库构建 Skill,支持多平台 1.1k ★
- Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★
README
AI Second Brain Skills
Your folder becomes your app. No database. No embeddings. Just markdown — and an AI that knows where to look.
Two Claude Code skills that turn any folder into a compounding, AI-maintained knowledge base. Based on Andrej Karpathy's [LLM wiki pattern](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f), with a research loop inspired by his [autoresearch](https://github.com/karpathy/autoresearch) project.
TL;DR
git clone https://github.com/NulightJens/ai-second-brain-skills.git ~/ai-second-brain-skills
ln -s ~/ai-second-brain-skills/llm-wiki-setup ~/.claude/skills/llm-wiki-setup
ln -s ~/ai-second-brain-skills/wiki-self-heal ~/.claude/skills/wiki-self-heal
Then in Claude Code:
"Set up an LLM wiki at ~/my-second-brain"- Drop a source into
raw/ "Ingest the source I just added to raw/""Run wiki-self-heal"once a week
That's the whole loop.
Why this exists
Most people's AI workflow: paste context into a chat, get an answer, start a new chat, paste everything again. Knowledge evaporates between sessions. Nothing compounds.
The wiki pattern is different. The LLM reads every source **once**, extracts the knowledge, and writes it into an interlinked set of markdown files — a persistent wiki that sits between you and your raw sources. When you ask a question, it reads the wiki (not the sources). When you add a source, it integrates, flags contradictions, and strengthens the synthesis. Knowledge is compiled once and kept current.
No vector database. No embeddings. No chunking pipeline. The folder is the app.
How it works
A three-layer mental model:
- The map —
CLAUDE.mdat the vault root. The AI reads this first, every time. It contains the folder structure, the routing table ("for task X, read these files"), naming conventions, workflows, and guardrails. Think of it as the floor plan posted at the entrance of a building. - The rooms —
raw/(immutable sources, read-onl
Related Skills
Obsidian AI Second Brain
Obsidian + Claude AI 个人知识库完整搭建指南 基于 Karpathy LLM Wiki 方法论 4 阶段 12 步 不用写代码
Second Brain Builder
A Claude skill for a knowledge base that maintains itself, grown into a company brain every agent starts from.
LLM Wiki Skills
Turn your markdown vault into a compounding knowledge wiki (Karpathy inspired). Six agent skills - knowledge g
Second Brain Cc
Persistent memory + working protocol for AI coding agents (Claude Code). Numbered Markdown vault, stdlib SQLit
AI Second Brain
Build a living, searchable AI second brain from your ChatGPT, Claude, and research history - Karpathy-style. A
Kc LLM Wiki Starter
Production-ready starter template for LLM-maintained wikis. Karpathy's 2026-04 three-tier pattern (raw/wiki/sc
Related Agents
Second Brain Curator
Maintains the user's Obsidian "second brain" vault (Karpathy LLM-Wiki pattern) and its ingest pipeline — runs/
Second Brain Keeper
Use PROACTIVELY after completing significant work, fixing a tricky bug, making a decision with the user, doing
Project Tracker
Save current Claude Code session as a project in Second Brain for later resumption. Gathers git state, files t