wiki-discover
Discover unexpected connections in the LLM Wiki (Memex serendipity).
Export wiki to merged files for Claude.ai Project Knowledge.
$ npx -y skills add alfadur7/llm-wiki-newsroom --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/wiki-exportContext preview
What this command does when you run it.
Export wiki to merged files for Claude.ai Project Knowledge.
Export wiki to merged files for Claude.ai Project Knowledge.
Usage: `/wiki-export`
Outside the matrix — Meta layer (deterministic). The Editor-in-Chief calls `tools/export.py`.
| Cycle | Owner | |---|---| | Trigger | Editor-in-Chief | | Export | `tools/export.py` (deterministic) | | Commit·Push | Editor-in-Chief → explicit approval from the wiki operator ([`CLAUDE.md`](../../CLAUDE.md) § Human Reviewer Gate, external commit/push) |
**Root meta copies** (1:1 copy)
**Sub-folder merges** (`# All FOLDER (N)` header + `---` separator) — synthesis layer only
**Sources — a one-line index instead of full bodies**
**Claude.ai project instruction document** (`README.md`)
**2-tier model**: RAG (synthesis layer + directory) = answer synthesis / Graph (entity·concept·source full text) = deep-link drill-down. The RAG corpus is kept at 0.93 MB by excluding entity·concept bodies, and the Core set is auto-selected within the limit by priority-greedy fill.
**Excluded**: `_`-prefixed files (auto-generated JSON, etc.). Stale artifacts dropped from FOLDER_MERGES (`all-entities.md`, etc.) are cleaned up by `_prune_stale` on every run.
**Hosting deploy assets** (`_site/` — `<slug>.html` + `<slug>-{graph,clusters,overlays,pages}.json`)
**Deep-link convention (single SoT)**: when `BASE_URL` is set, `export.py`'s `_deeplink_protocol()` builds the convention text and embeds it into `README.md` (single channel for the instruction field). The convention directs **all entity·concept·source deep links**:
An English title resolves directly: `#q=Meta`. Because graph.html decodes the hash with `decodeURIComponent`, a non-Latin title such as `#q=신한은행` also resolves via idmap. The graph browser (full text) ↔ RAG (synthesis Q&A) complement each other.
python tools/export.py
The output automatically reports file sizes and total volume + RAG budget (Core/Optional estimated tokens) + stale prune + `_site/` deploy-asset volume. It needs `_graph.json`·`_clusters.json`·`_overlays.json`·`_pages.json`, so run it after `python tools/build.py` (the Action is build→export in sequence).
A multi-agent AI knowledge base run by a five-role "newsroom" — open-source, local-first, no vendor lock-in.
Discover unexpected connections in the LLM Wiki (Memex serendipity).
Not a slash command — a sub-procedure of [`/wiki-lint`](wiki-lint.md), reached from `contradiction theme --fix`. Invoking it directly runs nothing.