llm-wiki-newsroom
llms.txt170 starsChanged 57 days agoMITView on GitHub
Harness engineering applied to knowledge production: a multi-agent "newsroom" on Claude Code that turns a folder of documents into a cross-linked, human-readable markdown wiki. The agent that writes a page is never the one that reviews it; the authoring guidelines evolve themselves; contradictions between sources get their own pages instead of being smoothed over; and published pages come back around as input once they go stale. Local-first (the Python tools need no API keys; the agent itself runs on Claude…
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- consulting-writingSkill
- encyclopedia-writingSkill
- guideline-writingSkill
- journalism-writingSkill
- ponytail-codingSkill
- scholarly-citationSkill
The file
Files
# LLM Wiki Newsroom > Harness engineering applied to knowledge production: a multi-agent "newsroom" on Claude Code that turns a folder of documents into a cross-linked, human-readable markdown wiki. The agent that writes a page is never the one that reviews it; the authoring guidelines evolve themselves; contradictions between sources get their own pages instead of being smoothed over; and published pages come back around as input once they go stale. Local-first (the Python tools need no API keys; the agent itself runs on Claude Code) — a structured, persistent alternative to RAG. It follows Andrej Karpathy's three-layer LLM Wiki pattern: source documents, the agent-built wiki, and the agent's operating rules stay in separate layers. Ingesting one document cascades updates into ~10–15 related pages. The public repository is the idea plus a small 15-node reproducible example (the debate over what "open source" means for AI), not a battle-tested product; the writer-reviewer split and the self-evolving loop are framed as hypotheses the author is measuring, not solved claims. ## The four loops The production system runs on four loops. The first three mirror the software-factory playbook for AI-assisted coding; the fourth exists because knowledge, unlike code, keeps decaying after you ship it. - **Inner** — the agent's own fast checks while drafting, before anything is submitted. - **Outer** — the publication gate, in two stages: deterministic lint (a Python script, no model call), then an independent desk review that sees the draft and the rubric but never the writer's reasoning. - **Meta** — recurring defects get promoted into the authoring rules themselves. A blind A/B against a held-out regression set gates the subset that touches judge-scored prose; the rest is verified deterministically, and an operator directive can waive the A/B on a recorded reason. Everything ends at a human gate. Thirteen weeks of that ledger on the author's private instance: 107 adopted, 72 rejected, 18 deferred; over the same window 44 of the 70 defect classes that ever got a fix came back afterwards, five of them producing 451 of the 823 recurrences. - **Reground** — published pages return as input when their sources change, when a claim's own deadline matures, or when two pages start contradicting each other. ## Core docs - [README](https://github.com/alfadur7/llm-wiki-newsroom/blob/main/README.md): full overview, install, all 9 slash commands, architecture, feature reference - [Landing page](https://alfadur7.github.io/llm-wiki-newsroom/): concise overview and a comparison table against RAG - [The Knowledge Factory](https://alfadur7.github.io/llm-wiki-newsroom/knowledge-factory/): the full argument for the four-loop design — what harness engineering is, why the three coding loops do not cover knowledge work, and how the fourth loop closes it - [Scooping the Rice, Leaving the Stones](https://alfadur7.github.io/llm-wiki-newsroom/scooping-stones/): a preregistered, reproducible test of an external judge model (Jev) as a screener for defective wiki pages; a null result explained by the defect base rate, with all labels, scores and the analysis script published - [FAQ](https://alfadur7.github.io/llm-wiki-newsroom/faq/): what it is, how it differs from RAG, API-key needs, agent support, writer-reviewer split, self-evolving guidelines - [Browsable example wiki](https://github.com/alfadur7/llm-wiki-newsroom/wiki): the shipped corpus rendered as pages, no clone required ## Korean (한국어) - [소개 페이지 / Landing (KO)](https://alfadur7.github.io/llm-wiki-newsroom/ko/): concise Korean overview and a comparison table against RAG - [지식 팩토리 / The Knowledge Factory (KO)](https://alfadur7.github.io/llm-wiki-newsroom/ko/knowledge-factory/): the four-loop argument in Korean - [돌 섞인 쌀, 조리질로 돌 고르기 / Scooping the Rice, Leaving the Stones (KO)](https://alfadur7.github.io/llm-wiki-newsroom/ko/scooping-stones/): the judge-model experiment in Korean - [FAQ (KO)](https://alfadur7.github.io/llm-wiki-newsroom/ko/faq/): the same FAQ in Korean, for Korean-speaking engineers ## Key concepts and code - [Karpathy's LLM Wiki (origin)](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f): the three-layer pattern and cascading-update idea this implements - [Harness engineering (source talk)](https://www.youtube.com/watch?v=D_cw-k0F1DM&t=2400): Dru Knox of Tessl at AI Engineer SF, where the software factory and its three loops are laid out - [Vannevar Bush's Memex (1945)](https://en.wikipedia.org/wiki/Memex): the associative-trail and serendipity inspiration - [tools/query.py](https://github.com/alfadur7/llm-wiki-newsroom/blob/main/tools/query.py): graph traversal plus local semantic search, used to narrow candidates before reading full pages - [CLAUDE.md](https://github.com/alfadur7/llm-wiki-newsroom/blob/main/CLAUDE.md): the agent's operating rules (Layer 3), including the five roles and the verification cycle ## Notes - Local-first: the graph, lint, and search tools run on-device with no external API keys. The language model is whatever your Claude Code session uses (bring your own key). - Claude Code is the primary, fully supported agent (all 9 slash commands). Codex (AGENTS.md) and Gemini CLI (GEMINI.md) are supported at a basic level. - Optional Korean mode (WIKI_LANG=ko) localizes body prose and frontmatter; the wiki schema tokens stay English by design because the tools grep for them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

