用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/josiahlandes/Casterly-Rock --skill imessage-send命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | imessage-send |
| description | Send iMessages to contacts via AppleScript. Can send to phone numbers or Apple IDs. |
| metadata | {"openclaw":{"emoji":"💬","os":["darwin"]}} |
Send iMessages using AppleScript. Requires Messages.app to be signed into an iMessage account.
This skill can send messages on behalf of the user. Use with care and always confirm the recipient before sending.
To send a message to a phone number:
osascript -e 'tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy "+15551234567" of targetService
send "Your message here" to targetBuddy
end tell'
To send to an email address (Apple ID):
osascript -e 'tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy "person@example.com" of targetService
send "Your message here" to targetBuddy
end tell'
If the message contains quotes or special characters:
osascript -e 'tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy "+15551234567" of targetService
set theMessage to "Hello! How'\''s it going?"
send theMessage to targetBuddy
end tell'
When user says "Text John that I'm running late":
osascript -e 'tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy "+1JOHNSPHONE" of targetService
send "I'\''m running late" to targetBuddy
end tell'