Articles I want to come back to and thoughts I’d otherwise forget tend to end up in the same place, my Google Keep notes. I used those notes to build a wiki. I wanted to be able to check what I’d actually written if the AI got something wrong, so the first decision was to keep its pages in a different folder from my originals.
You need three things:
- Obsidian — the viewer you’ll use to read and navigate the finished wiki. Free from the official site.
- An agent — the AI that will actually read and write the wiki for you. I used Claude Code.
- A config file (
CLAUDE.md) — the document that tells the agent “you are the librarian, I am the curator.” A copy-pasteable version is in section 4 below.
1. Collecting Your Raw Material
Start by collecting the notes you’d like the wiki to use. Call the folder raw so it matches the rules file below. Notes written in Obsidian and articles saved with Web Clipper both work. If yours are in another app, the aim is simply to get them into this folder as Markdown files.
Here’s how I got mine out of Google Keep.
- Go to Google Takeout.
- Click Deselect all at the top.
- In the list, re-check only Keep.
- At the bottom, click Next step → Create export. A
.zipfile will arrive shortly. (If you have a lot of notes, the download link comes by email.)
2. Importing Into Obsidian
- Install Obsidian and create a new vault.
- In Settings → Community plugins, install and enable the official Importer plugin.
- Open the command palette (
Ctrl/Cmd + P), run Importer, and pick the format that matches your source. For Keep, choose Google Keep (.zip); Notion, Evernote, Roam, and others each have their own options. Then point it at the file you exported. - Each note comes in as a markdown file. Rename that folder to
raw— that’s your raw layer.
(If you plan to write notes directly or collect them via Web Clipper, skip this step. Just create a raw folder and put your notes inside.)
3. Installing the Agent (Claude Code)
Claude Code is a command-line tool, but installation is one line. (It requires a paid plan — Claude Pro or higher, or an API key. The free plan does not work.)
- Open a terminal and run the command for your OS:
- macOS / Linux:
curl -fsSL https://claude.ai/install.sh | bash - Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
- macOS / Linux:
- Type
claude --versionto confirm the install. - If the terminal feels unfamiliar, install the official Anthropic Claude Code extension from VS Code’s marketplace and use it directly inside the editor.
4. The Rules File (CLAUDE.md)
The rule I cared most about was keeping my original notes intact. In the file below I’ve named the folder Claude can read and the separate folder where it can write new pages. Put this file, CLAUDE.md, at the top of the vault, next to raw.
# Role
You are the librarian of this knowledge base; I am the curator.
I decide only what goes into raw/. All organization is on you.
# Folder structure
- raw/ : Source material. Never modify or delete.
- wiki/ : Documents you create and maintain (summaries, concept pages, cross-links).
- wiki/index.md : Table of contents for the entire wiki. Keep it up to date.
- log.md : Record of ingest / query / lint operations.
# Operations
## ingest (organize material)
1. Read every new file in raw/.
2. Distill core concepts into wiki/ — one concept per page.
3. Connect related pages with [[wikilinks]].
4. If new material conflicts with existing content, do not overwrite — show both sources.
5. Cite a raw/ source for every claim.
6. Update index.md and log.md.
## query (answer questions)
- Do not re-read all of raw. Answer from the organized wiki.
- Persist newly derived concepts as wiki pages and record them in log.md.
## lint (audit)
- Report broken links, orphan pages, duplicates, contradictions, and gaps.
# Principles
- Markdown is the only source of truth. Everything must be human-readable and source-traceable.
- If a source is missing, don't make one up.
5. Your First Command
You’re ready. Open the vault folder in VS Code (or a terminal), type claude in the integrated terminal, and a chat window appears. Here you write commands not in code but in plain conversation.
I started with a few notes on related subjects. Give it the whole collection at once and even checking why it linked two notes becomes a job. A handful whose contents you know well is plenty for the first run.
Take the notes in the raw folder and organize them into wiki, following the CLAUDE.md rules.
Now open the graph view in Obsidian. Here’s what my first pass actually looked like. Most of the dots are still on their own. A few near the middle are joined by lines. Pick one of those lines and open the pages at either end to see what the agent thought the two notes had in common.
From then on, you can ask it questions or, occasionally, ask it to audit.
Synthesize across these notes — what perspectives do I return to repeatedly?
Audit the wiki — broken links, duplicates, contradictions, gaps.