by alfadur7
Self-evolving multi-agent "newsroom" that turns your documents into a cross-linked knowledge wiki — writer ≠ reviewer, local-first, no API keys, a structured alternative to RAG.
# Add to your Claude Code skills
git clone https://github.com/alfadur7/llm-wiki-newsroomGuides for using ai agents skills like llm-wiki-newsroom.
llm-wiki-newsroom is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by alfadur7. Self-evolving multi-agent "newsroom" that turns your documents into a cross-linked knowledge wiki — writer ≠ reviewer, local-first, no API keys, a structured alternative to RAG. It has 50 GitHub stars.
llm-wiki-newsroom's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/alfadur7/llm-wiki-newsroom" and add it to your Claude Code skills directory (see the Installation section above).
llm-wiki-newsroom is primarily written in Python. It is open-source under alfadur7 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh llm-wiki-newsroom against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A multi-agent AI knowledge base run by a five-role "newsroom" — open-source, local-first, no API keys, no vendor lock-in. Drop articles, documents, and PDFs into the raw/ folder, type a single command, and the newsroom — powered by an agent like Claude Code — reads them, extracts entities, concepts, and relationships, and organizes everything into a fully cross-referenced wiki, a structured and persistent alternative to RAG. Unlike most takes on the idea, the agent that writes a page is never the one that reviews it, and the authoring guidelines evolve themselves over time. Every new document you add also enriches the existing pages. This repo ships with a small example corpus — the debate over what "open source" means for AI — under wiki/, but the framework is domain-agnostic.
Most knowledge tools leave the finding to you. This project makes the AI read and understand your collected documents first, then organizes them into a wiki — with cross-references between pages, automatic flagging of conflicting claims, and per-topic synthesis built in from the start, so later retrieval is fast.
See the output before installing — the example corpus shipped in this repo is published as a browsable GitHub Wiki (no clone needed). It's a rendered static snapshot of the
wiki/folder; the interactive graph below runs locally.

The interactive knowledge graph (graph/graph.html) — every page a node, every wikilink an edge, color-coded by auto-detected cluster, with a live physics layout and filter/search built in. Shown here on a larger private deployment (~2,300 nodes) to convey how it scales; this repo ships a deliberately small 15-node example corpus you can browse the exact same way. (Interface shown in the optional Korean WIKI_LANG=ko mode.)
There are plenty of takes on Karpathy's LLM Wiki idea now. After reading the popular implementations, two things here are genuinely rare:
1. Authoring guidelines that evolve themselves — something I haven't found in the other implementations. When the same review failure keeps recurring, the system drafts a fix to its own writing rules and keeps it only if a blind A/B against a regression set shows it actually helped — an idea borrowed from Self-Harness and Microsoft SkillOpt. So it isn't only the wiki that improves over time, but the rules that build it. (This loop is still experimental — I'm measuring whether it earns its keep rather than claiming it's solved.)
2. A full newsroom, not just "an agent." Plenty of tools wrap one agent around your notes, and a few add a verifier. Here the work is split across five roles — a reporter drafts source pages and entity/concept stubs, a columnist writes the deep cross-source analysis, a desk editor reviews it with fresh eyes, a copy editor runs the deterministic checks, and an editor-in-chief gates publication — and the agent that writes a page is never the one that reviews it. That review is held to an editorial rubric drawn from real craft (journalism, consulting, encyclopedic forms), so a different person or session reproduces the same bar, and a two-sided gate means the deterministic lint and the qualitative review must both pass.
It also leans on Memex-style associative discovery — saved reading trails and "unexpected connection" surfacing — that the other implementations don't carry.
The rest — the knowledge graph, contradiction tracking, cascading updates, plain-markdown/Obsidian output — many LLM-wiki tools have in some form. The self-evolving guidelines, the five-role newsroom with its editorial rubric, and the Memex discovery are the bet.
.md files, not a vendor silo. Doubles as an Obsidian vault for personal knowledge management (PKM).See Key Features below for how each one works.
git clone https://github.com/alfadur7/llm-wiki-newsroom.git
cd llm-wiki-newsroom
Or click "Use this template" to create your own wiki repo from this scaffold. To start from a clean slate, delete the example pages under
wiki/(keep the folders andgraph/cluster_labels.json), then ingest your own sources with/wiki-ingest.
This project assumes an environment where the AI agent reads and edits files and invokes tools on its own. Support levels by agent:
| Agent | Config file | Support level |
|---|---|---|
| Claude Code (primary) | CLAUDE.md + .claude/commands/ |
All 9 slash commands + advanced features (cascading updates, associative discovery, etc.) |
| Codex | AGENTS.md |
Basic workflow only (drive it with natural language) |
| Gemini CLI | GEMINI.md |
Basic workflow only (drive it with natural language) |
Claude Code-only features include cascading updates that refresh related existing pages whenever a new document is added, a backlink index across all pages, automatic contradiction tracking, and associative discovery that follows connected concepts. AGENTS.md and GEMINI.md carry only the basic workflow from the original SamurAIGPT project. The Python tools used to build the wiki run locally with no external API keys.
In Claude Code, typing a /-prefixed command like /wiki-ingest runs the matching workflow. The table below gives each command's role in one line; the Key Features section explains how they work. Argument notation follows <required>, [optional], and a | b | c (pick one); invoking a command with no required argument prints usage and stops.
| Command | Arguments | Description | Example |
|---|---|---|---|
/wiki-ingest |
<file | folder | inbox> |
Absorb one document into the wiki while also refreshing related existing pages. inbox processes the mobile share-sheet queue in a batch |
/wiki-ingest raw/NewsScrap/article.md |
/wiki-query |
<question> |
Find pages related to the question via the graph and answer with supporting evidence | /wiki-query open source AI definition |
/wiki-lint |
[--fix] |
Health-check for broken links, missing pages, contradictions, etc. (--fix auto-repairs) |
/wiki-lint --fix |
/wiki-graph |
— | Compute the connections between pages and generate an interactive graph | /wiki-graph |
| Command | Arguments | Description | Example |
|---|---|---|---|
/wiki-news |
[cluster|keyword] |
Search the web for the latest news related to the wiki's topics and recommend only new articles | /wiki-news open-source-ai-definition |
/wiki-export |
— | Merge the entire wiki into files for upload to a Claude.ai project | /wiki-export |
"Associative discovery" is inspired by the Memex proposed by Vannevar Bush in 1945 — an exploration style that follows connected concepts to surface unexpected relationships without a fixed search term.
| Command | Arguments | Description | Example |
|---|---|---|---|
/wiki-discover |
<seed | --random | --surprising | --gaps [<slug>]> |
Unexpected connections within 2 hops from a seed (or random seed), or auto-ranking of hubs that bridge clusters | /wiki-discover Meta |
/wiki-trail |
<create|follow|list> [args] |
Build and save a 5–10 step page path that follows a single topic | /wiki-trail create open source AI definition |
/wiki-timeline |
<entity> [year] |
A chronological storyline of a person's or company's events sorted by year | /wiki-timeline Meta 2024 |
You don't have to memorize the slash commands — you can request the same tasks in natural language, and Claude Code figures out the intent and maps it to the right command.
"Ingest this file: raw/NewsScrap/article.md"
"What's the relationship between open weights and the OSI definition?"
"Check the wiki for contradictions and auto-fix them"
"Start from Meta and find unexpected connections"
This follows the LLM Wiki pattern proposed by Andrej Karpathy. The source documents (Layer 1), the agent-processed wiki (Layer 2), and the agent's operating rules (Layer 3) are kept separate so that humans and AI don't trespass into each other's territory.
The Layer 2 wiki is further formalized into four sub-layers. Knowing which slash command produces or updates each sub-layer makes the workflow intuitive to follow.
| Sub-layer | Role | Producing/updating command | Output location |
|---|---|---|---|
| L2-1 Source reflection | Reflect one source int |