# 安装 imsg

- 类型: Skill 技能
- 说明: 通过命令行列出聊天、查看短信历史并发送 iMessage 或短信。
- 仓库: https://github.com/openclaw/openclaw
- ⚠ 安全: 整体风险偏低到中等：无独立密钥、无自定义远程端点，且来源为可审计开源项目并有很高社区采用度。主要注意点在于其声明需要 macOS 的 Full Disk Access 与 Messages.app 自动化权限，可读取聊天记录并代表用户发送 iMessage/SMS。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "imsg" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md
2. 保存为 ~/.claude/skills/imsg/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "imsg" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md
2. 保存为 ~/.codex/skills/imsg/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "imsg" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md
2. 保存为 ~/.cursor/skills/imsg/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p ~/.claude/skills/imsg && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md -o ~/.claude/skills/imsg/SKILL.md
```

### Codex
```bash
mkdir -p ~/.codex/skills/imsg && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md -o ~/.codex/skills/imsg/SKILL.md
```

### Cursor
```bash
mkdir -p ~/.cursor/skills/imsg && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md -o ~/.cursor/skills/imsg/SKILL.md
```
