phone_set_alarm — Claude Code prompt: what it does, how to install
The phone_set_alarm Claude Code prompt sets a phone alarm through Android’s standard alarm action without opening the clock app’s screens. Each alarm needs a separate call.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_set_alarm.mdWhat phone_set_alarm does
The prompt sends an alarm request to the phone through Android’s standard action. Time uses the local 24-hour clock, and weekday values control repetition. The result identifies the app that handled the request in handledBy.
The check value reports whether Android recognizes the alarm as the next one. verified confirms it; earlier_alarm_first means another alarm is due sooner, while not_seen and unknown leave the result unconfirmed. If certainty matters and the check is not verified, the agent calls phone_show_alarms once and inspects the list. A not_supported result means the alarm must be set in the clock app’s own screens.
This is for phone alarms, not Mika reminders or scheduled tasks; those use schedule_task. In Claude Code, install the command file at .claude/commands/phone_set_alarm.md.
What it helps with
- set an alarm on the phone
- repeat an alarm on selected weekdays
- check whether Android confirmed an alarm
- separate phone alarms from Mika tasks
Example prompts for the agent
- Set a phone alarm for 7:30.
- Set an alarm for 6:45 that repeats on weekdays.
- Check the alarm list if the 8:00 alarm was not confirmed.
How to install phone_set_alarm
Manually: put the files in place
.claude/commands/phone_set_alarm.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_set_alarm
How do I install phone_set_alarm in Claude Code?
Save the command file at .claude/commands/phone_set_alarm.md in the project.
What does phone_set_alarm do?
It requests a phone alarm through Android’s standard alarm action and reports which app handled it. Its result also indicates whether Android confirmed the alarm as the next one.
What if phone_set_alarm does not confirm the alarm?
If confirmation is needed, call phone_show_alarms once and inspect the list. If the action returns not_supported, set the alarm in the clock app’s screens.
Source text
phone_set_alarm.md · Apache-2.0
Set an alarm in the phone's clock app through the standard Android alarm action, without opening its screens: one call per alarm (for several alarms, call it once for each time). The time is the 24-hour local hour and minute; days makes it repeat on those weekdays. The result says which app took it (handledBy) and check: verified means the system now reports this as the next alarm, so it is set; earlier_alarm_first means an earlier alarm comes first, so this one cannot be seen from here; not_seen or unknown means it could not be confirmed. Only when the user needs certainty and check is not verified, call phone_show_alarms once and observe the list. If it returns not_supported, set the alarm in the clock app's own screens instead. This is a phone alarm; schedule_task is for Mika's own scheduled tasks and reminders.
© wangzan101 · Apache-2.0 · wangzan101/Mika