Collect the notes and documents you want to use. If a knowledge base already exists, open an accessible copy instead of creating another.
Paste the prompts in order into Codex or Work with access to these materials.
Step 1. Define the knowledge base
Choose the purpose of the knowledge base: resuming projects, finding decisions or preparing material. Start with a small collection that answers real questions.
Find the task materials and fill the bracketed fields yourself from them.
For the materials in [folder], clarify the knowledge base's purpose and questions it should support. Identify sensitive information and access rules. Agree on a small starting set.
Step 2. Create a separate vault
Create a separate folder and open it in Obsidian. Test a sample note and Codex's file access first; there is no need to move your personal vault yet.
Find the task materials and fill the bracketed fields yourself from them.
Create a separate sample notes folder at [path] that can be opened as an Obsidian vault. Check Codex's access to its files. Keep the personal vault unchanged.
Step 3. Read the sources
Keep a source and date with each note. Distinguish current decisions, older versions and new ideas so the knowledge base does not produce contradictory answers.
Find the task materials and fill the bracketed fields yourself from them.
Read the selected materials in [folder]. Retain sources, dates and unknown facts. Do not combine different versions into one supposedly current instruction.
Step 4. Write useful notes
Expand short entries into understandable notes about one task. Include an explanation and source, not just a tool name or a link whose content has not been read.
Split long material into notes covering one task each. Use clear headings, sources and complete explanations; an index is not a substitute for the content.
Step 5. Link and index the notes
Add links where one note helps another. Follow the table of contents afterwards; titles should lead to real material rather than empty pages.
Find the task materials and fill the bracketed fields yourself from them.
Link related notes in [folder]. Create an entry index and check every link and heading. Do not create empty pages merely to add a link.
Step 6. Give Codex project context
Use AGENTS.md to explain where current information lives and how to save progress. Test a new chat with one question: it should find the relevant note and show its source.
For this step
Find the task materials and fill the bracketed fields yourself from them.
Prepare a short AGENTS.md for [vault]: its purpose, where to find current information, and how to retain sources and uncertainty. In a new chat, check that Codex reads and cites the required notes.
Step 7. Review new versions
Compare the meaning of the old and new note before updating it. After choosing the current version, archive the previous one and check that links lead to the accepted decision.
Find the task materials and fill the bracketed fields yourself from them.
Compare [new note] with its current version. Show meaningful differences and contradictions; after acceptance, update the current note, archive the old one and check links.
Step 8. Check the vault
Ask a few work questions and open the retrieved sources. If the answer is missing, add the needed material instead of producing an attractive but unsupported conclusion.
Find the task materials and fill the bracketed fields yourself from them.
Open [vault folder] in Obsidian and follow its index, links and a few real questions. Check search and readability; fix gaps and repeat the checks.
Step 9. Back up and restore
For this step
Try a sample file
Sample notes vault. File links and ZIP restoration were checked. This does not test your personal vault, Obsidian Sync or a separate AI connection.
Result and next step
Result: a knowledge base of substantive notes with links, sources and a verified copy.
Next: Build an assistant for your documents.
Find the task materials and fill the bracketed fields yourself from them.
Back up [vault folder], including required settings. Restore it into another folder and check files and links. Document the next update; do not treat sync as a backup.