llm-wiki-newsroom
AGENTS.md170 starsChanged 57 days agoMITView on GitHub
⚠️ LEGACY COMPATIBILITY MODE — read this first. This file describes the original "no scripts" workflow and has drifted from the current architecture. The source of truth is CLAUDE.md + .claude/ (5-role multi-agent flow, 9 slash commands, deterministic tools/ pipeline). Even in this minimal mode, four rules are non-negotiable: 1. Never hand-edit generated artifacts: wiki/index.md, wiki/sources/_catalog*.md, any <!-- AUTO:* BEGIN/END --> region, or anything under graph/ — run python tools/build.py instead. 2. Never hand-write graph/graph.html or graph/*.json — the HTML…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- consulting-writingSkill
- encyclopedia-writingSkill
- guideline-writingSkill
- journalism-writingSkill
- ponytail-codingSkill
- scholarly-citationSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 3 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Every wiki page uses this frontmatter:
- Very specific: line 72
Use [[PageName]] wikilinks to link to other wiki pages.
- Distinctive: line 81
Read the source document fully
- Very specific: line 82
Read wiki/index.md and wiki/overview.md for current wiki context
- Very specific: line 83
Write wiki/sources/<slug>.md — use the source page format below
- Very specific: line 84
Run python tools/build.py — regenerates wiki/index.md, catalogs, graph artifacts, and the overview.md AUTO:STATS block (never hand-edit …
- Very specific: line 88
Update/create entity pages only for entities cited by ≥3 distinct sources (person stubs additionally require operator approval — …
- Distinctive: line 90
Update/create concept pages for key ideas under the same threshold discipline
- Very specific: line 131
Read wiki/index.md to identify relevant pages
- Very specific: line 134
Ask the user if they want the answer filed as wiki/syntheses/<slug>.md
- Very specific: line 142
Run python tools/lint.py (9 deterministic groups.
- Very specific: line 159
Run python tools/build.py graph (or python tools/build.py for the full 5-phase pipeline).
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM Wiki Newsroom — Schema & Workflow Instructions
⚠️ LEGACY COMPATIBILITY MODE — read this first. This file describes the original "no scripts" workflow and has drifted from the current architecture. The source of truth is CLAUDE.md +
.claude/(5-role multi-agent flow, 9 slash commands, deterministictools/pipeline). Even in this minimal mode, four rules are non-negotiable:
- Never hand-edit generated artifacts:
wiki/index.md,wiki/sources/_catalog*.md, any<!-- AUTO:* BEGIN/END -->region, or anything undergraph/— runpython tools/build.pyinstead.- Never hand-write
graph/graph.htmlorgraph/*.json— the HTML is a committed Sigma.js shell that fetches build artifacts.- Run
python tools/lint.pyand require exit 0 before treating content as published.- English TitleCase filenames are the default; non-Latin-script entities may use a native-script filename (e.g.
신한은행.md) —.claude/policies/naming.md; new person stubs need ≥3 distinct citing sources + operator approval.
This repo can be driven conversationally by any coding agent, but the deterministic tools/ scripts (stdlib + a few pip deps, no API key) are required for build/lint — they are not optional.
How to Use
Describe what you want in plain English:
- "Ingest this file: raw/papers/my-paper.md"
- "What does the wiki say about transformer models?"
- "Check the wiki for orphan pages and contradictions"
- "Build the knowledge graph"
Or use shorthand triggers:
ingest <file>→ runs the Ingest Workflowquery: <question>→ runs the Query Workflowlint→ runs the Lint Workflowbuild graph→ runs the Graph Workflow
Directory Layout
raw/ # Immutable source documents — never modify these
wiki/ # Agent owns this layer entirely
index.md # Catalog of all pages — generated by `python tools/build.py index`
overview.md # Living synthesis across all sources
sources/ # One summary page per source document
entities/ # People, companies, projects, products
concepts/ # Ideas, frameworks, methods, theories
overviews/ # L2-3 cluster landscape overviews
contradictions/ # L2-3 conflict-axis theme pages
syntheses/ # Saved query answers
timelines/ # Chronological hub pages
trails/ # Associative trails (Memex)
graph/ # Auto-generated graph data (build.py output — do not hand-edit)
tools/ # Optional standalone Python scripts (no API key required)
log.md # Append-only chronological record (repo root, not under wiki/)Page Format
Every wiki page uses this frontmatter:
---
title: "Page Title"
type: source | entity | concept | synthesis | trail | timeline | overview | contradiction
tags: []
sources: [] # list of source slugs that inform this page
last_updated: YYYY-MM-DD
---Use [[PageName]] wikilinks to link to other wiki pages.
Ingest Workflow
Triggered by: "ingest <file>"
Steps (in order):
- Read the source document fully
- Read
wiki/index.mdandwiki/overview.mdfor current wiki context - Write
wiki/sources/<slug>.md— use the source page format below - Run
python tools/build.py— regenerateswiki/index.md, catalogs, graph artifacts, and theoverview.mdAUTO:STATS block (never hand-edit these) - Revise the EDITOR-owned prose of
wiki/overview.mdonly if warranted — keep<!-- AUTO:* -->regions untouched - Update/create entity pages only for entities cited by ≥3 distinct sources
(person stubs additionally require operator approval —
.claude/policies/naming.md) - Update/create concept pages for key ideas under the same threshold discipline
- Flag any contradictions with existing wiki content
- Append to
log.md:## [YYYY-MM-DD] ingest | <Title>
Source Page Format
---
title: "Source Title"
type: source
tags: []
published: YYYY-MM-DD # publication date (known)
scraped: YYYY-MM-DD # date collected
source_file: raw/...
---
## Summary
2–4 sentence summary.
## Key Claims
- Claim 1
- Claim 2
## Key Quotes
> "Quote here" — context
## Connections
- [[EntityName]] — how they relate
- [[ConceptName]] — how it connects
## Contradictions
- Contradicts [[OtherPage]] on: ...Query Workflow
Triggered by: "query: <question>"
Steps:
- Read
wiki/index.mdto identify relevant pages - Read those pages
- Synthesize an answer with inline citations as
[[PageName]]wikilinks - Ask the user if they want the answer filed as
wiki/syntheses/<slug>.md
Lint Workflow
Triggered by: "lint"
Run python tools/lint.py (9 deterministic groups; exit 0 is the publication
gate — manual inspection supplements it, never replaces it). Then check for:
- Orphan pages — wiki pages with no inbound
[[links]]from other pages - Broken links —
[[WikiLinks]]pointing to pages that don't exist - Contradictions — claims that conflict across pages
- Stale summaries — pages not updated after newer sources
- Missing entity pages — entities mentioned in 3+ pages but lacking their own page
- Data gaps — questions the wiki can't answer; suggest new sources
Output a lint report and ask if the user wants it saved to lint-report.md.
Graph Workflow
Triggered by: "build graph"
Run python tools/build.py graph (or python tools/build.py for the full
5-phase pipeline). There is no manual fallback — graph/graph.html is a
committed Sigma.js shell and graph/*.json are deterministic build artifacts;
writing them by hand corrupts the visualization and every downstream lint.
Naming Conventions
- Source slugs:
kebab-casematching source filename - Entity/concept pages:
TitleCase.md(e.g.OpenAI.md,RAG.md) — the default - Non-Latin-script entities may use a native-script filename (e.g.
신한은행.md) when the name has no standard Latin form (.claude/policies/naming.md)
Index Format
Generated by python tools/build.py index — shown for reading reference only; never hand-edit.
# Wiki Index
## Overview
- [Overview](overview.md) — living synthesis
## Sources
- [Source Title](sources/slug.md) — one-line summary
## Entities
- [Entity Name](entities/EntityName.md) — one-line description
## Concepts
- [Concept Name](concepts/ConceptName.md) — one-line description
## Syntheses
- [Analysis Title](syntheses/slug.md) — what question it answersLog Format
## [YYYY-MM-DD] <operation> | <title>
Operations: ingest, query, lint, graph
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.

