TopRank Skills

Home / Claw Skills / Autres / imessage
Official OpenClaw rules 15%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 imessage 技能。 若已安装,则直接安装 imessage 技能。

Overview

Skill Key
dezhihe91/send-imessage
Author
dezhihe91
Source Repo
openclaw/skills
Version
-
Source Path
skills/dezhihe91/send-imessage
Latest Commit SHA
722ae0f39ab9c7f111bde2f6e38b443174792db4

Extracted Content

SKILL.md excerpt

# 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 Claw Skills