adapter
Route to, register, inspect, validate, and run explicitly trusted local private adapters…
Find, catalog, deduplicate, and optionally inventory bounded sets of artifacts, examples, resources, memes, tools, entities, media, or other collectible things.
> /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.
/collectContext preview
What this command does when you run it.
Find, catalog, deduplicate, and optionally inventory bounded sets of artifacts, examples, resources, memes, tools, entities, media, or other collectible things.
description: "Find, catalog, deduplicate, and optionally inventory bounded sets of artifacts, examples, resources, memes, tools, entities, media, or other collectible things." argument-hint: "\"<things to collect>\" [--type <kind>] [--scale tiny|small|medium|large|huge] [--limit <N>] [--media archive|thumbnail|reference] [--inventory preview|none|corpus|records] [--ingest-sources] [--dry-run] [--wiki <name>] [--local] [--include-archived]" allowed-tools: Read, Write, Edit, Glob, Grep, Bash(ls:*), Bash(wc:*), Bash(date:*), Bash(mkdir:*), Bash(curl:*), Bash(shasum:*), Bash(file:*), Bash(stat:*), WebSearch, WebFetch, Agent
Find and catalog a bounded set of "things" for the target wiki. This command is for collectible objects and examples where the deliverable is a curated catalog: memes, images, videos, quotes, tools, projects, products, examples, people, venues, source candidates, and similar discoverable artifacts.
Treat collect outputs as a provenance-rich discovery layer for the LLM. They are where the agent records "I found these things, with this context and confidence, but I have not yet decided what they mean." Later workflows may promote selected context pages into `raw/`, synthesize stable knowledge into `wiki/`, create durable tracking records in `inventory/`, or index large media/data collections in `datasets/`.
Collect is not the same as `/wiki:research` or `/wiki:ingest-collection`:
synthesized wiki articles.
such as a Git repo, MediaWiki dump/API, message archive, or Wayback CDX set.
track and no discovery/catalog pass is needed.
"curate", "gather", "make a list of", or "inventory all the examples of X."
Always be clear about boundedness. "All" means "all discovered within the stated search strategy, quality threshold, and limit", not the entire internet.
Follow the standard resolution flow:
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 exists, read `$HOME/wiki/_index.md`. If it exists, use `$HOME/wiki` as HUB. If nothing is found, ask 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), falling back to `HUB/topics/<name>` if stale; current directory has `.wiki/` -> use it; otherwise use HUB. 4. Read `<wiki>/_index.md` to verify. If missing, stop with "No wiki found. Run `/wiki init` first."
Archive rule: collect operates on active topic wikis by default. If a named target is archived, stop and ask the user to restore it or rerun with `--include-archived`. When explicitly included, write only inside that archived topic and label the result as archived.
Read `skills/wiki-manager/references/inventory.md` and `skills/wiki-manager/references/research-infrastructure.md` before writing. Use inventory as tracking state, not evidence.
eval tools"`, `"companies using Nostr"`, or `"examples of SeedQR backup UX"`.
`video`, `tool`, `project`, `person`, `company`, `quote`, `paper`, `source`, `example`. If omitted, infer from the query.
"all", still apply the scale limit unless they explicitly set a higher one.
rich media when a direct public media URL is available and the collection remains bounded.
are too heavy for the requested collection.
the user's wording explicitly asked to inventory the findings.
output.
small enough to remain useful.
catalog is built. Do not copy binary media into raw; raw is source text.
policy, and inventory fit without writing files.
Define scale by operational cost, not only row count. Use the maximum pressure from candidate count, boundedness, payload weight, provenance burden, volatility, and inventory usefulness.
| Scale | Rows | Source Shape | Default Behavior | |-------|------|--------------|------------------| | `tiny` | 1-3 | Known items | Skip collect; use ingest, que
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…