Install
openclaw skills install @wzdavid/thinkwikiUse this skill when the user wants to create, maintain, query, or visualize a local Markdown knowledge base. ThinkWiki can initialize a wiki, import files or webpages, collect inbox items, answer from existing knowledge, save higher-value outputs, and generate HTML viewer and graph artifacts.
openclaw skills install @wzdavid/thinkwikiThinkWiki is a single public skill for working with a local Markdown knowledge base.
query, synthesis, decision, or concept pages.Remote AI features are disabled by default. Configure only what you need.
crystallize, digest)Requires all three variables. Any OpenAI-compatible chat completion endpoint works.
| Variable | Required | Used By | Notes |
|---|---|---|---|
THINKWIKI_LLM_API_KEY | Yes, to enable | llm_client.py | API key for the configured LLM provider |
THINKWIKI_LLM_BASE_URL | Yes, to enable | llm_client.py | Chat completions URL |
THINKWIKI_LLM_MODEL | Yes, to enable | llm_client.py | Model name |
THINKWIKI_LLM_TEMPERATURE | No | llm_client.py | Optional temperature override |
Without a complete LLM configuration, crystallize and digest use local heuristics only.
entity-merge-review, graph-report, health)Enabled when THINKWIKI_EMBED_API_KEY is set. Defaults to SiliconFlow BGE-M3.
| Variable | Required | Used By | Notes |
|---|---|---|---|
THINKWIKI_EMBED_API_KEY | Yes, to enable | embed_client.py | API key for the embedding provider |
THINKWIKI_EMBED_BASE_URL | No | embed_client.py | Default https://api.siliconflow.cn/v1/embeddings |
THINKWIKI_EMBED_MODEL | No | embed_client.py | Default BAAI/bge-m3 |
.wiki-schema.md, treat that directory as the wiki root.init.When you need to invoke ThinkWiki, use the unified entry:
<python-command> scripts/thinkwiki <command> ...
Platform note:
<python-command> is usually python3.<python-command> is usually python.initbootstrapconvertingestclipinboxaskcorrectquerycrystallize or digestgraphgraph-reportentity-merge-reviewentity-merge-applyservehealthstatusdoctorThinkWiki HTML pages are static files under <wiki-root>/output/. Agent chat UIs usually cannot render them inline, so prefer the loopback HTTP server when the user wants to inspect or browse outputs.
Default workflow:
<python-command> scripts/thinkwiki serve --root <wiki-root>
This serves <wiki-root>/output/ at http://127.0.0.1:8765/ by default.
Useful URLs:
http://127.0.0.1:8765/index.htmlhttp://127.0.0.1:8765/inbox/index.htmlhttp://127.0.0.1:8765/viewer/index.htmlhttp://127.0.0.1:8765/graph/index.htmlhttp://127.0.0.1:8765/graph/report.htmlOpenClaw integration:
viewer, graph, inbox, or graph-report, run serve when the user wants to browse the results.openclaw browser profile.serve process is not practical in the current session, run serve --print-urls and tell the user to start serve locally, then open the printed workspace URL.output/index.html.serve and return the loopback HTTP URLs instead of only file:// paths.serve, give the user the workspace home URL first (http://127.0.0.1:8765/index.html by default) and, in OpenClaw, offer to open it with openclaw browser --browser-profile openclaw open <url>.serve --print-urls to show the URLs and ask the user to start serve in a local terminal or background job.output/graph/report.html.output/graph/entity-merge-review.html.output/graph/entity-merge-plan.html.