Search

PythonReactSEOPDF
OpenClaw

imessage

Send iMessages via macOS Messages app using AppleScript. Use when user wants to send a text message/SMS to a phone number. Supports Chinese and English messages. Phone numbers should include +1 prefix for US numbers.

dezhihe910 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install dezhihe91/send-imessage

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

iMessage Skill

Send iMessages using macOS Messages app via AppleScript.

Usage

When user asks to send a message to a phone number:

  1. Extract the phone number and message from user's request
  2. Format phone number with +1 prefix for US numbers (e.g., 8888888888 -> +18888888888)
  3. Use AppleScript to send the message

AppleScript Command

osascript << 'EOF'
tell application "Messages"
    activate
    send "MESSAGE_TEXT" to buddy "+1PHONE_NUMBER"
end tell
EOF

Examples

Send English message:

  • User: "send message to 8888888888, say hello"
  • Command: send "hello" to buddy "+18888888888"

Send Chinese message:

  • User: "send to 8888888888 你好"
  • Command: send "你好" to buddy "+18888888888"

Notes

  • The Messages app must be logged into iMessage/FaceTime
  • If AppleScript fails, macOS may need Accessibility permissions in System Settings > Privacy & Security > Accessibility
  • Works with any text content (English, Chinese, emoji, etc.)

Source information

Source
github
Repository
openclaw/skills
Path
skills/dezhihe91/send-imessage
Version
—
Commit
722ae0f39ab9c7f111bde2f6e38b443174792db4
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# iMessage Skill

Send iMessages using macOS Messages app via AppleScript.

## Usage

When user asks to send a message to a phone number:

1. Extract the phone number and message from user's request
2. Format phone number with +1 prefix for US numbers (e.g., 8888888888 -> +18888888888)
3. Use AppleScript to send the message

## AppleScript Command

```bash
osascript << 'EOF'
tell application "Messages"
    activate
    send "MESSAGE_TEXT" to buddy "+1PHONE_NUMBER"
end tell
EOF
```

## Examples

**Send English message:**
- User: "send message to 8888888888, say hello"
- Command: `send "hello" to buddy "+18888888888"`

**Send Chinese message:**
- User: "send to 8888888888 你好"
- Command: `send "你好" to buddy "+18888888888"`

## Notes

- The Messages app must be logged into iMessage/FaceTime
- If AppleScript fails, macOS may need Accessibility permissions in System Settings > Privacy & Security > Accessibility
- Works with any text content (English, Chinese, emoji, etc.)

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.