adapter
Route to, register, inspect, validate, and run explicitly trusted local private adapters…
Bulk-ingest source collections such as Git doc repos, MediaWiki sources, CSV/JSON message archives, and Wayback CDX snapshots into raw sources.
> /plugin marketplace add nvk/llm-wiki > /plugin install wiki@llm-wiki
How it fires
How this command gets triggered: by you, by Claude, or both.
/ingest-collectionContext preview
What this command does when you run it.
Bulk-ingest source collections such as Git doc repos, MediaWiki sources, CSV/JSON message archives, and Wayback CDX snapshots into raw sources.
description: "Bulk-ingest source collections such as Git doc repos, MediaWiki sources, CSV/JSON message archives, and Wayback CDX snapshots into raw sources." argument-hint: "<repo-url|repo-path|mediawiki-url|dump.xml[.bz2|.gz]|csv-json-path|cdx-url|archived-url> [--adapter auto|git|mediawiki-dump|mediawiki-api|csv-messages|wayback-cdx] [--wiki <name>] [--local] [--new-topic <name>] [--limit <N>] [--namespace <id>] [--include <pattern>] [--exclude <pattern>] [--from YYYYMMDD] [--to YYYYMMDD] [--dry-run] [--compile] [--include-archived]" allowed-tools: Read, Write, Edit, Glob, Grep, Bash(ls:*), Bash(wc:*), Bash(date:*), Bash(mkdir:*), Bash(mv:*), Bash(cp:*), Bash(rm:*), Bash(basename:*), Bash(find:*), Bash(git:*), Bash(curl:*), Bash(python3:*), Bash(bunzip2:*), Bash(gunzip:*)
Bulk-ingest a collection into the wiki as immutable raw sources. A collection is a bounded upstream corpus, not a single article: a Git repository full of specs, a BIP repository, a MediaWiki XML dump/API site, a CSV/JSON message archive, or a Wayback CDX snapshot set. Do **not** compile one wiki article per upstream page by default. First preserve raw sources with provenance, then compile synthesized topic/concept/reference articles.
**Resolve the wiki.** Follow the same resolution flow as `/wiki:ingest`: 1. Read `$HOME/.config/llm-wiki/config.json`. If it has `hub_path`, expand leading `~` only and prefer that path; use `resolved_path` only as a fallback cache when the expanded `hub_path` is unavailable and `resolved_path` is initialized. If config has only `resolved_path`, use it. If the configured path can be statted but reading `wikis.json` or listing `topics/` fails with `Operation not permitted`, stop and ask the user to grant Full Disk Access/iCloud Drive access to the launcher; do not fall back to `~/wiki` or `resolved_path`. Do not write machine-specific `resolved_path` into shared configs. 2. If no config → read `$HOME/wiki/_index.md`. If it exists → HUB = `$HOME/wiki`. If nothing found, ask the user where to create the wiki. 3. Wiki location, first match: `--local` → `.wiki/`; `--wiki <name>` → `HUB/wikis.json` lookup with portable path resolution (`<HUB>`, `~`, absolute, or HUB-relative); if the registry path is stale, fall back to `HUB/topics/<name>`; current directory has `.wiki/` → use it; else → HUB. 4. If `<wiki>/_index.md` is missing and `--new-topic <name>` is set, create the topic wiki using the init protocol before ingesting. If no wiki exists and no `--new-topic`, stop and ask for a target wiki.
Archive rule: collection ingest skips archived topic wikis by default. If `--wiki <name>` resolves to `status: archived` or a path under `topics/.archive/`, stop and ask the user to restore it with `/wiki:archive restore <name>` or rerun with `--include-archived`. When explicitly included, write only inside that archived topic path and keep it archived. Auto-classification and `--new-topic` collision checks should treat archived topics as unavailable unless the user explicitly restores or includes archived context.
Read `skills/wiki-manager/references/ingestion.md` and `skills/wiki-manager/references/wiki-structure.md`, then follow the collection ingestion protocol.
Before writing a large collection, be explicit about fit:
suggest one inventory `corpus` record instead of ingesting.
suggest a dataset manifest plus one linked inventory record.
manifest shape, estimated child count, and any inventory/dataset companion record before asking for confirmation.
After ingesting a collection, if a matching inventory record exists, link the raw collection manifest from that record and report the recommended status/next action update.
wiki. Keep the topic archived.
Use `--adapter` if supplied. Otherwise:
1. Source ending in `.xml`, `.xml.bz2`, or `.xml.gz` → `mediawiki-dump`. 2. Source contains `github.com/`, `gitlab.com/`, ends in `.git`, or is a local directory with `.git/` → `git`. 3. Source ending in `.csv`, `.tsv`, `.json`, or `.jsonl` with message-like fields, or user asks for per-message markdown → `csv-messages`. 4. Source contains `web.archive.org/cdx`, user says "Wayback"/"CDX", or source is an original URL plus snapshot/archive intent → `wayback-cdx`. 5. Source URL contains `/wiki/`, `/w/`, or has a reachable `api.php` endpoint → `mediawiki-api`. 6. If still ambiguous, ask the user to choose `git`, `mediawiki-dump`, `mediawiki-api`, `csv-messages`, or `wayback-cdx`.
Never recursively crawl HTML pages as a collection import. Use structured upstream APIs, repository files, official dumps, dataset rows, or CDX inventories.
1. Deri
LLM-compiled knowledge bases for any AI agent. Parallel multi-agent research, thesis-driven investigation, source ingestion, wiki compilation, querying, and artifact generation.
Route to, register, inspect, validate, and run explicitly trusted local private adapters…
Archive or restore whole topic wikis so old interests stay preserved but out of default…
Assess a local repo against the active wiki's research body and the broader market. Gap…
Truth-seeking umbrella audit for llm-wiki. Combines active wiki maintenance, output drift…
Export, refresh, verify, or import a comprehensive cross-topic Project Knowledge Checkpoint…