give my AI a memory
Create your wiki, the folder where AI keeps what you decide and learn.
// THE SHORT ANSWER
You can give your AI a memory: a folder of notes where it keeps what matters, connects topics, and finds answers when you need them.
- Tested on
- Sep 8, 2026
- Who it's for
- Founders and anyone making decisions they don't want to forget: it works for your life, your business or your brand
- Level
- Beginner, you don't need to code
- Cost
- mi-wiki is free and MIT licensed. To use the agent you need access to Claude Code or Codex; guide #3 explains which account to pick and how to install it. GitHub is only needed if you want a private copy in the cloud.
STEP BY STEPFrom a template to a memory that answers
Get your agent ready
You need Claude Code or Codex installed. If you have neither, start with guide #3, linked at the end of this page: there you pick a tool, install it, and write your first message. A good habit from here on: create a folder called Proyectos and keep each project in its own folder inside it; mi-wiki will be one of them. Open the terminal and move into Proyectos: type cd, add a space, drag the folder onto the window and press Enter. Once inside, start your tool: type claude or codex and press Enter. When you see the message box waiting, paste the prompt below.
prompt · download mi-wiki
Download the files from github.com/fermartz/mi-wiki into a new folder called mi-wiki, inside my Proyectos folder. Make an independent copy: don't leave it connected to the original public repository. If that folder already exists, don't replace it; ask me what name to use. Then read README.md, CLAUDE.md and AGENTS.md inside the copy. From now on work in that folder and follow the first-time section: greet me and ask me the questions to start my wiki.Copy the whole message into Claude Code or Codex. It asks the agent to make an independent copy, read the instructions in this same session, and start the interview. It works in both.
Let the agent interview you
The template carries the agent's instructions (the CLAUDE.md and AGENTS.md files, with the same 4 rules in both). So when you greet it, it asks whether your wiki is about your life, your business or your brand, and adapts its questions to your answer. It also ships two small examples so you can see what a used wiki looks like: one personal, one for a fictitious brand. The agent deletes them when you write your first real entry.
Tell it about your first day
Answer its questions, or just tell it something from today: a decision you made, a price you set, something you learned. It saves it with the date in the diario/ folder and, if a topic matters, gives it its own page in paginas/ and connects them with [[double bracket]] links. The agent does the first pass of organizing. You tell it things, then check that the date, the page and the links match what you said.
Turn the wiki into a habit
Rule 4 asks the agent to save what's new at the end of each conversation. Your part: share the decisions and the details that matter when they happen. Two or three sentences can be enough to record a simple decision. The ritual is short: move into the mi-wiki folder in the terminal (cd, space, drag the folder, Enter), type claude or codex, tell it about your day, and sign off. To leave the tool, type /exit in Claude Code or /quit in Codex. What you don't tell it never enters the wiki; what you do stays in a dated file until you change it or delete it.
Ask it about your own history
The habit pays off after a few weeks. Try it: what did I decide about pricing this month, what did I try that didn't work, when did I talk to that client. The agent answers from your notes, with dates. And if you ask about something you never told it, it says so plainly: that isn't in your wiki. I tried it on my real wiki: I asked about a project's changes in July and got an answer with dates and outcomes.
Keep a private copy on GitHub (optional)
Your wiki lives on your computer. If you want a backup in the cloud, ask your agent: keep a private copy of my wiki on GitHub. You need the account and the connection from guide #4; if you did that, you already have everything. Check the repository says Private, exactly as in that guide. From then on, every version you save and push stays in the repository's history.
Open it as a map in Obsidian (optional)
Your wiki is made of text files you can open in any text editor. If you want to see it as a map, open the folder in Obsidian (free): in the graph view you see your notes connected to each other. It changes nothing in the wiki, it just shows it differently. Guide #6 walks you through it.
WHAT TO CHECK
Before you use it with a real client
ASK YOUR AGENT
Ask for this guide without leaving the chat
Find the superpowers guide on how to give my AI a memory and walk me through it.
Works in Claude, in Codex and in compatible MCP clients.
NEXT SUPERPOWER
#006see my ideas as a mapThis prompt does the job by hand. I can also automate the process so the result arrives ready for you to review.