/rasa-agent-skills:rasa-writing-responsesfrom rasa-agent-skills
Writes response templates for Rasa CALM assistants in domain YAML files. Covers naming conventions, slot variables, rich responses, variations, and conditional/channel-specific content.
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.
None: SKILL.md is the whole skill.
utter_ or utter_ask_ prefix (see "Naming conventions").rasa-rephrasing-responses skill).action: utter_* step.Responses are defined under the responses key in domain YAML files. Before creating
new responses, check the existing domain layout — the user's existing convention always
takes precedence.
Domain files are commonly split by business process, so each flow's slots, responses,
and actions live together (e.g. domain/transfer_money.yml).
domain/
├── transfer_money.yml # slots + responses + actions for one flow
├── book_appointment.yml
└── shared.yml # responses reused across multiple flows
This section proposes default conventions. If the user's project already follows different conventions, match those instead.
utter_:
utter_greet, utter_ask_amount, utter_transfer_completesnake_case after the prefixutter_ask_email, utter_confirm_bookingutter_ask_{slot_name} — Rasa resolves this
automatically (e.g. collect: account_type → utter_ask_account_type). See the
rasa-building-flows skill for override and custom action details.A response is a named template under the responses key. Each name maps to a list of
one or more variations. Responses starting with utter_ can be used directly as flow
actions without listing them in the actions section.
responses:
utter_greet:
- text: "Hey! How can I help you?"
utter_bye:
- text: "See you later!"
Insert slot values into responses using curly brackets. If the slot is empty or does not
exist, the variable is replaced with None.
Values can also be passed from a custom action via
dispatcher.utter_message(response="utter_greet_user", user_name="Sara").
responses:
utter_greet_user:
- text: "Hello, {user_name}! How can I assist you today?"
utter_order_status:
- text: "Your order {order_id} is currently {delivery_status}."
Multiple variations under the same response name make the assistant sound
less repetitive — Rasa picks one randomly at runtime. Optionally assign an id to each
variation so an external NLG server can identify which was selected.
responses:
utter_greet:
- id: "greet_1" # optional, for NLG server
text: "Hello! How can I help you?"
- id: "greet_2"
text: "Hi there! What can I do for you?"
- text: "Hey! How may I assist you today?" # id is optional
Buttons give users structured choices. Each button has a title (displayed text) and a
payload (message sent when clicked). Buttons skip the pipeline and directly annotate
the user message.
In CALM, use /SetSlots(slot_name=value) payloads to set slots directly. Multiple slots
can be set in one payload. Slot names must not contain (, ), =, , and slot
values must not contain ,, (, ).
responses:
utter_ask_card_type:
- text: "Which card would you like to use?"
buttons:
- title: "Credit"
payload: "/SetSlots(card_type=credit)"
- title: "Debit"
payload: "/SetSlots(card_type=debit)"
- title: "Premium Credit"
payload: "/SetSlots(card_type=credit, tier=premium)" # multiple slots
responses:
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
Send arbitrary JSON to the output channel via the custom key. Styling and rendering
are handled by the frontend or messaging channel.
responses:
utter_date_picker:
- custom:
blocks:
- type: section
text:
text: "Pick a date:"
type: mrkdwn
accessory:
type: datepicker
initial_date: "2026-01-01"
Variations can be filtered by slot conditions, channel, or both. When combined, Rasa selects in this priority order:
Select a variation based on slot values using the condition key with predicate
expressions (same syntax as flow conditions). Always include a default variation without
a condition.
responses:
utter_greet:
- condition: slots.prior_visits > 1 # returning user
text: "Welcome back, {name}! How are you?"
- condition: not slots.prior_visits # first visit
text: "Welcome! How can I help you today?"
- text: "Hello! How can I assist you?" # default fallback
Use the channel key to tailor responses per output channel. Rasa prefers
channel-specific variations for the active channel and falls back to variations without
a channel key.
responses:
utter_ask_game:
- text: "Which game would you like to play on Slack?"
channel: "slack"
- text: "Which game would you like to play?" # all other channels
Rasa has built-in default responses for patterns (e.g.
utter_can_do_something_else). Override them by defining a response with the
same name in your domain:
responses:
utter_can_do_something_else:
- text: "Is there anything else I can assist you with?"
Responses can be dynamically rephrased by the Contextual Response Rephraser.
Enable it per response with metadata: rephrase: True, or disable with
rephrase: False. See the rasa-rephrasing-responses skill for full details.
responses:
utter_greet:
- text: "Hey! How can I help you?"
metadata:
rephrase: True
For voice assistants, control whether users can interrupt the assistant while a response
is being spoken using allow_interruptions. Use allow_interruptions: false for
critical information (balances, disclaimers, compliance content, emergency
instructions).
responses:
utter_terms_and_conditions:
- text: "Please note the following terms and conditions..."
allow_interruptions: false # user must hear the full message
utter_ask_preference:
- text: "What would you like to do today?"
allow_interruptions: true # default
What SKILL.md sets; muted values are Claude Code's defaults
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.