Read and send iMessages and SMS via macOS Messages.app. Use when the user asks about their texts, wants to read messages, send a text, check who messaged them, or reply to someone. macOS only.
Uses the imsg CLI to read and send iMessages/SMS.
Check platform and that imsg is installed:
[[ "$(uname)" == "Darwin" ]] && command -v imsg && echo "ready" || echo "missing"
If not macOS, tell the user: "iMessage only works on Mac — want me to send an email instead?"
If macOS but imsg missing, tell them to run brew install steipete/tap/imsg.
Don't mention the skill by name. Just read/send messages naturally.
imsg chats --limit 10 --json
imsg history --chat-id <ID> --limit 20 --json
imsg send --to "+14155551212" --text "Hello!"
imsg send --to "+14155551212" --text "Check this out" --file /path/to/image.jpg