Wiki
openclaw wiki
Section titled “openclaw wiki”Inspect and maintain the memory-wiki vault.
Provided by the bundled memory-wiki plugin.
Related:
What it is for
Section titled “What it is for”Use openclaw wiki when you want a compiled knowledge vault with:
- wiki-native search and page reads
- provenance-rich syntheses
- contradiction and freshness reports
- bridge imports from the active memory plugin
- optional Obsidian CLI helpers
Common commands
Section titled “Common commands”openclaw wiki statusopenclaw wiki doctoropenclaw wiki initopenclaw wiki ingest ./notes/alpha.mdopenclaw wiki compileopenclaw wiki lintopenclaw wiki search "alpha"openclaw wiki search "who should I ask about Teams?" --mode route-questionopenclaw wiki get entity.alpha --from 1 --lines 80
openclaw wiki apply synthesis "Alpha Summary" \ --body "Short synthesis body" \ --source-id source.alpha
openclaw wiki apply metadata entity.alpha \ --source-id source.alpha \ --status review \ --question "Still active?"
openclaw wiki bridge importopenclaw wiki unsafe-local import
openclaw wiki obsidian statusopenclaw wiki obsidian search "alpha"openclaw wiki obsidian open syntheses/alpha-summary.mdopenclaw wiki obsidian command workspace:quick-switcheropenclaw wiki obsidian dailyCommands
Section titled “Commands”wiki status
Section titled “wiki status”Inspect current vault mode, health, and Obsidian CLI availability.
Use this first when you are unsure whether the vault is initialized, bridge mode is healthy, or Obsidian integration is available.
When bridge mode is active and configured to read memory artifacts, this command queries the running Gateway so it sees the same active memory plugin context as agent/runtime memory.
wiki doctor
Section titled “wiki doctor”Run wiki health checks and surface configuration or vault problems.
When bridge mode is active and configured to read memory artifacts, this command queries the running Gateway before building the report. Disabled bridge imports and bridge configs that do not read memory artifacts remain local/offline.
Typical issues include:
- bridge mode enabled without public memory artifacts
- invalid or missing vault layout
- missing external Obsidian CLI when Obsidian mode is expected
wiki init
Section titled “wiki init”Create the wiki vault layout and starter pages.
This initializes the root structure, including top-level indexes and cache directories.
wiki ingest <path-or-url>
Section titled “wiki ingest <path-or-url>”Import content into the wiki source layer.
Notes:
- URL ingest is controlled by
ingest.allowUrlIngest - imported source pages keep provenance in frontmatter
- auto-compile can run after ingest when enabled
wiki compile
Section titled “wiki compile”Rebuild indexes, related blocks, dashboards, and compiled digests.
This writes stable machine-facing artifacts under:
.openclaw-wiki/cache/agent-digest.json.openclaw-wiki/cache/claims.jsonl
If render.createDashboards is enabled, compile also refreshes report pages.
wiki lint
Section titled “wiki lint”Lint the vault and report:
- structural issues
- provenance gaps
- contradictions
- open questions
- low-confidence pages/claims
- stale pages/claims
Run this after meaningful wiki updates.
wiki search <query>
Section titled “wiki search <query>”Search wiki content.
Behavior depends on config:
search.backend:sharedorlocalsearch.corpus:wiki,memory, orall--mode:auto,find-person,route-question,source-evidence, orraw-claim
Use wiki search when you want wiki-specific ranking or provenance details.
For one broad shared recall pass, prefer openclaw memory search when the
active memory plugin exposes shared search.
Search modes help the agent choose the right surface:
find-person: aliases, handles, socials, canonical IDs, and person pagesroute-question: ask-for/best-used-for hints and relationship contextsource-evidence: source pages and structured evidence fieldsraw-claim: structured claim text with claim/evidence metadata
Examples:
openclaw wiki search "bgroux" --mode find-personopenclaw wiki search "who knows Teams rollout?" --mode route-questionopenclaw wiki search "maintainer-whois" --mode source-evidenceopenclaw wiki search "strong route Teams" --mode raw-claim --jsonText output includes Claim: and Evidence: lines when a result matches a
structured claim. JSON output additionally exposes matchedClaimId,
matchedClaimStatus, matchedClaimConfidence, evidenceKinds, and
evidenceSourceIds for agent-side drilldown.
wiki get <lookup>
Section titled “wiki get <lookup>”Read a wiki page by id or relative path.
Examples:
openclaw wiki get entity.alphaopenclaw wiki get syntheses/alpha-summary.md --from 1 --lines 80wiki apply
Section titled “wiki apply”Apply narrow mutations without freeform page surgery.
Supported flows include:
- create/update a synthesis page
- update page metadata
- attach source ids
- add questions
- add contradictions
- update confidence/status
- write structured claims
This command exists so the wiki can evolve safely without manually editing managed blocks.
wiki bridge import
Section titled “wiki bridge import”Import public memory artifacts from the active memory plugin into bridge-backed source pages.
Use this in bridge mode when you want the latest exported memory artifacts
pulled into the wiki vault.
For active bridge artifact reads, the CLI routes the import through Gateway RPC so the import uses the runtime memory plugin context. If bridge imports are disabled or artifact reads are turned off, the command keeps the local/offline zero-import behavior.
wiki unsafe-local import
Section titled “wiki unsafe-local import”Import from explicitly configured local paths in unsafe-local mode.
This is intentionally experimental and same-machine only.
wiki obsidian ...
Section titled “wiki obsidian ...”Obsidian helper commands for vaults running in Obsidian-friendly mode.
Subcommands:
statussearchopencommanddaily
These require the official obsidian CLI on PATH when
obsidian.useOfficialCli is enabled.
Practical usage guidance
Section titled “Practical usage guidance”- Use
wiki search+wiki getwhen provenance and page identity matter. - Use
wiki applyinstead of hand-editing managed generated sections. - Use
wiki lintbefore trusting contradictory or low-confidence content. - Use
wiki compileafter bulk imports or source changes when you want fresh dashboards and compiled digests immediately. - Use
wiki bridge importwhen bridge mode depends on newly exported memory artifacts.
Configuration tie-ins
Section titled “Configuration tie-ins”openclaw wiki behavior is shaped by:
plugins.entries.memory-wiki.config.vaultModeplugins.entries.memory-wiki.config.search.backendplugins.entries.memory-wiki.config.search.corpusplugins.entries.memory-wiki.config.bridge.*plugins.entries.memory-wiki.config.obsidian.*plugins.entries.memory-wiki.config.render.*plugins.entries.memory-wiki.config.context.includeCompiledDigestPrompt
See Memory Wiki plugin for the full config model.