
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 deterministic AST parsing, every edge explained, no vector store.
This skill walks you through building a personal wiki from your own chat exports, research, and daily inputs. It sets up a Karpathy-style `raw/` and `wiki/` flow, turns exports into a tagged Obsidian vault, and can add connectors and slash commands for ongoing use.
Builders who want Claude Code to organize their ChatGPT, Claude, and research history into a searchable wiki.
You can search, link, and keep growing your own second brain instead of digging through old chats and files.
Turns ChatGPT and Claude history into a tagged, linked Obsidian vault.
Creates `raw/` and `wiki/` folders so Claude Code can keep compiling a living wiki from source files.
Can connect Gmail, NotebookLM, and Granola, and set up iMessage Channels for phone access.
Scaffolds `/today`, `/ideas`, and `/create` commands for working from the vault.
Pauses for the parts that need you, like exports, permissions, and browser logins.
git clone https://github.com/charlie947/ai-second-brain.git ~/.claude/skills/ai-second-brain
mv ~/.claude/skills/ai-second-brain ~/.claude/skills/ai-second-brain.backup
cd ~/.claude/skills/ai-second-brain && git pull
/skills
A Claude Code skill that walks you through building a living, searchable, AI-powered knowledge base from your own ChatGPT and Claude history, your raw research, and your daily inputs.
On 3rd April 2026, Andrej Karpathy published a 1,500-word gist describing how to build a personal wiki using a folder of markdown and an LLM. Within 48 hours the X thread about it hit 16 million views.
This skill packages Karpathy's idea — plus an AI-history organiser by Alex Freedman and the slash-command workflow shared by Greg Isenberg — into a single Claude Code skill that walks any user through the full setup.
Built for non-technical readers of MarTech AI.
The reliable way (works on every Mac, easy to update later):
git clone https://github.com/charlie947/ai-second-brain.git ~/.claude/skills/ai-second-brain
If ~/.claude/skills/ai-second-brain already exists, back it up first:
mv ~/.claude/skills/ai-second-brain ~/.claude/skills/ai-second-brain.backup
Then open Claude Code in any folder and say:
Set up my AI second brain.
To update later:
cd ~/.claude/skills/ai-second-brain && git pull
In Claude Code, type:
/skills
You should see ai-second-brain in the list. If you don't, the folder is in the wrong place — re-run the clone command and double-check the destination path.
flowchart LR
A[Your ChatGPT<br/>& Claude exports] --> B[Step 1<br/>AI Brain]
C[PDFs, articles,<br/>transcripts] --> D[Step 2<br/>Karpathy Wiki]
E[Gmail, Granola,<br/>NotebookLM] --> F[Step 3<br/>Living Wiki]
B --> G[Tagged, linked<br/>Obsidian vault]
D --> G
F --> G
G --> H[Talk to it from<br/>your phone via iMessage]
The skill walks you through three stages. You can do all three or pick one — just tell it.
raw/ and wiki/ folder pair so Claude Code can compile a living wiki from your research. Drop a PDF in, the wiki updates itself./today, /ideas, /create).Every step where Claude Code can do the work for you, it does. Every step that needs you (data exports, granting macOS permissions, NotebookLM browser login) pauses until you confirm.
The skill activates when you ask Claude Code anything like:
Already done part of it? Just say "skip step 1, I've already done it".
Does this send my data anywhere? No. Everything lives in folders on your Mac. The only network calls are the ones Claude Code already makes to Anthropic to run the LLM. Your conversations, your wiki, and your raw sources never leave your machine.
Will it read my email automatically? Only when you tell it to, and only the threads relevant to whatever you've asked. Claude Code asks for permission before connecting to Gmail, and you can revoke access at any time from your Google account.
Can I uninstall it? Yes:
rm -rf ~/.claude/skills/ai-second-brain
This removes the skill. It does not touch your Obsidian vault, raw folder, or wiki — your data stays.
Does it work on Windows? Steps 1 and 2 work on any OS. Step 3b (iMessage Channels) is Mac-only — iMessage doesn't exist on Windows. Skip that step or use the Telegram/Discord version of Channels instead.
What if I don't want iMessage Channels? Skip step 3b entirely. Steps 3a (connectors) and 3c (slash commands) work without it. You'll still have a living wiki you can use from your laptop.
Will the skill be updated as Claude Code, NotebookLM, etc. change?
Yes. Run cd ~/.claude/skills/ai-second-brain && git pull to grab the latest version. See CHANGELOG.md for what changed.
This skill stands on the shoulders of three people. None of the underlying ideas are mine. The skill exists to package what they already shared so it takes ten minutes instead of ten hours.
raw/, wiki/, CLAUDE.md — is his.I (Charlie Hills) wrote the skill that orchestrates all three and walks you through the parts that trip people up.
I'm Charlie Hills — founder of Vislo, an AI design tool, and writer of MarTech AI, a weekly Substack on what I'm actually building with AI as a creator with 200k+ LinkedIn followers.
If you got value from this skill, the newsletter is where to find more.
Reach me on LinkedIn or Instagram.
MIT. Fork it, modify it, rebrand it — just don't strip the credits to Karpathy, Alex and Greg. Their work is what makes this useful.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

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 deterministic AST parsing, every edge explained, no vector store.
Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.
Public repository for Agent Skills
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
A skill to stop your coding agent from burying the answer. ADHD-friendly output.