Læser agentens svar højt via ElevenLabs' API, til interaktive talesessioner hvor du dikterer og agenten svarer i stedet for bare at skrive.
@computerlovetech
Community-bidragyder
computerlovetech/skills
Open source repository
Nedenstående er skillens egen dokumentation, hentet fra kildekoderepoet. Ophavsret tilhører forfatteren.
Use this skill when the user wants an interactive spoken conversation. The user handles speech-to-text outside this skill, so your job is text-to-speech output.
scripts/speak_response.py with the text that
should be spoken aloud.Run the bundled helper script from this skill's installed directory:
python3 <path-to-installed-lets-talk>/scripts/speak_response.py --text "Spoken reply here."
In Codex workspaces this is usually
.agents/skills/lets-talk/scripts/speak_response.py; in Claude Code workspaces
it is usually .claude/skills/lets-talk/scripts/speak_response.py.
The script reads:
ELEVENLABS_API_KEY or ELEVEN_API_KEYELEVENLABS_VOICE_ID, defaulting to Rachel, a clear stock ElevenLabs voiceELEVENLABS_MODEL_ID, defaulting to eleven_flash_v2_5ELEVENLABS_EXPRESSIVE=true, which switches the default model to eleven_v3ELEVENLABS_AUDIO_PLAYER, if a specific local player command is neededIf the script fails because no API key is present, say that visibly and do not pretend the user heard the answer.
For a simple voice-chat answer, there may be no visible response beyond a brief
status such as Spoken. if the interface requires a final message.
For a coding or workspace task:
Prefer:
Avoid: