by haczen
一个窗口管住 9 种 AI 编程工具的聊天记录:统一浏览/搜索/编辑,会话转生到其它 AI 工具换目录继续聊,零依赖意识上传包 | Unified AI CLI session manager: browse / search / edit / transplant
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/haczen/ai-dialog-manageGuides for using cli tools skills like ai-dialog-manage.
See how ai-dialog-manage compares with popular alternatives.
一个窗口,管住所有 AI 编程工具的聊天记录。
统一浏览 / 搜索 / 编辑 9 种 AI 工具的会话,还能把任意一段对话 **「转生」**到另一种 AI 工具里继续 —— 换工具、换目录,上下文一行不丢。
中文 | English (coming soon)
方式一:下载即用(推荐,Windows 免安装)
到 Releases 下载最新的
AI-Dialog-Manager-vX.X.X.exe,双击运行,无需 Python。
方式二:源码运行
git clone https://github.com/haczen/ai-dialog-manage.git
cd ai-dialog-manage
uv sync # 安装依赖(需要 uv,https://docs.astral.sh/uv/)
uv run adm # 启动
自行打包
uv run pyinstaller --noconfirm AI-Dialog-Manager.spec
# 产物在 dist\AI-Dialog-Manager.exe
双击 exe(或 uv run adm)。启动后自动扫描本机全部 9 种来源的会话,
按最近更新排序。状态栏显示 129 个会话 · Claude 109 · Codex 13 · …。
第一次扫描约 1 秒;之后启动有缓存,秒开。 只要你机器上装过对应工具、产生过对话,就会自动出现在列表里。
| 操作 | 方法 |
|---|---|
| 按关键词找 | 左上搜索框:标题 / 项目 / id 模糊匹配(Ctrl+F) |
| 只看某个工具 | 「来源」下拉:9 个来源独立筛选 |
| 只看某项目 | 「项目」下拉(自动收集全部项目) |
| 排序 | 「排序」下拉 + ↓↑ 切换方向;表头点击也可以 |
| 项目全景 | 「📁 按项目分组」切换树视图:项目节点带会话数/消息数/总大小 |
| 快捷收藏 | 点 ☆,配合「★ 收藏」只看收藏 |
双击任意会话,右侧打开聊天视图:
双击任意消息打开编辑器:
每次写入前自动备份到
%APPDATA%\ai-dialog-manager\backups\, 保留最近 8 份;CLI 在你编辑期间追加的内容会被自动保留合并。
选中会话 →「▶ 恢复会话」:自动在项目目录打开新终端,执行
claude --resume <id> / codex resume <id> / opencode --session <id> 等。
这是本工具的特色功能。选中会话 →「⤴ 适配其它 AI」:
E:\test → D:\hello)工具调用会转成可读文本,避免目标工具不认识源工具的 schema 而报错。 也支持命令行:
uv run adm --transplant 4f2a1c --to codex --cwd D:\hello
选中会话 →「⤴ 意识上传」导出一个自包含文件夹, 拿到没装 Python、没装本工具的机器上:
install.bat "D:\新目录" :: 同工具恢复(新 id、cwd 改写)
restore-codex.bat "D:\hello" :: 换工具:转换 + 直接打开继续
restore-gemini.bat "D:\hello" :: 或 Gemini / Qwen / Goose / Cline / Roo / JSON
Ctrl+Shift+F 全局搜索:所有来源的全文(含工具参数和输出),
双击结果直接跳到那条消息Ctrl/Shift 多选会话 →「⋯ 批处理」:批量收藏/归档/导出 Markdown/删除/上传/转生| 按键 | 作用 |
|---|---|
Ctrl+F |
会话列表过滤框 |
Ctrl+Shift+F |
全局搜索 |
F5 |
重新扫描 |
Delete |
删除选中会话(先备份) |
Enter |
打开选中会话 |
| 双击列表行 | 打开会话 |
| 双击消息 | 编辑该消息 |
| 来源 | 会话存储位置 | 编辑 | 一键恢复 |
|---|---|---|---|
| Claude Code | ~/.claude/projects/<路径>/<id>.jsonl |
✅ | claude --resume <id> |
| Codex | ~/.codex/sessions/…/rollout-*.jsonl + state_5.sqlite |
✅ | codex resume <id> |
| OpenCode 2.x | ~/.local/share/opencode/opencode.db(sqlite) |
✅ | opencode --session <id> |
| Gemini CLI | ~/.gemini/tmp/<sha256(cwd)>/chats/session-*.json |
✅ | gemini --resume <id> |
| Qwen Code | ~/.qwen/tmp/<sha256(cwd)>/chats/session-*.json |
✅ | qwen --resume <id> |
| Goose | %APPDATA%\Block\goose\data\sessions\<id>.json |
✅ | goose session --resume --name <id> |
| Cline(VS Code) | globalStorage/saoudrizwan.claude-dev/tasks/<id>/ |
✅ | VS Code → Cline → 历史 |
| Roo Code(VS Code) | globalStorage/rooveterinaryinc.roo-cline/tasks/<id>/ |
✅ | VS Code → Roo → 历史 |
| Kiro(AWS AI IDE) | %APPDATA%\Kiro\User\workspaceStorage\* 会话 JSON(探测式) |
✅ | Kiro 内 History 继续 |
每个来源的标题、项目、消息数、大小、tokens、运行状态、归档状态统一提取; Gemini / Qwen 的会话目录是单向哈希,扫描时用其它来源的 cwd 反查还原项目名。
%APPDATA%\ai-dialog-manager\backups\<来源>\<会话>\,
保留最近 8 份;OpenCode 用 sqlite backup API 保证 WAL 一致性os.replace,断电不留半个文件| 指标 | 数值 |
|---|---|
| 首次全量扫描(311MB / 129 会话) | ~1.0s |
| 热启动扫描(缓存命中) | 0.03s |
| 列表加载策略 | 只扫元数据,点击才解析正文(后台线程) |
| 连续点击切换会话 | 立即切换,旧加载自动作废 |
uv run adm --selftest # 无界面自检:全源扫描/解析/编辑回环/缓存校验
uv run adm --repair # 修复 Claude 会话断链(parentUuid/leafUuid)
uv run adm --transplant <id|path> --to claude|codex|opencode|gemini|qwen|goose|cline|roo|json
[--cwd DIR] [--title T] [--out DIR] [--no-tools] [--reasoning]
--transplant 的源可以是任意已扫描来源的会话 id(前缀也可),
或 Claude/Codex 转录文件、OpenCode 导出的 JSON。
adm/
├── sources.py 源注册表:scan/load/编辑能力/resume 命令的单一分派点
├── models.py SessionMeta / Message / Part + 来源徽章/颜色注册表
├── config.py 全部来源的路径常量
├── claude_store.py Claude 扫描/解析/编辑
├── codex_store.py Codex sqlite + rollout
├── opencode_store.py OpenCode sqlite(读+写,seq 分配器/backup API)
├── gemini_store.py Gemini CLI / Qwen Code(同构参数化)
├── goose_store.py Goose
├── cline_store.py Cline / Roo Code(同构参数化)
├── kiro_store.py Kiro IDE(探测式解析 workspaceStorage)
├── jsonlio.py jsonl 行级编辑器(备份+外部修改检测+原子写)
├── record_io.py JSON 文档记录级编辑器(同保真)
├── meta_cache.py 持久化扫描缓存
├── scanner.py / searcher.py / launcher.py
├── transfer.py 意识上传:可恢复包 + 无依赖安装器
├── transplant.py 跨工具转换:中立会话 + 9 个目标写入器
├── i18n.py 中英文案
└── ui/ 主题 / 表格 / 聊天视图 / 对话框 / 主窗口
新增一种来源 = 写一个 store 模块 + 在 sources.py 注册一行;
列表、搜索、编辑、转生、上传、统计全部自动生效。
开发自查:
uv run adm --selftest # 全源夹具 + 编辑回环 + 缓存断言
$env:ADM_AUTOTEST='1'; uv run adm --smoke # GUI 自动化冒烟
欢迎 issue / PR:
本开源项目已链接认可 LINUX DO 社区 🐧
LINUX DO - 新的理想型社区
欢迎在 LINUX DO 讨论、反馈与交流本工具的使用心得。
ai-dialog-manage is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by haczen. 一个窗口管住 9 种 AI 编程工具的聊天记录:统一浏览/搜索/编辑,会话转生到其它 AI 工具换目录继续聊,零依赖意识上传包 | Unified AI CLI session manager: browse / search / edit / transplant. It has 50 GitHub stars.
ai-dialog-manage'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/haczen/ai-dialog-manage" and add it to your Claude Code skills directory (see the Installation section above).
ai-dialog-manage is primarily written in Python. It is open-source under haczen on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-dialog-manage against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars