About speech-generator
speech-generator is a skill for creating speech audio with ElevenLabs TTS. It is intended for creators turning text into audio, with controls for voice and speech settings plus guidance for natural spoken Hebrew prompts.
Key features
- 01Generate speech with ElevenLabs TTS
- 02Accept text or file input
- 03Set voice ID and output path
- 04Adjust speed, stability, and similarity
- 05Guidance for spoken Hebrew prompts
Use cases
- 01Create MP3 audio from Hebrew text
- 02Generate speech audio from a file
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ aviz85/ claude-skills-library --skill speech-generatorAfter installing, type/speech-generatorin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
SETUP.mdscripts/.env.examplegenerate_speech.tspackage.jsontsconfig.jsonDetails
From the project READMESpeech Generator
First time? If
setup_complete: falseabove, run./SETUP.mdfirst, then setsetup_complete: true.
Generate speech audio using ElevenLabs TTS.
Voice ID
Configure your voice ID from ElevenLabs:
YOUR_VOICE_ID
Get voice IDs from ElevenLabs - you can use built-in voices or clone your own.
Prompt Guidelines (Hebrew)
Write prompts as natural spoken Hebrew. Use square brackets [...] for speech directions.
Direction Examples
[נשימה עמוקה] אוקיי, אז בואו נדבר על זה...
[צחוק קל] זה ממש מצחיק שאתה אומר את זה
[בהתלהבות] וואו! זה בדיוק מה שחיכיתי לו!
[ברצינות] עכשיו, תקשיבו טוב...
[בעצב] אני לא יודע מה להגיד...
[בשקט] זה סוד, אבל...
[מהר] צריך לרוץ עכשיו, אין זמן!
[לאט ובבירור] חשוב. מאוד. להקשיב.
[שאלה] אתה בטוח שזה מה שאתה רוצה?
[הפתעה] רגע, מה?!
Natural Speech Patterns
Add filler words and pauses for natural flow:
אממ...אהה...כאילו...נו...יאללה...בקיצור......(pause)
Example Prompt
[בהתלהבות] היי! מה קורה?
אממ... אז רציתי לספר לכם משהו מטורף שקרה לי היום.
[נשימה] אז הלכתי לקפה, וואלה, פתאום רואה את... [בשקט] אתה לא תאמין למי.
[צחוק] כן, בדיוק מי שחשבת!
Commands
cd ~/.claude/skills/speech-generator/scripts
# Generate speech
npx ts-node generate_speech.ts \
-t "[בהתלהבות] היי! מה קורה?" \
-o /path/to/output.mp3
# From file
npx ts-node generate_speech.ts \
-f /path/to/script.txt \
-o /path/to/output.mp3
# List voices
npx ts-node generate_speech.ts --list-voices
Options
| Option | Short | Default |
|---|---|---|
--text | -t | Text to speak |
--file | -f | Read from file |
--output | -o | Output path (required) |
--voice | -v | Voice ID |
--speed | 1.0 | |
--stability | 0.5 | |
--similarity | 0.75 |