ThinkWiki
LLM wiki kit
First committed by wzdavid
Published in wzdavid/ThinkWiki. Publisher page
38 GitHub stars
What it is
Install once, talk to your agent. ThinkWiki turns documents and notes into a local Markdown wiki with inbox review, content knowledge graph, and browsable HTML workspace.
AutoGineer overview, from the brain’s own files
ThinkWiki is an agent-native skill designed to turn scattered information into a structured, durable local workspace. By integrating directly with skills-compatible AI agents, it allows users to manage their knowledge base through natural conversation rather than manual CLI commands. It supports a wide range of input formats, including PDFs, web pages, and various document types, organizing them into a system that features an inbox for review, a local viewer, and an interactive content knowledge graph. The system is built to be local-first, ensuring that Markdown files remain the source of truth, while providing HTML-based interfaces for visualizing relationships between topics, entities, and claims.
How it works
Memory model: LLM wiki
AutoGineer overview, from the brain’s own files
ThinkWiki functions as a skill installed into an AI agent's environment. It uses a set of Python scripts to manage a local directory of Markdown files. The system processes inputs through an inbox workflow, where content is reviewed before being ingested into the wiki. It generates a series of HTML outputs, including a workspace home, an inbox console, a page viewer, and a graph explorer. Users interact with these features by asking their agent to perform tasks like clipping content, building the knowledge graph, or serving the workspace via a local loopback server.
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 1 |
| docs | docs | 41 |
| scripts | scripts | 34 |
| templates | templates | 13 |
| tests | tests | 1 |
The agent reads
- SKILL.md evidence: README.md
Requirements
Runtimes: Python
API keys (by name): THINKWIKI_EMBED_API_KEY, THINKWIKI_LLM_API_KEY
Set it up
Clone the repository at the commit AutoGineer scanned:
git clone https://github.com/wzdavid/ThinkWiki.git && cd ThinkWiki && git checkout 89f477d7a4095ba2ecf49ef9332e240c6f1208a1cd ThinkWiki && claude
AutoGineer scanned these files at commit 89f477d.
- Not scanned by AutoGineerThe author’s README also describes installing it from a clone of its repository. Read its install section: AutoGineer did not scan that path. https://github.com/wzdavid/ThinkWiki/blob/89f477d7a4095ba2ecf49ef9332e240c6f1208a1/README.md#manual-install-optional
First committed by wzdavid. Published in wzdavid/ThinkWiki. Licence: MIT License.
Usage
AutoGineer overview, from the brain’s own files
- Initialize a new local wiki workspace
- Clip web pages, files, or text into an inbox for later processing
- Ingest reviewed items into the permanent wiki structure
- Query the wiki for information with evidence-based responses
- Generate and visualize a content knowledge graph
- Serve the wiki workspace as a local HTML site for browser-based navigation
- “Create a local knowledge base named Research Notes in my workspace.”
- The agent initializes a new ThinkWiki workspace structure in the specified directory.
- “Clip this article into the inbox: https://example.com/article”
- The agent saves the content of the URL into the ThinkWiki inbox for later review.
- “What did we already decide about context budgets?”
- The agent searches the existing wiki pages and provides an answer supported by evidence from the knowledge base.
- “Build the knowledge graph and open the workspace home in my browser.”
- The agent generates the graph visualization and starts the local server to display the workspace in the browser.
Documentation by wzdavid
ThinkWiki
Image: Release Image: License Image: Python
ThinkWiki is an agent-native local knowledge base skill. Talk to your agent to turn scattered documents, web pages, notes, and conversations into a durable Markdown workspace — with inbox review, local browsing, and an interactive content knowledge graph you can open in a browser.
Chinese version: README.zh.md
Repository: https://github.com/wzdavid/ThinkWiki
Works With Skills-Compatible Agents
ThinkWiki follows the open Agent Skills format (SKILL.md + bundled scripts). If your agent can install skills and run local commands, it can run ThinkWiki.
You do not need to memorize CLI commands. Install the skill once, then create and manage your wiki entirely through conversation.
| Agent / Host | Typical use |
|---|---|
| Claude Code | Install the repo as a skill, then ask it to build and query your wiki |
| OpenClaw | Full skill workflow; use serve + the built-in browser to open HTML outputs |
| Trae | Install under .trae/skills, then manage the wiki in chat |
| Hermes Agent | Local skill directory + shell execution |
| OpenAI Codex / Codex CLI | Skills-compatible coding agents with local file access |
| Cursor | Agent mode with project skills |
| Gemini CLI | Skills-compatible CLI agent |
| GitHub Copilot | Agent / coding workflows in VS Code that support skills |
| Other skills hosts | Any product that loads SKILL.md and can run python3 scripts/thinkwiki ... locally |
Requirement: a local environment with Python 3. ThinkWiki bootstraps its own runtime on first use. Pure cloud chat without local file or shell access cannot run a local wiki.
Get Started: Install Through Conversation
Point your agent at this repository and ask it to install the skill for you.
Example prompt:
Please install the ThinkWiki skill from https://github.com/wzdavid/ThinkWiki , bootstrap the runtime, and run a health check to confirm everything works on my machine.
The agent will typically clone or copy the skill into your host's skills directory, run bootstrap, and verify capabilities with doctor. You should not need to run those steps yourself unless you prefer manual setup.
After installation, start using it immediately:
Create a local knowledge base named
My Wikiin my workspace.
Clip this article into the inbox first:
https://example.com/article
Import this PDF into the wiki:
/path/to/file.pdf
Answer from my wiki: what did we already decide about context budgets?
Build the knowledge graph and open the workspace home in my browser.
The agent reads SKILL.md, maps your intent to stable ThinkWiki actions, and reports what changed — including paths to Markdown pages and HTML outputs.
Why ThinkWiki
Agent-first: users talk to an agent, not to a long list of commands.
Local-first: Markdown files remain the source of truth on your machine.
HTML-first: inbox, viewer, graph, and governance pages are real browsable workspaces.
Knowledge-first: the graph is a content knowledge graph — topics, concepts, entities, claims, and governance — not just a file-link map.
What It Produces
ThinkWiki generates a workspace that includes:
output/index.html: unified workspace homeoutput/inbox/index.html: inbox review consoleoutput/viewer/index.html: local page browseroutput/graph/index.html: interactive graph exploreroutput/graph/report.html: graph governance reportoutput/graph/entity-merge-review.html: entity merge review pageoutput/graph/entity-merge-plan.html: entity merge dry-run preview when requested
Preview
Workspace Home (output/index.html)
The unified workspace home summarizes recent changes, recommended next actions, inbox backlog, and a graph snapshot so you can decide whether to read, ingest, or explore.
Image: ThinkWiki workspace home preview
Inbox Review (output/inbox/index.html)
Review clipped web pages, files, and notes before formal ingest. Items are grouped into ready, review, and weak so you can process the highest-value captures first.
Image: ThinkWiki inbox review preview
Local Viewer (output/viewer/index.html)
Browse the entire wiki by page type, confidence, and status. Open any page directly in the viewer without leaving the local HTML workspace.
Image: ThinkWiki local viewer preview
Knowledge Graph (output/graph/index.html)
Explore the content knowledge graph interactively. Switch between knowledge, document, and suggested views to inspect semantic relations and candidate edges.
Image: ThinkWiki knowledge graph preview
Graph Governance Report (output/graph/report.html)
Inspect graph health signals such as isolated pages, hub stubs, fragile bridges, suggested links, and entity merge candidates before making structural changes.
Image: ThinkWiki graph governance report preview
Everyday Commands (In Plain Language)
Once ThinkWiki is installed, these are the kinds of requests users make most often:
| You say | ThinkWiki does |
|---|---|
Create a wiki called Research Notes | Initializes a local workspace |
| Clip / save this URL or file to inbox | Captures content for later review |
| Ingest the ready inbox items | Promotes reviewed captures into wiki pages |
| What does my wiki say about X? | Evidence-first Q&A from existing pages |
| Save this answer as a query page | Persists high-value outputs |
| Show me the knowledge graph | Builds/refreshes graph HTML |
| Review entity merge candidates | Surfaces alias collisions for manual confirmation |
| Open the wiki workspace in my browser | Runs serve and returns http://127.0.0.1:8765/index.html |
Core Capabilities
Initialize a local wiki workspace
Clip web pages, files, or pasted text into an inbox for later review
Import Markdown, PDF, DOCX, XLSX, XLS, PPTX, web pages, and plain text
Answer questions from existing wiki pages with evidence-first behavior
Save high-value outputs as
query,synthesis,decision, orconceptpagesBuild a content knowledge graph with
knowledge,document, andsuggestedviewsGenerate entity governance outputs, including ambiguous alias review and deterministic merge flows
Check runtime health, workspace status, and graph governance state
Content Knowledge Graph
ThinkWiki v1.6.0 builds a schema v2 graph with default_view = knowledge.
The knowledge view can contain:
page-backed nodes such as
source,topic,concept,decision,synthesis,query, andentityclaim nodes extracted from structured wiki content
semantic relations such as
about,belongs_to,depends_on,asserts,supports,contradicts, andsuggests_related_to
This means the graph is not limited to raw file references. It can represent knowledge structure, evidence structure, and entity governance directly.
Browse HTML Outputs
Agent chat UIs usually cannot render ThinkWiki HTML inline. Ask your agent to start the built-in loopback server when you want to inspect inbox, viewer, graph, or governance pages:
Start the ThinkWiki output server and give me the workspace URL.
Or run it yourself:
python3 scripts/thinkwiki serve --root /path/to/my-wikiBy default this serves <wiki-root>/output/ at http://127.0.0.1:8765/. Start from http://127.0.0.1:8765/index.html.
On OpenClaw, after serve is running, the agent can also open the workspace home with:
openclaw browser --browser-profile openclaw open http://127.0.0.1:8765/index.htmlOn other agents, open the same URL in your system browser, or use whatever browser tool the host provides.
Use serve --print-urls when you only need the URL list without starting the server.
Environment Variables
Remote AI features are disabled by default. Configure only what you need:
Content generation (crystallize, digest)
Requires all three variables. Any OpenAI-compatible chat completion endpoint works (MiniMax, OpenAI, DeepSeek, local Ollama, etc.).
| Variable | Required | Purpose |
|---|---|---|
THINKWIKI_LLM_API_KEY | Yes, to enable | API key for the configured LLM provider |
THINKWIKI_LLM_BASE_URL | Yes, to enable | Chat completions URL, e.g. https://api.openai.com/v1/chat/completions |
THINKWIKI_LLM_MODEL | Yes, to enable | Model name, e.g. gpt-4o-mini or MiniMax-M3 |
THINKWIKI_LLM_TEMPERATURE | No | Optional temperature override |
Without a complete LLM configuration, crystallize and digest use local heuristics only.
Entity embedding (entity-merge-review, graph-report, health)
Enabled when THINKWIKI_EMBED_API_KEY is set. Defaults to SiliconFlow BGE-M3; override the endpoint or model if needed.
| Variable | Required | Purpose |
|---|---|---|
THINKWIKI_EMBED_API_KEY | Yes, to enable | API key for the embedding provider |
THINKWIKI_EMBED_BASE_URL | No | Embedding URL(s), comma-separated; default https://api.siliconflow.cn/v1/embeddings |
THINKWIKI_EMBED_MODEL | No | Embedding model; default BAAI/bge-m3 |
Register a free SiliconFlow key at https://siliconflow.cn if you want the default embedding setup.
Manual Install (Optional)
If you prefer to set up the skill yourself instead of asking an agent:
git clone https://github.com/wzdavid/ThinkWiki ThinkWiki
cd ThinkWiki
python3 scripts/thinkwiki bootstrap
python3 scripts/thinkwiki doctor --repo-root .Then install the folder into your agent's skills directory according to that host's documentation.
CLI Reference (For Agents And Power Users)
ThinkWiki keeps one stable entry point that agents call under the hood:
python3 scripts/thinkwiki <command> [args]Common commands: init, clip, ingest, inbox, viewer, graph, graph-report, entity-merge-review, entity-merge-apply, serve, health, status, doctor.
See SKILL.md for the agent behavior contract and intent mapping.
Repository Docs
README.md: concise English project overviewREADME.zh.md: Chinese overviewSKILL.md: skill behavior contract for agent hostsCHANGELOG.md: release history
License
MIT
README.zh.md
ThinkWiki
Image: Release Image: License Image: Python
ThinkWiki 是一个 面向 Agent 的本地知识库 Skill。你只需要和 Agent 对话,就能把网页、文档、笔记和对话持续沉淀成可追溯的 Markdown 知识空间,并生成可在浏览器中打开的 Inbox、浏览页和内容知识图谱。
English version: README.md
代码库:https://github.com/wzdavid/ThinkWiki
适用于支持 Agent Skills 的智能体
ThinkWiki 遵循开放的 Agent Skills 规范(SKILL.md + 脚本目录)。只要你的 Agent 能安装 Skill 并在本机执行命令,就可以使用 ThinkWiki。
你 不需要记住 CLI 命令。安装一次 Skill 之后,创建和管理知识库都可以通过对话完成。
| Agent / 宿主 | 典型用法 |
|---|---|
| Claude Code | 将仓库安装为 Skill,在对话中构建和查询知识库 |
| OpenClaw | 完整 Skill 工作流;可用 serve + 内置 browser 打开 HTML 成果页 |
| Trae | 安装到 .trae/skills,在对话中管理 wiki |
| Hermes Agent | 本地 Skill 目录 + shell 执行 |
| OpenAI Codex / Codex CLI | 支持 Skills 的本地编码 Agent |
| Cursor | Agent 模式 + 项目 Skill |
| Gemini CLI | 支持 Skills 的 CLI Agent |
| GitHub Copilot | VS Code 中支持 Skills 的 Agent / 编码工作流 |
| 其他 Skills 宿主 | 只要能加载 SKILL.md 并在本机运行 python3 scripts/thinkwiki ... |
前提: 本机有 Python 3 环境。ThinkWiki 会在首次使用时自动 bootstrap 运行时。纯云端对话、无法访问本机文件或 shell 的环境无法运行本地知识库。
快速开始:用对话安装
把下面这个代码库地址发给你的 Agent,请它帮你安装并验证环境。
示例说法:
请帮我安装 ThinkWiki 这个 Skill,代码库地址是 https://github.com/wzdavid/ThinkWiki ,完成 bootstrap 并检查一下本机环境是否可用。
Agent 通常会把 Skill 安装到宿主对应的 skills 目录,执行 bootstrap 和 doctor 做自检。一般情况下你不必自己敲这些命令,除非你希望手动安装。
安装完成后,直接开始用:
帮我在工作区创建一个名为
My Wiki的本地知识库。
先把这篇文章收进 inbox:
https://example.com/article
把这个 PDF 导入知识库:
/path/to/file.pdf
根据我的 wiki 回答:我们之前对 context budget 做过什么决定?
生成知识图谱,并在浏览器里打开工作台首页。
Agent 会读取 SKILL.md,把你的意图映射成稳定的 ThinkWiki 动作,并告诉你 Markdown 页面和 HTML 成果页的位置。
为什么用 ThinkWiki
Agent-first: 用户主要通过和 Agent 对话来使用,不需要记很多命令。
Local-first: Markdown 文件仍然是真相源,数据留在本机。
HTML-first: Inbox、Viewer、Graph、Governance 都是可浏览的真实工作界面。
Knowledge-first: 图谱是内容知识图谱,而不只是文件链接图。
会生成什么
ThinkWiki 会生成这些核心成果页:
output/index.html:统一工作台首页output/inbox/index.html:Inbox 复核页output/viewer/index.html:本地浏览页output/graph/index.html:交互式知识图谱页output/graph/report.html:图谱治理报告页output/graph/entity-merge-review.html:实体归并复核页output/graph/entity-merge-plan.html:实体归并 dry-run 预演页
界面预览
工作台首页(output/index.html)
统一工作台首页,汇总最近变更、推荐下一步操作、Inbox 待办和图谱快照,方便你决定先阅读、入库还是进入图谱。
Inbox 复核页(output/inbox/index.html)
在正式 ingest 前复核已采集的网页、文件和笔记。条目按 ready / review / weak 分组,优先处理价值最高的内容。
本地浏览页(output/viewer/index.html)
按页面类型、置信度和状态浏览整个 wiki,可直接在本地 HTML 工作区中打开任意页面阅读。
知识图谱页(output/graph/index.html)
交互式内容知识图谱。可在 knowledge / document / suggested 三种视图间切换,查看语义关系和候选边。
图谱治理报告(output/graph/report.html)
查看孤立页面、高连接薄页、脆弱桥接、建议补链和实体归并候选等图谱健康信号,再决定是否调整知识结构。
日常怎么说(自然语言对照)
安装 ThinkWiki 之后,最常见的用法就是直接说人话:
| 你可以说 | ThinkWiki 会做什么 |
|---|---|
创建一个叫 Research Notes 的知识库 | 初始化本地 wiki 工作区 |
| 把这篇 URL / 文件先收进 inbox | 采集内容,等待复核 |
| 把 ready 的 inbox 条目正式入库 | 生成 wiki 页面 |
| 我的 wiki 里关于 X 是怎么说的? | 基于已有页面做证据优先问答 |
| 把这个回答保存成 query 页 | 沉淀高价值输出 |
| 帮我看看知识图谱 | 构建/刷新图谱 HTML |
| 复核 entity merge 候选 | 展示 alias 冲突,等待确认 |
| 在浏览器里打开 wiki 工作台 | 启动 serve,返回 http://127.0.0.1:8765/index.html |
核心能力
初始化本地 wiki 工作区
先采集到 inbox,再决定是否正式入库
导入 Markdown、PDF、DOCX、XLSX、XLS、PPTX、网页和文本
基于已有知识页做证据优先问答
沉淀
query / synthesis / decision / concept页面生成
knowledge / document / suggested三种图谱视图做 entity alias 冲突复核和确定性归并
检查运行环境、工作区状态和图谱治理状态
内容知识图谱
在 v1.6.0 中,ThinkWiki 默认生成 schema v2 的内容知识图谱,默认视图是 knowledge。
知识图谱里可以包含:
source、topic、concept、decision、synthesis、query、entity等页面节点从结构化内容里抽取出的
claim节点about、belongs_to、depends_on、asserts、supports、contradicts、suggests_related_to等语义关系
因此它已经不是单纯的文件关系图,而是可以表达知识结构、证据结构和实体治理的内容图谱。
浏览 HTML 成果页
Agent 对话界面通常无法直接渲染 ThinkWiki 的 HTML 页面。需要查看 Inbox、Viewer、Graph 或治理报告时,可以直接对 Agent 说:
启动 ThinkWiki 的输出服务,并把工作台 URL 给我。
或自行运行:
python3 scripts/thinkwiki serve --root /path/to/my-wiki默认会在 http://127.0.0.1:8765/ 提供 <wiki-root>/output/ 目录。建议从 http://127.0.0.1:8765/index.html 进入工作台首页。
在 OpenClaw 中,serve 启动后 Agent 也可以用内置 browser 打开:
openclaw browser --browser-profile openclaw open http://127.0.0.1:8765/index.html在其他 Agent 上,用系统浏览器打开同一 URL,或使用宿主提供的 browser 工具即可。
如果只需要 URL 列表、不想启动常驻服务,可使用 serve --print-urls。
环境变量
远程 AI 功能默认全部关闭,按需配置即可。
内容生成(crystallize、digest)
需要同时设置以下三个变量。支持任意 OpenAI 兼容的 chat completions 服务(MiniMax、OpenAI、DeepSeek、本地 Ollama 等)。
| 变量 | 必需 | 用途 |
|---|---|---|
THINKWIKI_LLM_API_KEY | 启用时必需 | LLM 服务商 API key |
THINKWIKI_LLM_BASE_URL | 启用时必需 | Chat completions 地址,如 https://api.openai.com/v1/chat/completions |
THINKWIKI_LLM_MODEL | 启用时必需 | 模型名,如 gpt-4o-mini 或 MiniMax-M3 |
THINKWIKI_LLM_TEMPERATURE | 否 | 可选温度覆盖 |
未完整配置 LLM 时,crystallize 和 digest 仅使用本地启发式算法。
实体嵌入(entity-merge-review、graph-report、health)
设置 THINKWIKI_EMBED_API_KEY 后启用。默认使用硅基流动 BGE-M3,可自行覆盖 endpoint 和模型。
| 变量 | 必需 | 用途 |
|---|---|---|
THINKWIKI_EMBED_API_KEY | 启用时必需 | Embedding 服务商 API key |
THINKWIKI_EMBED_BASE_URL | 否 | Embedding 地址,逗号分隔多个;默认 https://api.siliconflow.cn/v1/embeddings |
THINKWIKI_EMBED_MODEL | 否 | Embedding 模型;默认 BAAI/bge-m3 |
如需默认嵌入方案,可在 https://siliconflow.cn 免费注册 key。
手动安装(可选)
如果你希望自己安装,而不是让 Agent 代劳:
git clone https://github.com/wzdavid/ThinkWiki ThinkWiki
cd ThinkWiki
python3 scripts/thinkwiki bootstrap
python3 scripts/thinkwiki doctor --repo-root .然后按你所用 Agent 的文档,把该目录安装到对应的 skills 目录中。
CLI 参考(给 Agent 和进阶用户)
ThinkWiki 在底层保持一个统一入口,Agent 会在背后调用它:
python3 scripts/thinkwiki <command> [args]常见命令:init、clip、ingest、inbox、viewer、graph、graph-report、entity-merge-review、entity-merge-apply、serve、health、status、doctor。
完整意图映射见 SKILL.md。
仓库文档
README.md:英文项目总览README.zh.md:中文说明SKILL.md:面向 Agent 宿主的 skill 约定CHANGELOG.md:版本记录
License
MIT
98 files · 5 not served here
- .github/workflows/cross-platform.yml
- .gitignore
- ATTRIBUTION.md
- CHANGELOG.md
- LICENSE
- README.md
- README.zh.md
- SKILL.md
- docs/assets/graph-preview.png (not served here)
- docs/assets/graph-report-preview.png (not served here)
- docs/assets/inbox-preview.png (not served here)
- docs/assets/output-hub-preview.png (not served here)
- docs/assets/viewer-preview.png (not served here)
- docs/demo-wiki/.wiki-schema.md
- docs/demo-wiki/index.md
- docs/demo-wiki/log.md
- docs/demo-wiki/normalized/articles/eval-loops.md
- docs/demo-wiki/normalized/articles/platform-spec.md
- docs/demo-wiki/normalized/articles/review-checklist.md
- docs/demo-wiki/normalized/assets/inbox/2026-06-20-team-retrospective/cover.txt
- docs/demo-wiki/normalized/inbox/2026-06-20-team-retrospective.json
- docs/demo-wiki/normalized/inbox/2026-06-20-team-retrospective.md
- docs/demo-wiki/output/graph/graph.json
- docs/demo-wiki/output/graph/graph.md
- docs/demo-wiki/output/graph/index.html
- docs/demo-wiki/output/graph/report.html
- docs/demo-wiki/output/graph/report.json
- docs/demo-wiki/output/graph/report.md
- docs/demo-wiki/output/inbox/index.html
- docs/demo-wiki/output/index.html
- docs/demo-wiki/output/viewer/index.html
- docs/demo-wiki/output/viewer/viewer.json
- docs/demo-wiki/overview.md
- docs/demo-wiki/purpose.md
- docs/demo-wiki/raw/articles/eval-loops.md
- docs/demo-wiki/raw/articles/platform-spec.md
- docs/demo-wiki/raw/articles/review-checklist.md
- docs/demo-wiki/raw/inbox/2026-06-20-team-retrospective.md
- docs/demo-wiki/wiki/concepts/ai-native-team.md
- docs/demo-wiki/wiki/concepts/execution-spec.md
- docs/demo-wiki/wiki/decisions/context-budget.md
- docs/demo-wiki/wiki/decisions/execution-policy.md
- docs/demo-wiki/wiki/queries/what-makes-ai-native-team.md
- docs/demo-wiki/wiki/sources/eval-loops.md
- docs/demo-wiki/wiki/sources/platform-spec.md
- docs/demo-wiki/wiki/sources/review-checklist.md
- docs/demo-wiki/wiki/syntheses/delivery-system.md
- docs/demo-wiki/wiki/topics/eval-loops.md
- docs/demo-wiki/wiki/topics/model-platform.md
- requirements.txt
- scripts/ai_config.py
- scripts/ask.py
- scripts/batch_clip.py
- scripts/batch_ingest.py
- scripts/bootstrap_runtime.py
- scripts/build_demo_wiki.py
- scripts/build_graph.py
- scripts/build_inbox.py
- scripts/build_viewer.py
- scripts/capture_readme_screenshots.py
- scripts/clip.py
- scripts/convert_source.py
- scripts/correct.py
- scripts/crystallize.py
- scripts/digest.py
- scripts/doctor.py
- scripts/embed_client.py
- scripts/entity_merge_apply.py
- scripts/entity_merge_review.py
- scripts/graph_report.py
- scripts/health.py
- scripts/ingest.py
- scripts/init_wiki.py
- scripts/lint_wiki.py
- scripts/llm_client.py
- scripts/query_wiki.py
- scripts/rebuild_index.py
- scripts/runtime_capabilities.py
- scripts/serve_outputs.py
- scripts/status.py
- scripts/thinkwiki
- scripts/url_safety.py
- scripts/utils.py
- scripts/workspace_status.py
- templates/pages/concept.md
- templates/pages/decision.md
- templates/pages/entity.md
- templates/pages/query.md
- templates/pages/source.md
- templates/pages/synthesis.md
- templates/pages/topic.md
- templates/root/.wiki-schema.md
- templates/root/AGENTS.md
- templates/root/index.md
- templates/root/log.md
- templates/root/overview.md
- templates/root/purpose.md
- tests/test_thinkwiki.py
Advantages
- Enables natural language management of a knowledge base without requiring the user to memorize complex CLI commands. evidence: README.md
- Maintains Markdown files as the local source of truth, ensuring data portability and ownership. evidence: README.md
- Provides a rich, interactive content knowledge graph that maps semantic relations like claims and entities rather than just file links. evidence: README.md
Limitations
- Requires a local environment with Python 3 and cannot function in pure cloud-based chat environments without local file or shell access. evidence: README.md
- Agent chat UIs typically cannot render the generated HTML interfaces inline, requiring the use of a separate browser or a local loopback server. evidence: README.md
Security
Risk level: No risk found
This brain runs
Agent instructions that run or fetch something (5)
SKILL.md:If the user wants a new workspace, run `init`.SKILL.md:After `viewer`, `graph`, `inbox`, or `graph-report`, run `serve` when the user wants to browse the results.SKILL.md:If a long-running `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.SKILL.md:After starting `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>`.· uses the networkSKILL.md:If the host cannot keep a long-running process alive, run `serve --print-urls` to show the URLs and ask the user to start `serve` in a local terminal or background job.
Attribution and licence
- First committed by
wzdavid
- Publisher
- Wei Zhang (Community)
- Source
- wzdavid/ThinkWiki · commit 89f477d
- Licence
- MIT License (files served here)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- wzdavid
AutoGineer is not affiliated with or endorsed by wzdavid.
Install from source
5 of its files are not served here, so there is no ZIP. wzdavid/ThinkWiki at 89f477d