| name | wikitool |
| description | Run the Rust wikitool CLI for sync, indexing, docs, import, inspection, workflow, and release operations. Use when executing command-line workflows with dry-run guardrails and canonical CLI-help validation. |
| allowed-tools | Bash(wikitool:*), Bash(cargo:*), Bash(cd:*), Read, Write |
| argument-hint | [command] [options] |
/wikitool - Rust CLI Gateway
Treat this skill as a thin overlay.
Canonical behavior is defined by runbooks and live CLI help.
Use normal reasoning, ordinary shell/file tools, and direct editing by default.
Reach for wikitool when you need wiki-aware retrieval, MediaWiki-aware fetch/export, template/profile lookup, article lint/fix/validate, or guarded sync/push.
Usage
/wikitool
/wikitool <command>
/wikitool <command> [args]
Resolution
- Prefer direct binary:
wikitool ....
- If binary is unavailable, use
cargo run --quiet --package wikitool -- ....
- Do not invent flags from memory; verify against help.
Canonical lookup order
wikitool --help
wikitool <command> --help
docs/wikitool/reference.md
Guardrails
- Run
diff before push/delete workflows.
- Run
push --dry-run --summary "..." before write push.
- Do not use
--force without explicit approval.
- Treat the local DB as disposable; use
db reset or delete .wikitool/data/wikitool.db instead of preserving old schema state.
Binary-native workflow helpers
wikitool status --modified --format json
wikitool diff --format json
wikitool pull --all --format json
wikitool workflow session-refresh
wikitool workflow full-refresh --yes
wikitool knowledge warm --docs-profile remilia-mw-1.44
wikitool knowledge status --docs-profile remilia-mw-1.44
wikitool knowledge article-start "Topic" --format json
wikitool research search "Topic" --format json
wikitool research fetch "https://wiki.remilia.org/wiki/Main_Page" --format rendered-html --output json
wikitool wiki profile sync
wikitool templates show "Template:Infobox person"
wikitool article lint wiki_content/Main/Title.wiki --format json
wikitool knowledge inspect chunks --across-pages --query "topic terms" --max-pages 6 --limit 10 --token-budget 1200 --format json --diversify
wikitool knowledge pack "Topic" --format json
wikitool docs generate-reference
wikitool dev install-git-hooks
wikitool release build-ai-pack
wikitool release package
wikitool release build-matrix
Retrieval model
- Treat local files as the editor-facing source of truth.
- Treat SQLite as an AI retrieval index: semantic page profiles, sections, templates, module invocation patterns, references, source authorities, identifiers, template implementation bundles, pinned docs corpora, links, and media.
- Do not describe reference rows as quality scored; use the stored retrieval signals, authority/identifier data, and source metadata directly.
- Prefer
knowledge article-start as the default authoring retrieval front door; use knowledge pack only when the deeper raw substrate is needed, and use knowledge status to verify readiness before depending on local context.