原始内容
Chatterbox OpenCode Skills
This repository contains custom agent skills for OpenCode to automate the generation of voiceover scripts and audio using Chatterbox TTS (Turbo).
Skills Included
1. Create Script (.opencode/skill/create-script)
Transforms raw content (URLs, text, notes) into a natural, conversational script optimized for voiceover.
- Preserves acronyms (e.g., AI).
- Cleans up structure for better flow.
- Adds paralinguistic tags like
[chuckle]or[laugh].
2. Voiceover (.opencode/skill/voiceover)
Generates audio from a script using voice cloning via Chatterbox Turbo.
- Supports paralinguistic tags.
- Efficiently processes long texts in chunks.
- Uses
uv runfor consistent environment execution.
Quickstart
Prerequisites:
- Install uv.
- Ensure
chatterboxand its dependencies are installed in your environment. - A voice sample file named
clone.wavin your root directory.
Installation: Copy the
.opencodedirectory to your project root.Usage: Simply ask your OpenCode agent:
"Using your skills, generate me a script from this article [URL] and do a voice clone on it."
Repository Structure
.opencode/skill/: Contains the skill definitions.scripts/voiceover_script.py: The underlying Python script for audio generation.examples/entry-009.wav: Sample output generated from a journal entry.
License
Apache-2.0