ai-second-brain is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Agent Memory category.
$ npx -y skills add charlie947/ai-second-brain --agent claude-code
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.
ai-second-brain is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Agent Memory category. Install it with the command on its page. It includes ai-second-brain. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it