0. Introduction
Outcome. By the end of this tutorial a slice of your own material — a course you teach, a research area, a project’s documents — is a working knowledge base: a folder you can ask questions of, that an AI can pick up cold, and that you can keep adding to.
In Your First Persistent Workspace you did this to somebody else’s mess. That folder was chosen to be easy: it was small, it was already markdown, and none of it was yours to have opinions about. Your own material is none of those things. This tutorial is about the difference.
What this is actually teaching. Four things Tutorial 2020 left out:
- Scope — choosing a slice small enough to finish.
- Conversion — getting real files out of Word, Google Docs, and PDFs and into plain text.
- Authorship — the parts an AI shouldn’t decide for you: your vocabulary, your structure, your standing instructions.
- Upkeep — what makes it a living folder rather than a one-time cleanup.
You need: an AI coding agent already working on your machine and Obsidian installed — both covered in Tutorial 2020 — plus material of your own. Budget an hour or two, and expect to come back to it.
1. Choose Your Slice
Pick something you already know well: a single course, a single research area, one project’s documents.
Somewhere between 15 and 40 documents is the right size.
2. Make a Copy
Copy the folder. Work only on the copy. Name it something obvious like <project> (KB).
If your material lives in Google Drive or Dropbox, download a copy to a local folder first.
3. Get It Into Markdown
Start with an inventory. You can’t decide what to convert before you know what’s there. Point the agent at the folder and ask for a plan before anything moves:
This is a folder of my own material that I want to turn into a markdown
knowledge base I can ask questions of. Take an inventory first: list the
file types you find, tell me which ones you can read directly, and which
ones you'd need to convert. Then propose a conversion plan — what becomes
markdown, what stays as-is, and why. Don't convert anything yet.
Then judge the plan. You know which of these files matter. What to weigh:
- If it holds text you’ll ask questions about, convert it — notes, outlines, drafts, meeting records, syllabi, reading responses, PDFs and slide decks. Conversion is a one-time cost that pays back on every visit afterward. An agent re-reading a PDF each session is slower, and quietly less reliable than one reading markdown you made once.
- Leave what isn’t made of words — images, video, audio, and spreadsheets you actually compute with. There’s nothing to convert. They sit in the folder and get referenced by name, and your agent can still see them.
- Scanned PDFs are the real exception. Pages that are pictures of text are expensive to read each time. Leave them on the first pass and come back if you find yourself reaching for them.
Shortcuts worth knowing. Google Docs exports markdown directly (File → Download → Markdown), which is cleaner than going through .docx. If you have many Word files, ask your agent whether pandoc is available on your machine — it’s the standard converter and handles bulk jobs in one command.
Expect this step to be imperfect. Converted files will have odd spacing and stray artifacts. That’s fine.
4. Let It Read Everything
Now the orientation pass:
Read through all of this. Orient me to what's here: the main threads, where
things are duplicated, where two documents contradict each other, and what
looks unfinished. Don't give advice on the merits of the ideas.
5. Plan the Structure
Use plan mode if your tool has one, so you see the proposal before anything moves.
Propose an organization for this material. Move, create, edit, and archive
whatever helps. Use context engineering practices — clear folder names,
filenames that say what's inside, and a short index note at the root of
each folder. Archive anything made obsolete rather than deleting it.
I want to be able to hand this folder to an AI cold and have it find things.
When it asks questions — it will — here is where you overrule it:
- Your vocabulary wins. If you call them “modules” and it proposes “units,” say so. The folder should sound like you.
- Your groupings win. If an aspect of its organization isn’t to your liking, change it.
Let it implement, and watch the sidebar in Obsidian while it works. Don’t edit anything until it’s finished.
6. Write the Root Note
Ask for a draft:
Draft a short note for the root of this folder that explains what's here,
what each folder holds, and where someone should start. Keep it under a page.
Then edit it yourself. This is the most valuable file in the folder and the one an agent is least able to write, because it’s about intent — why the material is arranged this way, what it’s for, what you were in the middle of.
A folder that explains itself in its own root is the difference between a workspace an AI can pick up cold and one it has to re-derive every session.
7. Write Your Standing Instructions
Ask it to add a file at the root named AGENTS.md for Codex — or CLAUDE.md if you use Claude Code, GEMINI.md for Gemini. Your agent reads it at the start of every session.
This is where a folder stops being a pile of files and starts being yours. Put in the things you’d otherwise re-explain every conversation:
- How you want to be talked to. “Ask before reorganizing. Short answers unless I ask for detail.”
- What to check first. “Course policy questions: read
admin/syllabus.mdbefore answering.” - What never to do. “Never edit anything in
archive/. Never invent a citation.” - Vocabulary. “I call them modules, not units.”
Start with three or four lines. Add to it whenever you catch yourself repeating an instruction — that’s the signal it belongs in the file rather than in a conversation.
8. Test It With a Real Question
Ask something you actually need answered:
What have I already written about [a topic you know is in there somewhere]?
Then the diagnostic from Tutorial 2020:
What did you need to read to answer that? How would it have gone before
the reorganization?
If it can’t find something you know is there, that is a context engineering problem — the file is named badly, or it’s in the wrong folder, or the root note doesn’t mention it. Fix then ask again.
9. Keep It Alive
A knowledge base is a habit, not a project. Three things keep it useful:
- Add as you go. New notes go in the folder in markdown, not in a chat window you’ll close.
- Let it file for you. “I’m adding this document — where does it belong and what should it be called?”
- Revisit the root note when it stops describing what’s actually there. That drift is the earliest sign the structure needs attention.
You do not need to convert the rest of your material. Add the next slice when the first one has proved itself.
If you want to see how far this goes with sustained tending, PB Office Hours is a knowledge base built this way over months — course material plus standing instructions, arranged so an AI becomes a guide students talk to. It is one example of the shape, not the only one.
Troubleshooting
The conversion mangled my tables and figures
Expected. Keep the original file beside the markdown version and reference it by name. Not everything needs to be text — the point is that the queryable material is text.
The answers are vague, or it misses things I know are there
Almost always a naming or structure problem rather than a model problem. Ask: “What would make this folder easier for you to answer questions about?” Its answer is usually specific and usually right.
I started with too much and it’s overwhelming
Stop, keep the original, and start again with a smaller slice.