trilisted
Install: claude install-skill smkg75/wikidoc
No `config.yaml` in the workspace (`$WIKIDOC_HOME`, default `~/.wikidoc`)? Follow `skills/setup/SKILL.md` at the plugin root, then come back here.
`$ARGUMENTS` sizes the pass: nothing takes `batch_size`; a number is the batch size; `inboxes` is the sum of the file counts of every inbox in `inboxes:`, so the selection order fills the pass with them alone.
Filing is the means; a corpus that answers questions is the end. Every pass ends with each file carrying what it is, and `memory.jsonl` carrying why that was decided. Query it anytime: `memory.py stats` · `show <path|md5>` · `find <term>` — memory answers, it never selects.
Scripts live in `scripts/` at the plugin root (`scripts/` sits beside `skills/`, two levels up from this file). Resolve that directory once and invoke every script by its **absolute path** (`python3 <plugin-root>/scripts/route.py`) — a relative invocation from the wrong cwd fails halfway through a pass. Long output goes to `bench/logs/`; read it paginated rather than re-running a script to see it again.
## Invariants
- **Evidence** decides. Strength 3 = a validated identifier read in the content, 2 = a name read in the content, 1 = path or filename only — hearsay. A rule matching only strength-1 conditions is capped at `propose`.
- Read a file before the gesture that touches it. The `propose` and `residual` triages exist for exactly that.
- Removal goes to the OS bin — every gesture is reversible. A sensitive document is never routed automatically and