--- name: add-voice-input-to-your-agent description: "Typing every request gets old, but voice adds new ways to break. Your AI plans the hook so late or repeat results don't cause trouble. Use for: Add voice input to your agent." --- # Add voice input to your agent Typing every request gets old, but voice adds new ways to break. Your AI plans the hook so late or repeat results don't cause trouble. ## What you need from the user - The transcription service's docs - Where voice messages come from - Your agent's code for new messages ## What to give back A plan and draft code for a voice hook that tracks each message and its result, with tests for delays and repeats. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me add voice input to my agent using a transcription service I already have. Transcription API docs (submit, callback, result): [paste] Where audio comes from: [for example, Telegram voice notes] Code that handles incoming messages now: [paste] Who may send voice commands: [describe] 1. Match each voice message to its transcription job and result. 2. Handle late callbacks, duplicate results and failed jobs. 3. When a transcript is unclear and the action matters, ask me before acting. 4. Write the change as a diff on a new branch, with tests that use fake audio and fake results. Use placeholder keys, never real tokens. I'll review, test and turn it on myself. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Give the hook a limited token. Don't let voice commands send messages or spend money without a check. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/have-an-agent-add-voice-input-using-an-existing-transcription-service-5121a1021fdb/ Original report: https://ibcsc.be/techblog/openclaw-test-deux-semaines-agent-ia?lang=en BotCurrent has not tested this skill. Check the result before you use it.