An advanced, UI-powered AI second brain Agent Skill for OpenClaw, Hermes Agent, WorkBuddy, TRAE, and QClaw. ZhiGui uses long-term memory to help you make better decisions, automatically plan tomorrow, resolve conflicting notes, and deliver each day's plan through your existing agent channels.
# Add to your Claude Code skills
git clone https://github.com/CarlWangChina/zhigui-openclaw-ui-second-brain-skillGuides for using ai agents skills like zhigui-openclaw-ui-second-brain-skill.
zhigui-openclaw-ui-second-brain-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by CarlWangChina. An advanced, UI-powered AI second brain Agent Skill for OpenClaw, Hermes Agent, WorkBuddy, TRAE, and QClaw. ZhiGui uses long-term memory to help you make better decisions, automatically plan tomorrow, resolve conflicting notes, and deliver each day's plan through your existing agent channels. It has 62 GitHub stars.
zhigui-openclaw-ui-second-brain-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/CarlWangChina/zhigui-openclaw-ui-second-brain-skill" and add it to your Claude Code skills directory (see the Installation section above).
zhigui-openclaw-ui-second-brain-skill is primarily written in JavaScript. It is open-source under CarlWangChina on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zhigui-openclaw-ui-second-brain-skill against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A conversation-awakened personal assistant system — your Second Brain as an MCP Skill.
ZhiGui (知归, meaning "knowing where to return") is not another to-do list app. It is a personal intelligence system that combines a JSON-file-driven knowledge graph with a desktop visualization panel, connected to any MCP-capable AI assistant.
It does not run in the background or push notifications. Instead, every time you start a conversation with your AI assistant, ZhiGui loads a compact Bootstrap index of your entire context — goals, schedules, notes, decisions, relationships — and uses it to provide decision-making and planning advice: what to prioritize, what can be deferred, what is approaching its deadline, and which actions offer the best return on effort.
ZhiGui's design draws inspiration from three classic archetypes:
| Role | What it does |
|---|---|
| Secretary | Gives you the full picture at a glance — today's schedule, overdue tasks, goals in progress, morning briefings, and daily reflections. |
| Butler | Quietly manages everything behind the scenes — note archiving, topic classification, action tracking, decision recording. You never worry about where data is stored. |
| Mentor | a wise mentor hidden in your consciousness. Based on the information you provide, he helps you make decisions and plans: what to do first, what to do later, which task offers the best ROI, which can be deferred, and which is approaching its deadline and must be started now. He also warns you about what not to do, which goals are fantasy, and which decisions plant hidden risks. |
All three roles are driven by the same underlying knowledge graph: notes, goals, decisions, and schedules are interlinked through foreign keys (topicId, noteIds, goalId, decisionIds), forming a traceable memory network.
SKILL.md to design your own assistant personality, behavior rules, and operational preferences.Download the ZIP from GitHub and extract it to any directory:
https://github.com/CarlWangChina/zhigui-openclaw-ui-second-brain-skill
Extract to, for example, D:\ZhiGui. The directory structure:
ZhiGui/
├── start.bat ← Windows one-click launcher
├── start.sh ← macOS/Linux launcher
├── skill/ ← Skill core package
│ ├── engine/ ← MCP engine + business logic
│ ├── dashboard/ ← Web panel (server.js + public/)
│ ├── electron/ ← Electron desktop shell
│ ├── lib/ ← Configuration & data initialization
│ ├── scripts/ ← Install & seed scripts
│ ├── test/ ← Test suites
│ ├── SKILL.md ← AI skill protocol document
│ ├── config.json ← Engine configuration
│ ├── mcp-config-template.json ← MCP config template
│ └── package.json ← Dependency declaration
├── zhigui-user-manual/ ← Chinese user manual (HTML + PDF)
├── zhigui-user-manual-en/ ← English user manual (HTML + PDF)
├── package.json ← Electron dependencies
└── README.md
Mainstream AI tools (such as Trae, Cursor, Claude Desktop, etc.) support uploading Skills via their settings page. Upload the project's skill/ directory or the SKILL.md file within it.
Open your AI tool's MCP configuration and add:
{
"mcpServers": {
"zhigui": {
"command": "node",
"args": ["D:/ZhiGui/skill/engine/server.js"]
}
}
}
Replace D:/ZhiGui/skill/engine/server.js with your actual path. Use forward slashes / in JSON to avoid escaping issues.
Verify: Start a conversation and say "Show me today's schedule." If the AI calls zhigui_get_assistant_bootstrap and returns data, the configuration is successful.
# Windows
start.bat
# macOS / Linux
./start.sh
The first launch auto-installs dependencies (npm install, Electron binary) and initializes the data directory. A narrow panel window will appear on the right side of your desktop.
To run the web panel only (without Electron):
cd skill
node dashboard/server.js
# Open http://localhost:7788
To load demo data for a quick walkthrough:
cd skill
node scripts/seed-demo-data.js # Chinese demo data
node scripts/seed-demo-data-en.js # English demo data
User panel actions ─┐
├─→ Unified Actions / Linked entities / Activity log
AI conversations ─┘ │
▼
Next conversation reads Bootstrap
│
On-demand: goals, notes, dates, decisions
│
Form suggestions / Update status / Create follow-ups
The panel lets you directly view and manipulate data. MCP lets the AI read, reason, and write. They are not substitutes for each other — they share the same data layer, synchronized in real time via file watching (fs.watch).
User ←→ AI Assistant (Trae / Claude Desktop / Cursor / Codex / OpenClaw / etc.)
↕ MCP Protocol
ZhiGui Engine (server.js)
↕ JSON File Read/Write
.zhigui/ Data Directory
↕ fs.watch File Watching
Electron Panel (main.js)
↕ IPC Communication
Frontend UI (dashboard.js)
Detailed installation guides, UI panel feature walkthroughs, and usage examples are available in both languages:
| Language | HTML | Location | |
|---|---|---|---|
| Chinese | zhigui-user-manual/zhigui-user-manual.html |
zhigui-user-manual/zhigui-user-manual.pdf |
Open |
| English | zhigui-user-manual-en/zhigui-user-manual-en.html |
zhigui-user-manual-en/zhigui-user-manual-en.pdf |
Open |
Each manual covers: product overview, three-step installation, MCP configuration, UI panel features, core intelligence (auto-linking, tiered indexing, long-term memory, SKILL.md customization), usage examples, and FAQ.
npm.cmd test
Data is stored in skill/.zhigui/ by default. Demo data is for demonstrating relationships, completion, reflection, and follow-up flows only.
For the full AI behavior specification, see skill/SKILL.md.
Deletion is irreversible — both the panel and AI preview the impact first, wait for confirmation, and clean up broken references through the unified command layer. Entities (notes, goals, decisions) have automatic lifecycle states: Active → Stale (30 days unreferenced) → Archive Candidate (long-term inactive). The reflection engine only flags candidates; it never auto-deletes. Cleanup requires explicit user confirmation.