imessage
Send and read iMessage/SMS via Messages.app using the imsg CLI. List chats, view history, send messages to phone numbers or Apple IDs.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
iMessage
Use the imessage bridge to read and send iMessage/SMS via macOS Messages.app.
When to Use
- User asks to send an iMessage or SMS
- Reading iMessage conversation history
- Checking recent chats
When NOT to Use
- Telegram messages -> reply normally (Ciana routes automatically)
- Any other messaging platform
Commands
All commands run via host_execute(bridge="imessage", command="...").
List Chats
imsg chats --limit 10 --json
View History
imsg history --chat-id 1 --limit 20 --json
imsg history --chat-id 1 --limit 20 --attachments --json
Send Messages
imsg send --to "+14155551212" --text "Hello!"
imsg send --to "+14155551212" --text "Check this" --file /path/to/image.jpg
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms
Safety Rules
- Always confirm recipient and message content before sending
- Never send to unknown numbers without explicit user approval
- Rate limit - don't spam
Setup (on host)
- Install:
brew install steipete/tap/imsg - macOS with Messages.app signed in
- Grant Full Disk Access and Automation permission for Messages.app
- Uncomment
imessagebridge inconfig.yaml, restart gateway
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!