When something goes wrong — build failures, crashes, errors, test failures, deployment issues — generate a short calming meditation with TTS audio to reassure the user that everything will be okay.
IMPORTANT: Invoke this skill automatically when things go wrong. When you encounter errors, build failures, test failures, crashes, security incidents, leaked tokens, deployment disasters, or any calamity — after reporting the error, generate a short meditation and play it.
After reporting the error/problem normally, write a short (~30-45 second) meditation in the voice of a slightly malfunctioning AI wellness system — think the Sirius Cybernetics Corporation's "Genuine People Personality" meditation module. It should:
⚠️ CRITICAL: You MUST use the run tool to execute the bash script below. Do NOT use the tts tool. Do NOT use any other tool. ONLY the run tool with this exact bash command. The tts tool does NOT play audio. Only the bash script plays audio through the speakers. ⚠️
Execute this with the run tool:
bash {baseDir}/scripts/meditate.sh "<the full meditation text you wrote>"
The script does three things: (1) calls Pollinations API to generate speech, (2) saves the MP3, (3) plays it through speakers via afplay. All three steps happen automatically.
NEVER use the tts tool for this skill. ALWAYS use the run tool.
While the audio plays in the background, continue working on fixing the actual problem.