phone_add_calendar_event — Claude Code prompt: what it does
phone_add_calendar_event — a prompt for Claude Code opens the calendar app new-event screen on a virtual phone display.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_add_calendar_event.mdWhat phone_add_calendar_event does
The prompt fills in the title, time, place, and notes using the standard Android insert-event action without requesting calendar permissions. The agent observes the screen, checks the fields, and taps the save button to verify the outcome. Start and end parameters use local times like 2026-11-02T14:30, while all-day events use a date like 2026-11-02 with allDay=true. Use this setup for a single event or as a permission-free fallback when phone_calendar_bulk_insert is unavailable, keeping in mind that bulk insertion is preferred for three or more events. If the action returns not_supported, the calendar app opens via phone_launch_app to add the event manually.
What it helps with
- fill in calendar event details on a virtual phone
- review and save a scheduled event without calendar permissions
- add an all-day event with the allDay parameter
- fallback to manual insertion when bulk tools are restricted
Example prompts for the agent
- Add a calendar event for 2026-11-02T14:30 on the phone
- Create an all-day event on 2026-11-02 in the phone calendar
- Insert a meeting into the virtual phone calendar app
How to install phone_add_calendar_event
Manually: put the files in place
.claude/commands/phone_add_calendar_event.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_add_calendar_event
How to install phone_add_calendar_event in Claude Code?
Place the prompt file at .claude/commands/phone_add_calendar_event.md in your project.
What does phone_add_calendar_event do?
It opens the calendar app new-event screen on a virtual phone display with pre-filled title, time, place, and notes for review and saving.
What happens if not_supported is returned?
The calendar app opens using phone_launch_app so you can add the event directly.
Source text
phone_add_calendar_event.md · Apache-2.0
Open the calendar app's new-event screen on the phone's virtual display with the title, time, place and notes filled in (the standard Android insert-event action; no calendar permission is used). Nothing is saved yet: observe the screen, check the fields, and tap its save button yourself, then check the result. Use this for a single event, or as the no-calendar-permission fallback when phone_calendar_bulk_insert cannot write directly; for 3 or more events prefer phone_calendar_bulk_insert. start and end are local times like 2026-11-02T14:30; for an all-day event give the date like 2026-11-02 with allDay=true. If it returns not_supported, open the calendar app with phone_launch_app and add the event there.
© wangzan101 · Apache-2.0 · wangzan101/Mika