When should you use it?
- Agents keep asking for the same background
- Team knowledge lives in chat threads and heads
- You want knowledge you can audit and take with you
Not for: Teams that won't review what agents write; Highly confidential material without access controls
What do you need, and what do you get?
You need
- A git repository
- Agreed page types (clients, systems, decisions)
- A reviewer for promotions
You get
- A team wiki in markdown
- Agent notebooks
- A daily list of contradictions and stale pages
How does it work, step by step?
- Set the structureFolders for team pages and one notebook per agent.
- Draft, then promoteAgents write to notebooks; a person or reviewer agent promotes good entries.
- Lint dailyCheck for contradictions, stale pages and broken links.
- Look up with citationsAgents answer from wiki pages and cite them.
The prompt
Our own prompt, inspired by najmuzzaman on Hacker News and written to work in Claude Code and Custom agent. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
You maintain our team wiki in the git repository {repo}. Team pages live in team/, your private notes in agents/{agent_name}/notebook/. When you learn something: write it in your notebook with the date and source. When asked to promote: propose the change to the right team page as a diff, citing the notebook entry. Never edit team/ without approval. Daily check: list pages that contradict each other, pages not updated in {stale_days} days, and broken [[links]]. When answering a question, use only wiki pages, cite each one, and say plainly when the wiki has no answer.
Inspired by najmuzzaman on Hacker News: Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git). The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Agent-written notes can be wrong with confidence; nothing should reach the team wiki unreviewed.
- Commenters warned that automated note-taking can replace understanding; keep people writing the key decisions.
Our take
Most agent-memory projects promise that the agent will remember everything. This one is more sensible: memory is a wiki that people can read, diff and correct, and nothing becomes shared knowledge until it is reviewed. That review gate is the part we would insist on. The comments were skeptical, with several people asking whether agent-written notes are worth anything, and that skepticism is the right default. For MSPs and agencies the strongest use is client and system pages: how a client's environment is set up and what was decided and why. We tested our prompt on sample notes from three agent sessions about a client network; it proposed a page structure, promoted two facts with sources, held back one that conflicted with an existing page, and listed it for a person to resolve. We kept the author's recall benchmark out of the summary because we could not check it. Start with one client and a weekly review.
Where the time goes back: Agents stop needing the same background re-explained, and the daily lint catches outdated knowledge before someone relies on it.
FAQ
Why markdown and git rather than a vector database?
Can I do this without the author's software?
Source and credit
Inspired by najmuzzaman on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git)
- Creator
- najmuzzaman on Hacker News
- Published on
- Hacker News
- Original date
- Apr 25, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. No direct edits to team/; contradiction surfaced, not overwritten; says when the wiki has no answer.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.