本文へスキップ
Skillpedia
メールとメッセージ11k · #11725

imsg

できること

このスキルは、AIがMacのMessages.appを通じて、iMessageやSMSを読んだり送ったりできるようにします。個人的なテキストのやり取りを、エージェントに手伝わせたい人向けです。

使う場面

  • ✓誰かにiMessageやSMSを送ることを明示的に依頼するとき。
  • ✓Messagesの会話の最近の履歴を読みたいとき。
  • ✓Messagesの最近のチャットの一覧を見たいとき。

スキルのリンク

https://github.com/spinabot/brigade/blob/main/skills/imsg/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/spinabot/brigade/blob/main/skills/imsg/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“最近のMessagesのチャットを五件見せてください。そのあとSamに、夕食は7時だとテキストしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、MacでimsgコマンドラインツールをMessages.appと一緒に実行します。チャットを一覧表示し、その履歴を読み、電話番号またはApple IDにテキストを送れます。Messages.appはサインインしている必要があり、適切な権限が与えられている必要があります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

imsg

Use imsg to read and send iMessage/SMS via macOS Messages.app.

When to Use

✅ USE this skill when:

  • User explicitly asks to send iMessage or SMS
  • Reading iMessage conversation history
  • Checking recent Messages.app chats
  • Sending to phone numbers or Apple IDs

When NOT to Use

❌ DON'T use this skill when:

  • Telegram messages → use message tool with channel:telegram
  • Signal messages → use Signal channel if configured
  • WhatsApp messages → use WhatsApp channel if configured
  • Discord messages → use message tool with channel:discord
  • Slack messages → use slack skill
  • Group chat management (adding/removing members) → not supported
  • Bulk/mass messaging → always confirm with user first
  • Replying in current conversation → just reply normally (Brigade routes automatically)

Requirements

  • macOS with Messages.app signed in
  • Full Disk Access for terminal
  • Automation permission for Messages.app (for sending)

Common Commands

List Chats

imsg chats --limit 10 --json

View History

# By chat ID
imsg history --chat-id 1 --limit 20 --json

# With attachments info
imsg history --chat-id 1 --limit 20 --attachments --json

Watch for New Messages

imsg watch --chat-id 1 --attachments

Send Messages

# Text only
imsg send --to "+14155551212" --text "Hello!"

# With attachment
imsg send --to "+14155551212" --text "Check this out" --file /path/to/image.jpg

# Specify service
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms

Service Options

  • --service imessage — Force iMessage (requires recipient has iMessage)
  • --service sms — Force SMS (green bubble)
  • --service auto — Let Messages.app decide (default)

Safety Rules

  1. Always confirm recipient and message content before sending
  2. Never send to unknown numbers without explicit user approval
  3. Be careful with attachments — confirm file path exists
  4. Rate limit yourself — don't spam

Example Workflow

User: "Text mom that I'll be late"

# 1. Find mom's chat
imsg chats --limit 20 --json | jq '.[] | select(.displayName | contains("Mom"))'

# 2. Confirm with user
# "Found Mom at +1555123456. Send 'I'll be late' via iMessage?"

# 3. Send after confirmation
imsg send --to "+1555123456" --text "I'll be late"
よくある質問

どんな権限が必要ですか?

ターミナルにフルディスクアクセスが必要で、Messagesが送信を行えるように許可される必要があります。

グループチャットにメンバーを追加できますか?

いいえ。このスキルでは、グループのメンバーの管理には対応していません。

一斉送信はできますか?

一斉送信は、必ずあなたに先に確認します。そのため、このスキルは一度に多くの人へ送ることはありません。

詳細

作者による元の説明

iMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.

repo: spinabot/brigade

人気

GitHubのスター
11k
ランキング
#11725
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル