Other v1.0.0

imessage

Send iMessages via macOS Messages app using AppleScript. Use when user wants to send a text message/SMS to a phone...

dezhihe91 更新于 2026-03-10 1 浏览
下载 SKILL

技能说明

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.

使用场景

Send iMessages using macOS Messages app via AppleScript.

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

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/imessage
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 16 kB
SKILL.md text/markdown
---
name: imessage
description: 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.
---

# 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.)

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。