Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
iMessage integration for Claude Code - autonomous agent via iMessage
Fetched from the repository for this visit.
⚠️ Use this plugin at your own risk. This is created for personal use, and running Claude Code with permissions off as a bot on a Mac connected to iMessage and the Internet exposes your computer to considerable security risks. The author is not responsible for your use of this, and you are assuming all liability by using it.
An iMessage assistant that monitors for messages and responds using the full power of Claude Code.

This plugin adds iMessage capabilities to Claude Code, allowing you to:
The daemon creates a continuous conversation thread with Claude Code over iMessage, making it accessible from iPhone, iPad, Mac, or Apple Watch.
# In any Claude Code session
/plugin marketplace add dvdsgl/claude-imessage
/plugin install imessage@dvdsgl
Create a configuration file with the contact details of the person who will message the agent (the agent will respond to messages from this contact):
# Create config file
cat > ~/.claude-imessage.env << 'EOF'
export IMESSAGE_CONTACT_PHONE="4155551234" # Their phone number (digits only)
export IMESSAGE_CONTACT_NAME="John Doe" # Their name
export IMESSAGE_CONTACT_EMAIL="john@example.com" # Optional: their iMessage email
EOF
# Load the configuration
source ~/.claude-imessage.env
In any Claude Code session:
/imessage-daemon start
The daemon is now running and monitoring for messages from your configured contact!
Send an iMessage from your configured contact's phone, and watch Claude respond autonomously.
/imessage-daemon status # Check if running and view logs
/imessage-daemon stop # Stop the daemon
/imessage-daemon start # Start the daemon
The plugin includes a comprehensive iMessage skill with tools for:
See skills/imessage/SKILL.md for complete documentation.
The daemon monitors iMessages and automatically:
The agent has access to all Claude Code capabilities including other skills, tools, and can perform complex multi-step tasks autonomously.
Once installed, you can use iMessage tools in any Claude Code conversation:
# Read recent messages from a contact
claude -p "Use the imessage skill to read my recent messages from 4155551234"
# Send a message
claude -p "Use the imessage skill to send a message to 4155551234 saying 'Hello!'"
# Check for new messages
claude -p "Use the imessage skill to check if I have any new messages"
When the daemon receives a message, it:
The daemon uses Claude Code's conversation resume feature:
~/tmp/imessage/imessage_claude_conversation_id.txtYou: "What's on my calendar today?"
Claude: "Let me check your calendar..."
Claude: "You have 3 events today:
- 9am: Team standup
- 2pm: Product review
- 4pm: 1:1 with Sarah"
You: "Remind me to prepare slides before the product review"
Claude: "I'll create a reminder..."
Claude: "Done! Added a reminder for 1:30pm to prepare slides."
Configure the daemon via environment variables in ~/.claude-imessage.env:
| Variable | Required | Description |
|---|---|---|
IMESSAGE_CONTACT_PHONE | Yes | Phone number of the person who will message the agent (digits only) |
IMESSAGE_CONTACT_NAME | Yes | Name of the person who will message the agent |
IMESSAGE_CONTACT_EMAIL | No | iMessage email of the person (if they use email for iMessage) |
IMESSAGE_CHECK_INTERVAL | No | Check interval in seconds (default: 1) |
IMESSAGE_TMP_DIR | No | Directory for logs (default: ~/tmp/imessage) |
# ~/.claude-imessage.env
export IMESSAGE_CONTACT_PHONE="4155551234"
export IMESSAGE_CONTACT_NAME="Alice Smith"
export IMESSAGE_CHECK_INTERVAL="1"
export IMESSAGE_TMP_DIR="$HOME/tmp/imessage"
Load before starting the daemon:
source ~/.claude-imessage.env
/imessage-daemon start
GitHub checked 40h ago - refresh overdue. Recently viewed repositories target hourly refresh.