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
scripts/lint_wiki.py
Shown as plain text.
#!/usr/bin/env python3
from __future__ import annotations
"""
ThinkWiki Script: lint_wiki
Purpose:
- Run structural and link checks across the current wiki contents.
Usage:
- Prefer `python scripts/thinkwiki lint ...`.
- Run `python scripts/<script> --help` for direct CLI details when the file exposes its own arguments.
"""
import argparse
import re
from datetime import date
from pathlib import Path
from urllib import error, request
import rebuild_index
from utils import REQUIRED_FIELDS, append_log, collect_wiki_pages, extract_summary, find_repo_root, is_external_link, markdown_links, parse_frontmatter, read_text, today_str, write_text
SUMMARY_PLACEHOLDERS = {
"",
"(no summary)",
"Imported source. Refine this summary with the agent.",
}
SUMMARY_NOISE_HINTS = (
"<ama-doc>",
"文件编号",
"文档版本",
"修订页",
"研究问题",
"作者:",
"日期:",
"日期:",
)
CONTINUATION_ENDINGS = tuple("的了和与及并而按把将向在于为是小会度案等其")
TERMINAL_PUNCTUATION = ("。", "!", "?", ".", "!", "?")
BAD_TRAILING_PUNCTUATION = (":", ":", ";", ";", ",", ",", "、", "(", "(")
LOW_CONFIDENCE = {"mixed", "inferred", ""}
ARCHIVEABLE_STATUS = {"active", "stale", ""}
PLACEHOLDER_PATTERNS = [
re.compile(r"\bnone yet\b", re.IGNORECASE),
re.compile(r"\btodo\b", re.IGNORECASE),
re.compile(r"\bwhat should this source update\b", re.IGNORECASE),
re.compile(r"\bno relevant pages found\b", re.IGNORECASE),
]
PLACEHOLDER_LINE_PATTERNS = [
re.compile(r"^(?:[-*]\s*)?none yet\s*$", re.IGNORECASE),
re.compile(r"^(?:[-*]\s*)?todo(?:[:\s].*)?$", re.IGNORECASE),
re.compile(r"^(?:[-*]\s*)?what should this source update.*$", re.IGNORECASE),
re.compile(r"^(?:[-*]\s*)?no relevant pages found.*$", re.IGNORECASE),
]
def parse_iso_date(raw: str) -> date | None:
value = raw.strip()
if not value:
return None
try:
return date.fromisoformat(value[:10])
except ValueError:
return None
def normalized_summary(summary: str) -> str:
return " ".join(summary.strip().split())
def weak_summary_reason(summary: str) -> str | None:
clean = normalized_summary(summary)
lowered = clean.lower()
if clean in SUMMARY_PLACEHOLDERS or len(clean) < 12:
return "is missing or too short"
if any(hint in lowered for hint in SUMMARY_NOISE_HINTS):
return "contains likely metadata or noise"
if clean.endswith(BAD_TRAILING_PUNCTUATION):
return "ends with dangling punctuation"
if re.search(r"\d+$", clean):
return "appears truncated at a trailing number"
if len(clean) >= 36 and not clean.endswith(TERMINAL_PUNCTUATION):
return "looks incomplete because it lacks terminal punctuation"
if len(clean) >= 24 and clean[-1] in CONTINUATION_ENDINGS:
return "looks incomplete because it ends mid-sentence"
if re.search(r"(?:^|\s)(?:\d+(?:\.\d+)+|[一二三四五六七八九十]+、)\s*[\u4e00-\u9fffA-Za-z]{0,20}$", clean):
return "looks like a section heading fragment"
return None
def is_weak_summary(summary: str) -> bool:
return weak_summary_reason(summary) is not None
def is_weak_source_list(raw_sources: object) -> bool:
if not isinstance(raw_sources, list):
return True
meaningful = [str(item).strip() for item in raw_sources if str(item).strip()]
if not meaningful:
return True
return all(item in {"log.md", "index.md"} for item in meaningful)
def has_placeholder_content(body: str) -> bool:
compact = " ".join(body.split())
return any(pattern.search(compact) for pattern in PLACEHOLDER_PATTERNS)
def companion_normalized_path(root: Path, page: Path, meta: dict[str, object]) -> Path | None:
if page.parent.name != "sources":
return None
raw_sources = meta.get("sources", [])
if not isinstance(raw_sources, list) or not raw_sources:
return None
raw_path = Path(str(raw_sources[0]))
if len(raw_path.parts) < 3 or raw_path.parts[0] != "raw":
return None
return root / Path("normalized", *raw_path.parts[1:]).with_suffix(".md")
def is_placeholder_line(text: str) -> bool:
compact = text.strip()
if not compact:
return False
return any(pattern.match(compact) for pattern in PLACEHOLDER_LINE_PATTERNS)
def rebuild_page_text(text: str, body_lines: list[str]) -> str:
split = text.split("\n---\n", 1)
if text.startswith("---\n") and len(split) == 2:
return f"{split[0]}\n---\n" + "\n".join(body_lines).rstrip() + "\n"
return "\n".join(body_lines).rstrip() + "\n"
def clean_page_body(page: Path) -> tuple[bool, str]:
text = read_text(page)
if not text:
return False, text
_meta, body = parse_frontmatter(text)
lines = body.splitlines()
cleaned: list[str] = []
changed = False
seen_in_section: set[tuple[str, str]] = set()
current_section = ""
page_resolved = page.resolve()
pending_blank = False
for line in lines:
stripped = line.strip()
if stripped.startswith("## "):
current_section = stripped[3:].strip()
seen_in_section = set()
if cleaned and cleaned[-1].strip():
cleaned.append("")
cleaned.append(line)
pending_blank = False
continue
if is_placeholder_line(stripped):
changed = True
continue
if not stripped:
if not cleaned or not cleaned[-1].strip():
changed = True
continue
pending_blank = True
continue
if stripped.startswith("- [") and "](" in stripped:
links = markdown_links(stripped)
if links:
target = links[0]
if not is_external_link(target):
resolved = (page.parent / target).resolve()
if resolved == page_resolved:
changed = True
continue
key = (current_section, resolved.as_posix())
if key in seen_in_section:
changed = True
continue
seen_in_section.add(key)
if pending_blank and cleaned and cleaned[-1].strip():
cleaned.append("")
pending_blank = False
cleaned.append(line)
while cleaned and not cleaned[-1].strip():
cleaned.pop()
changed = True
updated = rebuild_page_text(text, cleaned)
if not changed and updated == text:
return False, text
return True, updated
def check_external_link(url: str, timeout: float) -> str | None:
headers = {"User-Agent": "thinkwiki-lint/1.0"}
try:
req = request.Request(url, headers=headers, method="HEAD")
with request.urlopen(req, timeout=timeout) as response:
status = getattr(response, "status", 200)
if status >= 400:
return f"HTTP {status}"
return None
except error.HTTPError as exc:
if exc.code in {405, 501}:
try:
req = request.Request(url, headers=headers, method="GET")
with request.urlopen(req, timeout=timeout) as response:
status = getattr(response, "status", 200)
if status >= 400:
return f"HTTP {status}"
return None
except Exception as fallback_exc: # pragma: no cover - network variance
return str(fallback_exc)
return f"HTTP {exc.code}"
except Exception as exc: # pragma: no cover - network variance
return str(exc)
def main() -> int:
parser = argparse.ArgumentParser(description="Lint the wiki structure and links.")
parser.add_argument("--root", default=".", help="Wiki root path")
parser.add_argument("--fix", action="store_true", help="Rebuild index before reporting")
parser.add_argument("--stale-days", type=int, default=90, help="Age in days before a page is treated as stale")
parser.add_argument("--check-external-links", action="store_true", help="Validate external links with HTTP requests")
parser.add_argument("--external-timeout", type=float, default=5.0, help="Timeout in seconds for external link checks")
args = parser.parse_args()
root = find_repo_root(Path(args.root))
if args.fix:
write_text(root / "index.md", rebuild_index.build_index(root))
pages = collect_wiki_pages(root)
page_paths = {page.resolve() for page in pages}
inbound: dict[Path, int] = {}
issues: list[str] = []
titles: dict[str, list[str]] = {}
checked_external: set[str] = set()
fixed_pages: list[str] = []
if args.fix:
for page in pages:
changed, updated = clean_page_body(page)
if changed:
write_text(page, updated)
fixed_pages.append(page.relative_to(root).as_posix())
for page in pages:
meta, body = parse_frontmatter(read_text(page))
missing = [field for field in REQUIRED_FIELDS if field not in meta]
if missing:
issues.append(f"[frontmatter] {page.relative_to(root)} missing: {', '.join(missing)}")
title = str(meta.get("title") or page.stem).strip()
titles.setdefault(title.casefold(), []).append(page.relative_to(root).as_posix())
summary = extract_summary(meta, body)
weak_reason = weak_summary_reason(summary)
if weak_reason:
issues.append(f"[weak-summary] {page.relative_to(root)} summary {weak_reason}")
raw_sources = meta.get("sources", [])
if is_weak_source_list(raw_sources):
issues.append(f"[weak-source] {page.relative_to(root)} has no meaningful source paths")
companion_path = companion_normalized_path(root, page, meta)
if companion_path is not None and not companion_path.exists():
issues.append(f"[missing-normalized] {page.relative_to(root)} missing companion {companion_path.relative_to(root)}")
if has_placeholder_content(body):
issues.append(f"[placeholder-content] {page.relative_to(root)} still contains placeholder text")
confidence = str(meta.get("confidence") or "").strip().lower()
status = str(meta.get("status") or "").strip().lower()
updated = str(meta.get("updated") or meta.get("created") or "")
updated_date = parse_iso_date(updated)
if updated_date is None:
issues.append(f"[invalid-date] {page.relative_to(root)} has invalid updated date: {updated or 'missing'}")
else:
age_days = max((date.today() - updated_date).days, 0)
if age_days > args.stale_days and status not in {"stale", "archived", "superseded"}:
issues.append(f"[stale] {page.relative_to(root)} has not been updated for {age_days} days")
if age_days > args.stale_days * 2 and confidence in LOW_CONFIDENCE and status in ARCHIVEABLE_STATUS:
issues.append(f"[archive-candidate] {page.relative_to(root)} is old and low-confidence; consider archiving or revalidating")
for link in markdown_links(body):
if is_external_link(link):
if args.check_external_links and link not in checked_external:
checked_external.add(link)
error_message = check_external_link(link, timeout=args.external_timeout)
if error_message:
issues.append(f"[broken-external-link] {page.relative_to(root)} -> {link} ({error_message})")
continue
target = (page.parent / link).resolve()
if target.suffix != ".md":
continue
if target == page.resolve():
issues.append(f"[self-link] {page.relative_to(root)} links to itself")
inbound[target] = inbound.get(target, 0) + 1
if target not in page_paths and not target.exists():
issues.append(f"[broken-link] {page.relative_to(root)} -> {link}")
section_seen: set[tuple[str, str]] = set()
current_section = ""
for raw_line in body.splitlines():
stripped = raw_line.strip()
if stripped.startswith("## "):
current_section = stripped[3:].strip()
section_seen = set()
continue
if not stripped.startswith("- [") or "](" not in stripped:
continue
links = markdown_links(stripped)
if not links:
continue
target = links[0]
if is_external_link(target):
continue
resolved = (page.parent / target).resolve().as_posix()
key = (current_section, resolved)
if key in section_seen:
issues.append(f"[duplicate-link] {page.relative_to(root)} repeats {target} in section {current_section or 'Overview'}")
continue
section_seen.add(key)
for page in pages:
if inbound.get(page.resolve(), 0) == 0 and page.parent.name != "sources":
issues.append(f"[orphan] {page.relative_to(root)} has no inbound wiki links")
for _normalized_title, paths in sorted(titles.items()):
if len(paths) > 1:
issues.append(f"[duplicate-title] {', '.join(paths)}")
report_lines = ["# Lint Report", "", f"- Date: {today_str()}", f"- Issues: {len(issues)}", ""]
if fixed_pages:
report_lines.extend([f"- Auto-fixed: {len(fixed_pages)} page(s)", *[f" - {item}" for item in fixed_pages], ""])
if issues:
report_lines.extend(f"- {item}" for item in issues)
else:
report_lines.append("- No issues found")
report_path = root / "output" / "exports" / "lint-report.md"
write_text(report_path, "\n".join(report_lines))
append_log(root, f"[{today_str()}] lint | {len(issues)} issues", [f"- report: {report_path.relative_to(root).as_posix()}"])
print("\n".join(report_lines))
return 0 if not issues else 1
if __name__ == "__main__":
raise SystemExit(main())
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