Features
- Direct messages and group chats
- Media support (images, videos, documents)
- Native macOS integration
- SMS/MMS support (if iPhone connected)
- Reply threading
- Works with existing Messages.app conversations
Requirements
- macOS 10.14 (Mojave) or later
- Messages.app configured with iMessage account
- Full Disk Access permission for SimpleClaw
imsgCLI tool (bundled with SimpleClaw)
Setup
Grant Full Disk Access
SimpleClaw needs access to Messages database:
- Open System Settings → Privacy & Security → Full Disk Access
- Click the lock and authenticate
- Click ”+” and add Terminal (or your terminal app)
- If using SimpleClaw macOS app, add it to the list
Configuration
Basic Configuration
Custom Paths
Service Selection
Multi-Account Setup
Security
DM Policy
Group Policy
Pairing Workflow
WithdmPolicy: pairing:
- User sends first message
- Approve:
simpleclaw pairing approve imessage [email protected] - User receives approval notification
Message Features
Sending Messages
Target Formats
- Email:
[email protected] - Phone:
+1234567890(E.164 format recommended) - Chat ID:
chat_id:123(for groups)
Media Support
- Images: JPEG, PNG, GIF, HEIC
- Videos: MOV, MP4, M4V
- Documents: PDF and others
Reply Threading
iMessage supports replying to specific messages:Group Chats
Finding Group Chat IDs
Group chats use internal chat IDs from Messages database. You can:- Check SimpleClaw logs for incoming group messages
- Query Messages database (advanced):
Group Configuration
iMessage groups use account-level policies:Advanced Configuration
Region Settings
For region-specific phone number handling:Custom CLI Path
Ifimsg is installed in a non-standard location:
Custom Database Path
Default Recipient
Troubleshooting
Permission Denied
Permission Denied
Ensure Full Disk Access is granted:
- System Settings → Privacy & Security → Full Disk Access
- Add Terminal or SimpleClaw app
- Restart terminal/app after granting access
imsg Command Not Found
imsg Command Not Found
Verify If not found, it should be bundled with SimpleClaw. Check installation.
imsg is installed:Messages Not Sending
Messages Not Sending
Verify Messages.app is working:
- Open Messages.app
- Send a test message manually
- Check iMessage is signed in (Settings → iMessage)
SMS Not Working
SMS Not Working
SMS requires iPhone connected via Text Message Forwarding:
- On iPhone: Settings → Messages → Text Message Forwarding
- Enable forwarding to your Mac
- Verify on Mac in Messages preferences
Group Messages Not Received
Group Messages Not Received
Check database access and ensure the group exists in Messages.app.Group messages may require specific chat IDs from the database.
CLI Commands
Limitations
- macOS only (no Windows/Linux support)
- Requires Full Disk Access permission
- Depends on Messages.app and iMessage service
- SMS requires iPhone with Text Message Forwarding
- Group chat IDs can be difficult to determine
- No native poll or advanced reaction support
API Reference
iMessage channel implementation:extensions/imessage/src/channel.ts
Channel ID
imessage (alias: imsg)
Target ID Format
- Email:
[email protected] - Phone:
+1234567890 - Chat:
chat_id:123
Capabilities
- Chat types:
direct,group - Features:
media - Delivery mode:
direct - Text chunk limit: 4000 characters
Configuration Schema
SeeIMessageConfigSchema in source for full schema.
Best Practices
Grant Full Disk Access
Required for Messages database access
Use E.164 for Phone Numbers
International format ensures proper routing:
Enable Pairing
Control who can message:
Limit Media Size
Prevent large files:
Next Steps
Security Configuration
Configure DM policies and allowlists
Multi-Channel Setup
Connect additional platforms