imessage-query とは?
SQLite 経由で macOS iMessage データベース (chat.db) をクエリします。 NSAttributedString メッセージをデコードし、タップバックを処理し、会話を検索します。トリガー - imessage、chat.db、メッセージ データベース、テキスト メッセージ、iMessage 履歴、NSAttributedString、attributedBody ソース: terrylica/cc-skills。
SQLite 経由で macOS iMessage データベース (chat.db) をクエリします。 NSAttributedString メッセージをデコードし、タップバックを処理し、会話を検索します。トリガー - 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-querySQLite 経由で macOS iMessage データベース (chat.db) をクエリします。 NSAttributedString メッセージをデコードし、タップバックを処理し、会話を検索します。トリガー - 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