← Back to library

Keep a shared team wiki that your agents maintain

najmuzzaman on Hacker News released an open-source knowledge base that agents keep up to date, stored as plain markdown files in git. Each agent keeps private notes; reviewed notes are promoted into a shared team wiki with links back, so humans still own what becomes canon.

  • OutcomeGive agents a markdown-and-git wiki they read and write, with drafts reviewed before they become team knowledge.
  • SetupAn afternoon+
  • LevelAdvanced
  • Creditnajmuzzaman on Hacker News
View original
Works with
Claude CodeCustom agent

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 24, 2026

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?

  1. Set the structureFolders for team pages and one notebook per agent.
  2. Draft, then promoteAgents write to notebooks; a person or reviewer agent promotes good entries.
  3. Lint dailyCheck for contradictions, stale pages and broken links.
  4. 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)

Prompt3 variables
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?
The author wanted durability and portability: plain files outlive any tool, and git shows who changed what. Search is an index on top; the files remain the record.
Can I do this without the author's software?
Yes. The pattern of notebooks, review, promotion and a daily lint works with any agent that can read and write files in a repository.

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.

More in Operations & Admin

All 225 Operations & Admin playbooks →

Related playbooks

Operations & AdminSkill✓ AI dry run

Keep your coding agent on current web platform features

Add Google Chrome's modern-web-guidance skill to Claude Code, Codex, Cursor or another coding agent so that before it writes front-end code it looks up a vetted guide for the pattern at hand, uses built-in browser features such as native dialogs instead of old JavaScript workarounds, applies fallbacks only where browser support requires them, and tells you which guides shaped the change.

Credit: GoogleChrome

Minutes
Operations & AdminWorkflow✓ AI dry run

Share one to-do list between your team and your agents

Run a normal task list where people and AI agents both take tasks, update progress, and send finished work back for review.

Credit: Pete Callaghan (@petecallaghans)

An afternoon+
Operations & AdminWorkflow✓ AI dry run

Give Claude Code a git-backed memory it maintains itself

Keep your working rules and your project history in separate git repositories of plain markdown, use Claude Code hooks to load a short slice of the right rules at the start of each session, block risky actions until the matching rules are loaded, and have the agent append dated notes and commit them at the end of each task.

Credit: u/tahayelkenci on r/ClaudeCode

An afternoon+
Operations & AdminWorkflow✓ AI dry run

Track coding-agent work as specs and GitHub issues

Turn a feature idea into a written spec, an epic and small GitHub issues that parallel agents can pick up and trace back.

Credit: aroussi on Hacker News

An afternoon+
Operations & AdminWorkflow✓ AI dry run

Keep the check that decides 'done' out of your agent's reach

Stop a coding agent from grading its own homework: write the acceptance check yourself, lock it with a checksum so any edit fails the run, make it measure the finished result rather than read the agent's code, print a specific miss line for each defect, and still look at the result with human eyes before calling it done.

Credit: u/Stunning-Sherbet1853 on r/AI_Agents

Under an hour