/rasa-agent-skills:rasa-integrating-ttsfrom rasa-agent-skills
Integrates a custom text-to-speech provider with Rasa voice channels. Guides implementing TTSEngine, streaming/non-streaming synthesis, audio conversion to RasaAudioBytes, and credential configuration.
Ships in rasa-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The provider documentation is: $documentation
Use the documentation as the source of truth for the provider protocol. If it is missing, ask for the provider's TTS API documentation before implementing. Follow links from it only when needed to resolve authentication, request/response messages, audio formats, streaming behavior, interruption, or limits.
TTSEngine,
TTSEngineConfig, and RasaAudioBytes APIs. Follow those signatures when they
differ from examples.addons/custom_tts.py only when no convention exists.TTSEngine.tts key in
credentials.yml. Keep secrets in environment variables.Use non-streaming input when the provider requires the complete text before synthesis:
streaming_input false;synthesize() as the complete text-to-audio lifecycle;RasaAudioBytes as provider audio becomes available.Use streaming input only when the provider accepts multiple incremental text chunks in one synthesis session:
streaming_input = True;Streaming audio output and streaming text input are different capabilities. A provider that accepts one full text request and streams audio back still uses non-streaming input.
TTSEngine and use its matching configuration type.synthesize, audio conversion, config construction, and default config.RasaAudioBytes format.
Account for encoding, sample rate, channel count, and container headers.signal_interrupt only when the provider documents an in-band cancel,
clear, or equivalent operation. Otherwise retain the base no-op and report the
limitation; do not invent socket-close/reconnect behavior.required_env_vars and required_packages when supported by the installed
base class. Prefer existing project dependencies when they fit the documented API.language_map for
multilingual assistants when supported by the installed Rasa version.Reference the custom class by module path:
# credentials.yml
browser_audio:
# ... channel configuration
tts:
name: addons.custom_tts.MyTTS
endpoint: wss://api.example.com/v1/speak
language: en-US
voice: example-voice
The module must be importable from the process that starts Rasa. Put secret values in
environment variables, document the required variable names, and never commit them to
credentials.yml.
For multilingual assistants, ensure every language_map key matches language or
additional_languages in config.yml.
credentials.yml.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rasa, text-to-speech, voice-channels, tts-integration, speech-synthesis
Other plugins' skills for the same job
npx claudepluginhub rasahq/rasa-agent-skills --plugin rasa-agent-skills18 skills in this plugin
/rasa-building-flowsBuilds conversation flows for Rasa CALM assistants using YAML. Use when creating or editing flows, designing flow architecture, adding branching logic, writing flow and collect step descriptions, or connecting flows with call and link steps.
/rasa-building-skillsBuilds skills (capabilities) for a Rasa CALM assistant. Use when the user asks to create, add, or build a skill, capability, or feature for their Rasa assistant.
/rasa-calling-mcp-tools-from-flowsCalls MCP tools directly from Rasa flow steps. Use when invoking an MCP tool via a call step, mapping slot values to tool parameters, or extracting tool results into slots. This replaces custom action code for simple API integrations.
/rasa-configuring-assistantConfigures config.yml and endpoints.yml for Rasa CALM assistants. Covers pipeline (command generators, flow retrieval), policies (FlowPolicy), action endpoint, and language settings. Use when setting up a new project or modifying pipeline components.
/rasa-configuring-mcp-serverConfigures MCP (Model Context Protocol) servers in a Rasa CALM assistant. Use when defining MCP servers in endpoints.yml, setting up authentication (API key, OAuth 2.0, pre-issued token), or connecting to multiple external services.
/rasa-configuring-model-groupsConfigures model_groups in endpoints.yml for LLM and embedding providers. Covers single and multi-deployment setups, routing strategies, failover, self-hosted models, and caching. Use when adding or changing LLM providers or setting up multi-LLM routing.