skills/docs-to-voice/SKILL.md
Convert text and document content into audio files and sentence-level subtitle timelines under project_dir/audio/{project_name}/. Supports both macOS say and Alibaba Cloud Model Studio API modes.
npx skillsauth add laitszkin/apollo-toolkit docs-to-voiceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
project_dir, input source, mode, and environment-backed settings before generation.apltk docs-to-voice to write audio plus matching timeline and subtitle files under project_dir/audio/{project_name}/.ffmpeg for speed changes..timeline.json and .srt companions.Collect inputs.
project_dir.project_name; default to basename of project_dir.Select mode.
--mode say for local generation.--mode api for Model Studio API generation.DOCS_TO_VOICE_MODE from .env, then shell environment variables; fallback say.Prepare output path.
project_dir/audio/{project_name}/.Generate audio.
say mode supports --voice, --rate, and punctuation-pause enhancement.api mode supports --api-endpoint, --api-model, --api-voice, and reads DASHSCOPE_API_KEY.api mode sends one request per sentence and concatenates all sentence audio into one final file.api mode auto discovers model max input length; only oversized sentences are split by that limit.--max-chars (or DOCS_TO_VOICE_MAX_CHARS) can override the sentence split limit; 0 disables chunking.--speech-rate (or DOCS_TO_VOICE_SPEECH_RATE) applies optional post-process speed adjustment and requires ffmpeg when value is not 1.qwen3-tts, CJK chars count as 2 units).Generate sentence-level timeline files.
api mode, timeline start/end uses per-sentence audio durations whenever available.Return completion details.
references/docs-to-voice.md — apltk docs-to-voice 工具的完整參數說明。在步驟 2 選擇 mode 前閱讀。在執行產出前先閱讀 references/docs-to-voice.md 了解各 mode 的參數與環境變數設定方式。
say mode: confirm command -v say and command -v python3.api mode: confirm command -v python3 and valid DASHSCOPE_API_KEY.command -v ffmpeg.apltk docs-to-voice --help.development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Review a pull request — interactive PR selection via `gh`, 4-dimension code review (hallucinated code, architecture, performance, test validity), then post severity-graded comments with fix suggestions on the PR. Not for spec-based review — use `review` instead.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。