什么是 imessage-query?
通过 SQLite 查询 macOS iMessage 数据库 (chat.db)。解码 NSAttributedString 消息、处理回击、搜索对话。 TRIGGERS - imessage、chat.db、消息数据库、短信、iMessage 历史记录、NSAttributedString、attributedBody 来源:terrylica/cc-skills。
通过 SQLite 查询 macOS iMessage 数据库 (chat.db)。解码 NSAttributedString 消息、处理回击、搜索对话。 TRIGGERS - imessage、chat.db、消息数据库、短信、iMessage 历史记录、NSAttributedString、attributedBody
通过命令行快速安装 imessage-query AI 技能到你的开发环境
来源:terrylica/cc-skills。
Query the macOS iMessage SQLite database (/Library/Messages/chat.db) to retrieve conversation history, decode messages stored in binary format, and build sourced timelines with precise timestamps.
IMPORTANT: Many iMessage messages have a NULL or empty text column but contain valid, recoverable text in the attributedBody column. This is NOT because they are voice messages — iOS stores dictated messages, messages with rich formatting, and some regular messages in attributedBody as an NSAttributedString binary blob.
| 0 | > 100 bytes | Dictated/rich text — recoverable via decode script | | 1 | any | Attachment (image, file, voice memo) — text may be in attributedBody too | | 0 | < 50 bytes | Tapback reaction or system message — usually noise |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/terrylica/cc-skills --skill imessage-query通过 SQLite 查询 macOS iMessage 数据库 (chat.db)。解码 NSAttributedString 消息、处理回击、搜索对话。 TRIGGERS - imessage、chat.db、消息数据库、短信、iMessage 历史记录、NSAttributedString、attributedBody 来源:terrylica/cc-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/terrylica/cc-skills --skill imessage-query 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/terrylica/cc-skills