Ignore paths
Create.openwikiignore at the repository root to exclude private, generated, or irrelevant paths from documentation runs. See Code mode for syntax and behavior.
Wiki instructions
OpenWiki reads the following files during runs. Edit them yourself, or ask OpenWiki in chat to revise the brief (for example,openwiki "Update openwiki/INSTRUCTIONS.md to focus on the public API").
Normal
--init and --update runs do not rewrite these files.
Agent instruction files
On each code run, OpenWiki maintainsAGENTS.md and CLAUDE.md at the repository root:
- Creates the file if it does not exist
- Rewrites only the
<!-- OPENWIKI:START -->…<!-- OPENWIKI:END -->block when the file already exists - Leaves the rest of your content untouched
Local configuration directory
Both code and personal mode store machine-local state under~/.openwiki/ by default:
Code-mode repository artifacts such as the generated wiki, Claims under
openwiki/.claims/, openwiki/INSTRUCTIONS.md, and openwiki/.last-update.json live in the project, not under ~/.openwiki/. For more detail, see Code mode and Personal mode.
Override the state directory
SetOPENWIKI_CONFIG_DIR before starting OpenWiki to use a different writable directory, such as a mounted container volume:
~/.openwiki directory. To preserve any state you wish to preserve, copy it yourself and point the variable at a dedicated directory because OpenWiki restricts its permissions for the current user.
Telemetry
OpenWiki collects anonymous, aggregate usage data by default so the project can understand how the tool is used and improve it. Collected on a singleopenwiki_run event, keyed by a random install ID stored in ~/.openwiki/install-id:
- Every recorded run: the command (
init/update) and outcome (success/failure/no-op), plus a coarse error category on failure (never the error message). Interactive chat,auth, andingestare not recorded - At setup (on init only): brain mode (
code/personal), model provider, and configured connector names (never their contents)
Opt out
OPENWIKI_TELEMETRY_DISABLED=1 to ~/.openwiki/.env. In CI, set it in the workflow environment.
To inspect exactly what a run would send, add --telemetry-file=<path> to any run.
See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

