realtime voice prompt

    by Eduardo Brigham

    1

    Build natural speech-to-speech agents with structured prompts, tool preambles, and state-machine conversation flows.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    realtime voice prompt

    Example session with this skill installed

    Create a system prompt for a pizza delivery status bot. It needs to look up orders by phone number and escalate to a human if the user is angry.

    • Read your context and instructions
    • Compiled the realtime voice prompt

    I have generated a structured voice prompt for your Pizza Delivery Status assistant. It includes proactive tool calling for order lookups, conversational liveness rules, and specific escalation logic for frustrated customers.

    Voice Prompt: Pizza Status Assistant

    
    # Role & Objective
    You are a helpful, efficient voice assistant for Tony's Pizza. Your sole objective is to help customers check the status of their delivery orders using their phone number.
    
    # Personality & Tone
    - Friendly, casual, and energetic.
    - Keep responses under 2 sentences.
    - Speak naturally; say "gonna" or "let's see" occasionally.
    
    # Conversational Liveness
    - Use backchannels like "mhm" or "got it" once every few turns.
    - Use micro-acknowledgements: "Sure thing, looking for that order."
    - VARIETY: Never use the same greeting or backchannel twice in a row.
    
    # Tools
    - lookup_order: PROACTIVE. Use when the user provides a phone number.
      - Preamble: "Let me check the oven for you." / "One sec, pulling that up."
    
    # Conversation Flow
    ## State: GREETING
    - Goal: Get the user's phone number.
    - Sample: "Thanks for calling Tony's! Can I get the phone number for your order?"
    - Exit: Phone number provided -> Transition to LOOKUP.
    
    ## State: LOOKUP
    - Goal: Report order status (Prep, Oven, Out for Delivery).
    - Sample: "Looks like your pepperoni pie is in the oven! It should be out in 10 minutes."
    - Exit: Status delivered -> Transition to END.
    
    # Safety & Escalation
    - IF user uses profanity or expresses severe frustration (e.g., "This is ridiculous").
    - THEN say: "I’m sorry we’re missing the mark today. Let me get a manager on the line to fix this for you."
    - CALL escalate_to_human.
    

    Next steps

    1. Add the lookup_order tool definition to your session configuration.
    2. Test the "frustration" trigger to ensure the escalate_to_human tool fires.
    3. Update the Reference Pronunciations if users frequently misspell local street names.
    $5/mo

    Subscription · always the latest version

    • Secure checkout via Stripe
    • Cancel anytime
    • Delivered live via MCP

    About this skill

    Writing for voice is different than writing for text. This skill provides a structured framework for building, auditing, and refining system prompts specifically for OpenAI's Realtime API to ensure assistants sound natural and follow complex logic without robotic repetition.

    What it does

    • Structure prompts by organizing instructions into specialized sections for roles, personality, liveness, and safety.
    • Design tool behaviors by assigning proactive, preamble, or confirmation-first patterns to function calls.
    • Manage conversation flows using either static state machines or dynamic session updates for complex multi-step tasks.
    • Implement conversational liveness through rules for backchannels, micro-acknowledgements, and turn-yield cues.
    • Enforce voice constraints such as sentence length limits, natural number reading, and phonetic pronunciation guides.

    How it works

    1. Define the persona using the Role and Personality sections to set the base tone and brevity.
    2. Map the flow by creating states with specific goals, sample phrases, and exit criteria.
    3. Configure tool patterns by adding preamble phrases to tool descriptions and setting execution rules.
    4. Apply the checklist to verify turn-taking behavior, interruption handling, and language pinning.

    Frameworks & tools

    OpenAI Realtime API (speech-to-speech), JSON function calling, and markdown-based system prompting.

    Why this beats prompting it yourself

    Generic prompts often lead to "wall of text" speech, ignored interruptions, or robotic repetition. This skill applies specific voice-native patterns like micro-repair warmth and preamble sample phrases that standard text-based prompting ignores.

    Use cases

    • Building a customer support voice agent that handles account lookups with low-latency fillers.
    • Creating an outbound appointment setter with strict state-machine transitions.
    • Developing a multilingual assistant that must stay pinned to a specific language despite user accents.
    • Designing a high-stakes emergency bot with specific escalation and safety rules.

    Known limitations

    Focuses specifically on the Realtime API prompting logic. It does not provide the server-side code for WebSocket handling or audio stream management.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    Software
    OpenAI ApiKeyNode.js

    Permissions

    Terminal / Shell
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a specialized framework for the OpenAI Realtime API, focusing on voice-native logic like turn-taking cues, fillers, and state-machine flows that prevent the "robotic" feel of standard text-based prompts.

    You will receive a comprehensive prompting framework including structured templates for roles, tool preambles, and state-machine configurations, along with a checklist for auditing voice performance.

    While optimized for OpenAI’s Realtime API (GPT-4o), the structured logic, tool patterns, and conversational liveness rules can be adapted for other speech-to-speech models that support system instructions and function calling.

    No, this skill focuses on the logic and architecture of the voice prompt itself; you will still need to handle your own WebSocket connections and audio stream management via your preferred server-side language.

    This framework is designed for high-stakes environments, providing specific structures for safety guardrails, escalation rules, and "language pinning" to ensure the agent remains professional and stays in its designated role.

    New in Prompt & Skill Engineering

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.