# 安装 sherpa-onnx-tts

- 类型: Skill 技能
- 说明: 使用 sherpa-onnx 在本地离线将文本快速转换为语音，无需云服务。
- 仓库: https://github.com/openclaw/openclaw
- ⚠ 安全: 该技能材料显示其为本地离线 TTS 封装器，不需要密钥，也未声明任何远程端点；整体风险较低。需留意其会在本机调用 CLI、读取本地模型并写出音频文件，这属于此类本地工具的常规能力。

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

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

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

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

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

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

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

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