by ChatLab
Local-first chat history analyzer with AI. | 本地优先的 AI 聊天记录分析工具
# Add to your Claude Code skills
git clone https://github.com/ChatLab/ChatLabLast scanned: 5/12/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-12T06:37:04.841Z",
"semgrepRan": false,
"npmAuditRan": false,
"pipAuditRan": true
}ChatLab is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ChatLab. Local-first chat history analyzer with AI. | 本地优先的 AI 聊天记录分析工具. It has 6,791 GitHub stars.
Yes. ChatLab passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/ChatLab/ChatLab" and add it to your Claude Code skills directory (see the Installation section above).
ChatLab is primarily written in TypeScript. It is open-source under ChatLab 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 ChatLab against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill
Your chat history, finally yours.
English | 简体中文
Official Website · Docs · Quick Start · Roadmap · Releases
ChatLab is an open-source desktop app for understanding your social conversations. It combines a flexible SQL engine with AI agents so you can explore patterns, ask better questions, and extract insights from chat data, all on your own machine.
Currently supported: WhatsApp, LINE, QQ, Discord, Instagram, Telegram, iMessage, and Google Chat. Coming next: Messenger and KakaoTalk.
New install? Start here: Getting started
Download the installer for your OS from the official website or GitHub Releases, then double-click to install.
Requires Node.js ≥ 20.
npm i chatlab-cli -g
Start ChatLab:
chatlab start # Start API + Web UI, auto-open in browser
chatlab start --no-open # Start API + Web UI, skip auto-open
chatlab start --headless # API only, no Web UI (for scripts / AI Agents)
Common options: --port <port> (default 3110), --host <address>, --token <token>.
To run as a persistent background service (auto-start on login + auto-restart on crash):
chatlab start --daemon # Install as system service (macOS / Linux)
chatlab status # Check service status
chatlab stop # Stop and uninstall service
For a full walkthrough, see the Quick Start guide.
For more previews, please visit the official website: chatlab.fun

ChatLab is a pnpm monorepo built on Electron + Vue 3 + Nuxt UI + Tailwind CSS. Core business logic lives in shared packages (@openchatlab/core, @openchatlab/node-runtime, @openchatlab/tools), consumed by both the desktop app and the CLI service — so they stay in sync.
Data flows in five stages: format detection → stream parsing → local persistence → SQL + AI query → visualization.
For a deep dive, see the architecture documentation.
For complete contributor instructions, see the Development Guide.
# Install dependencies
pnpm install
# Start dev mode — prompts you to choose which app to launch
pnpm dev
Or launch a specific target directly:
pnpm dev:desktop # Electron desktop app
pnpm dev:web # Web frontend + local server
pnpm dev:serve # CLI server only
pnpm docs:dev # Docs site
If Electron encounters exceptions during startup, you can try using electron-fix:
npm install electron-fix -g
electron-fix start
Before using this software, please read the Privacy Policy & User Agreement.
Please follow these principles before submitting a Pull Request:
Thanks to all contributors:
AGPL-3.0 License