Templates · Music
Play sleep sounds at bedtime
Play sleep sounds or white noise at bedtime.
Example template for a hypothetical music app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Play Sleep Sounds
- Set Sleep Timer
SKILL.md
Skills.skillsbundle/Skills/sleep-sounds/SKILL.md
---
name: sleep-sounds
description: Play sleep sounds or white noise at bedtime, for as long as the user wants, and stop them in the morning.
---
# Play sleep sounds
Use the Play Sleep Sounds tool to start the sound the user names, or a gentle white noise if they did not name one.
If the user gave a length, set a sleep timer for that long so the sound stops on its own.
If the user says stop in the morning, stop the sound and say good morning. Or install it into your bundle: npx siriskills add sleep-sounds --bundle MyApp/Skills.skillsbundle