Second brain · step by step
Build your own second brain with the open kit.
Six steps, from downloading the kit to the AI answering about your company and showing where the answer came from. You talk; Claude Code writes the files.
- Who it is for
- People who already use Claude Code and are not programmers
- Runs on
- Mac, Windows and Linux
- Cost
- Nothing. The kit is open
- Time
- One to two hours
What it is for.
So the AI stops starting from zero. What you know is written down once, in a folder of yours, and it reads that before answering.
TodayEvery new conversation starts with you explaining the company again.
With a second brainThe AI opens the conversation already knowing who you are, what you sell and how you want answers.
TodayThe AI forgets what you decided last week.
With a second brainEach decision lives in a file, with the date and the reason.
TodayYou cannot tell where the AI got its answer.
With a second brainThe answer comes with the file and the line, so you can check.
What you end up with.
- A meu-cerebro/ folder with your eu.md and your company notes. The kit is written in Portuguese, for now.
- Claude Code opening every conversation already knowing that, with nothing pasted in.
- Six new commands: /close, /decide, /ingest, /ask, /remember and /review-brain.
- A validator that checks the whole folder and ends with 0 erro(s).
- The proof: a fresh conversation answers with the file and the line it came from.
Before you begin.
Open Terminal (on Windows, PowerShell) and check each one.
| Before you begin. | How to check | It worked if you see |
|---|---|---|
| git | git --version | git version 2. something |
| Python 3.9 or newer | python3 --version (on Windows, python --version) | Python 3.9 or higher |
| Claude Code | claude --version | a version number |
| Obsidian | open the app | the start screen |
| A GitHub account | go to github.com | your account, signed in |
Missing one? Chapter 2 of the kit shows how to install each of them, on Mac and on Windows.
The six steps.
- 012 min
Download the kit
In Terminal, one line at a time. No git? On the kit page, green Code button, Download ZIP.
cd ~ git clone https://github.com/aliborhothamud/segundo-cerebro-claude.git cd segundo-cerebro-claudeIt worked if the segundo-cerebro-claude folder shows up in your home folder.
- 025 min
Run the installer
It asks five questions, in Portuguese; Enter accepts the default. For the folder, answer ~/cerebro/meu-cerebro, so the four folders are created together. For the sync question, answer n. It never deletes anything: if the folder exists, it stops and tells you.
python3 sistema/instalar.pypython sistema\instalar.pyWhat you see
- ok cérebro criado em ~/cerebro/meu-cerebro
- ok criada ~/cerebro/Projetos
- ok criada ~/cerebro/Dados
- ok criada ~/cerebro/Privado
- ok 6 skills: ask, close, decide, ingest, remember, review-brain
- ok git iniciado na branch main
- ok brain.py validar: 0 erro(s), 0 aviso(s)
It worked if the last line says 0 erro(s).
- 035 min
Open the brain
Read the COMECE-AQUI.md created in the folder: it takes 2 minutes. In Obsidian, choose Open folder as vault. Then open Claude Code inside it.
cd ~/cerebro/meu-cerebro claudecd ~\cerebro\meu-cerebro claudeIt worked if you type / and the six skills show up in the list.
- 0415 min
Write your eu.md
The eu.md tells the AI who you are and how you want answers. It goes into every conversation. Answer the way you would in a normal chat.
Paste into Claude Code
Interview me and fill in eu.md, one question at a time. Ask about what I actually did, not what I think I do. At the end, show me the whole text before saving. Up to 80 lines.It worked if it shows the whole text before saving. Fix what is wrong and say "you can save it".
- 0515 min
Create your first note
Pick one thing you keep explaining to the AI: your main supplier, the returns rule, the month-end close. At the end, type /close: it logs what was done and what is still open.
Paste into Claude Code
Interview me about my main supplier (lead times, minimum order, how to pay, what usually goes wrong) and create the note in empresa/clientes/ using the template in _sistema/modelos/nota.md. Link it from the entry note empresa/empresa.md. Then run brain.py mapa and brain.py validar.It worked if the validator ends with 0 erro(s) and the note shows up in Obsidian.
- 065 min
Run the proof
Leave the conversation and open a new one, from scratch. Ask something only your company knows.
/exit claudePaste into Claude Code
/ask what is the minimum order of my main supplier?In the kit’s example brain, a made-up shop
- O pedido mínimo é R$ 3.000 (empresa/clientes/distribuidora-bola-forte.md:13).
It worked if the answer comes with the file and the line. A fresh conversation found the fact with nothing pasted in.
If you get stuck.
On Windows, python3 does not work or opens the store
On Windows the command is python. If that fails too, reinstall from python.org with Add python.exe to PATH checked and open a new PowerShell.
The installer says git does not know who you are
Run git config --global user.name "Your Name" and git config --global user.email "you@example.com", with your details, then the installer again.
The folder already exists
The installer never overwrites. Pick another name at the folder question.
/ask does not show up when I type /
The skills were not installed. Copy the kit’s skills/ folder to .claude/skills/ in your home folder.
The AI did not find the fact in the proof
Ask: "run brain.py buscar" with a word from the note. If the note does not exist, redo step 5. If it does, ask "run brain.py mapa" and ask again.
After day one.
The brain grows a little with every day of use. The kit has the rest of the path.
- Nine chapters: from the method to GitHub and other AIs reading the same folder.
- Eight ready-made requests to paste, such as bringing in your chat history and running the weekly review.
- An example brain, already filled in, for a made-up sports shop.
Rather build it together?
In our training we build it with you, inside your company, with your folders and your rules.