llmwiki-tool - CLI for managing LLM-wikis
A Rust CLI for managing LLM-wikis — markdown knowledge bases with Obsidian-style wikilinks.
Designed to simplify an LLM agent's job of keeping the wiki clean: fix broken links, rename pages with full reference updates, detect orphans, and lint against configurable rules — all through commands that produce structured output and save tokens.
The tool is not opinionated. It adapts to your wiki's structure via wiki.toml configuration rather than imposing conventions.
See also: wikidesk — a companion server that lets multiple AI agents share a wiki and dispatch research requests.
Installation
Install inside your LLM-wiki environment.
|
powershell -ExecutionPolicy ByPass -c "irm https://github.com/ilya-epifanov/llmwiki-tooling/releases/latest/download/llmwiki-tooling-installer.ps1 | iex"
Setup
Once installed, tell your wiki-maintaining agent:
Run
llmwiki-tool setup promptand follow the instructions to configure the tool for this wiki.
The setup prompt walks the agent through scanning your wiki structure and generating a wiki.toml config file.
Configuration
The tool reads wiki.toml from the wiki root. The agent can generate this automatically via the setup prompt, or you can create one manually:
Links
Rename
Updates all [[Old Page]], [[Old Page#heading]], and [[Old Page|alias]] references across the wiki.
Sections
Renames headings and updates all [[page#heading]] fragment references.
References
Frontmatter
Lint
Scan
Building from source
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.