·imessage-query
</>

imessage-query

通过 SQLite 查询 macOS iMessage 数据库 (chat.db)。解码 NSAttributedString 消息、处理回击、搜索对话。 TRIGGERS - imessage、chat.db、消息数据库、短信、iMessage 历史记录、NSAttributedString、attributedBody

42安装·1热度·@terrylica

安装

$npx skills add https://github.com/terrylica/cc-skills --skill imessage-query

如何安装 imessage-query

通过命令行快速安装 imessage-query AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/terrylica/cc-skills --skill imessage-query
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:terrylica/cc-skills。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-03-07
更新时间
2026-03-11

Browse more skills from terrylica/cc-skills

快速解答

什么是 imessage-query?

通过 SQLite 查询 macOS iMessage 数据库 (chat.db)。解码 NSAttributedString 消息、处理回击、搜索对话。 TRIGGERS - imessage、chat.db、消息数据库、短信、iMessage 历史记录、NSAttributedString、attributedBody 来源:terrylica/cc-skills。

如何安装 imessage-query?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/terrylica/cc-skills --skill imessage-query 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/terrylica/cc-skills