Manage the iMessage auto-reply daemon. Usage: /imessage-daemon [start|stop|status] (defaults to status)
Manages the iMessage auto-reply daemon for start, stop, and status operations.
/plugin marketplace add dvdsgl/claude-imessage/plugin install dvdsgl-imessage@dvdsgl/claude-imessageManage the iMessage auto-reply daemon that monitors incoming messages and responds autonomously.
The user wants to: {{command}}
Default to "status" if no command specified.
Determine the command: Extract the action from the user's request (start|stop|status)
Locate the daemon script: The plugin installation includes the daemon at:
skills/imessage/daemon/imessage-auto-reply-daemon.shExecute the appropriate action:
IMESSAGE_CONTACT_PHONE (required)IMESSAGE_CONTACT_NAME (required)IMESSAGE_CONTACT_EMAIL (optional)export IMESSAGE_CONTACT_PHONE="4155551234"
export IMESSAGE_CONTACT_NAME="John Doe"
export IMESSAGE_CONTACT_EMAIL="john@example.com" # optional
mkdir -p ~/tmp/imessagenohup /path/to/plugin/skills/imessage/daemon/imessage-auto-reply-daemon.sh > /dev/null 2>&1 &
ps aux | grep imessage-auto-reply-daemon | grep -v greppkill -f imessage-auto-reply-daemonps aux | grep imessage-auto-reply-daemon | grep -v greptail -10 ~/tmp/imessage/imessage-auto-reply.logtail -10 ~/tmp/imessage/imessage-agent.log/imessage-daemon start~/tmp/imessage/User: "/imessage-daemon" → Show status (default behavior)
User: "/imessage-daemon start" → Check config, start daemon, confirm running
User: "/imessage-daemon stop" → Stop daemon, confirm stopped
If user needs to configure the daemon, show them:
# Create configuration file
cat > ~/.claude-imessage.env << 'EOF'
export IMESSAGE_CONTACT_PHONE="4155551234"
export IMESSAGE_CONTACT_NAME="John Doe"
export IMESSAGE_CONTACT_EMAIL="john@example.com" # optional
EOF
# Load configuration
source ~/.claude-imessage.env
# Start daemon
/imessage-daemon start
Provide helpful, clear output and guide users through any configuration issues.