SkillsGrove

audio-tts

Установка

$npx skills add https://github.com/cklxx/elephant.ai --skill audio-tts
$git clone --depth 1 https://github.com/cklxx/elephant.ai.git /tmp/elephant.ai && mkdir -p ~/.claude/skills && cp -r /tmp/elephant.ai/skills/audio-tts ~/.claude/skills/audio-tts
Пожалуйста, установи для меня этот Agent Skill: https://github.com/cklxx/elephant.ai/tree/bc94628f41b7daba20825b86069ae8e0fa83dc5e/skills/audio-tts — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITWhen the user wants text-to-speech audio → generate voice files locally (macOS say + afconvert, outputs m4a).
Приведённый ниже SKILL.md воспроизведён из cklxx/elephant.ai (коммит bc94628) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2025 cklxx. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

audio-tts

使用 macOS 自带 say 生成语音,并转成 m4a。

Requirements

  • macOS(内置 say)
  • afconvert(macOS 自带)

Usage

python3 skills/audio-tts/run.py speak --text '你好,这是语音测试'

Parameters

speak

参数 类型 必填 说明
text string 是 朗读文本
voice string 否 voice 名称(如 Ting-Ting / Samantha),默认空(系统默认)
rate int 否 语速 WPM(say 的 -r 参数)
output string 否 输出路径(默认 /tmp/tts_<ts>.m4a)

Полный текст лицензии (MIT)
MIT License

Copyright (c) 2025 cklxx

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.