ワンクリックで
imessage-analysis-install
Check whether imessage-analysis is installed and the MCP server is registered, and fix anything that's missing.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Check whether imessage-analysis is installed and the MCP server is registered, and fix anything that's missing.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use the imessage-analysis MCP server to answer questions about the user's iMessage history.
Compare your messaging activity between two time periods — volume, contacts, and trends side by side.
Analyse your group chat activity — most active groups, top talkers per group, and activity over time.
Show the current status of the iMessage analysis dataset — last sync time, total messages, and whether it's up to date.
Summarise your most recent message exchanges — who you've been talking to, what topics came up, and the overall tone of recent activity.
Sync your iMessage history — builds the dataset on first run, updates incrementally after that. Use this to make sure your data is current before analysing.
| name | imessage-analysis-install |
| description | Check whether imessage-analysis is installed and the MCP server is registered, and fix anything that's missing. |
Verify the installation is complete and working. Install or register anything that's missing.
npx skills add DecisionNerd/imessage-analysis for the first timeIf the user hasn't installed the analysis skills yet, do it now:
npx skills add DecisionNerd/imessage-analysis
This installs all skills including period-in-review, needs-reply, contact-deep-dive, and compare-contacts.
which imessage-analysis && imessage-analysis --version
If missing, install via Homebrew (recommended — handles signing automatically):
brew tap DecisionNerd/tap && brew install imessage-analysis
If Homebrew isn't available, install from source:
cargo install --git https://github.com/DecisionNerd/imessage-analysis --bins
Then sign it (required for Contacts access):
cat > /tmp/imessage-entitlements.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.contacts.read-write</key>
<true/>
</dict>
</plist>
EOF
codesign --force --sign - --entitlements /tmp/imessage-entitlements.plist $(which imessage-analysis)
Even if the binary is already installed, verify it has the required entitlement:
codesign -d --entitlements - $(which imessage-analysis) 2>&1 | grep contacts
If the output is empty, the binary isn't signed correctly — re-run the signing step from step 1.
which imessage-mcp
If missing, re-run the install step — imessage-mcp is installed alongside imessage-analysis.
claude mcp list # Claude Code
codex mcp list # Codex
Look for imessage-analysis in the output. If it's not listed, register it for whichever CLI the user is running:
Claude Code:
claude mcp add imessage-analysis $(which imessage-mcp)
Codex:
codex mcp add imessage-analysis -- $(which imessage-mcp)
imessage-analysis status
If the output shows No dataset found or 0 messages, the first sync hasn't been run yet.
The first sync must be run from Apple Terminal.app. macOS requires a direct window-server connection to show the Contacts permission dialog — tmux, cmux, iTerm2, and other multiplexers suppress it.
Tell the user clearly:
Open Apple Terminal.app (not your current terminal), run:
imessage-analysis syncGrant Contacts access when the dialog appears. Come back here when it's done.
If status shows contacts_resolved: 0 on an existing dataset, the user previously synced without Contacts access. Tell them:
Run this to rebuild with contact names:
imessage-analysis sync --force
Suggest setting up completions for a better CLI experience:
# Zsh — add to ~/.zshrc:
source <(imessage-analysis completions zsh)
# Bash — add to ~/.bashrc:
source <(imessage-analysis completions bash)
# Fish:
imessage-analysis completions fish > ~/.config/fish/completions/imessage-analysis.fish
Summarise what was found and what (if anything) was fixed:
<path> ✓ / installed now ✓ / not found ✗<N> messages, last synced <time> ✓ / needs first sync from Apple TerminalIf everything is good, offer to run /period-in-review or /contact-deep-dive.