phone_calendar_bulk_insert · wangzan101, tools — Claude Code prompt: what it does
phone_calendar_bulk_insert — a prompt for Claude Code inserts 1 to 100 events into an Android calendar in a single provider batch without opening the calendar UI.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/phone_calendar_bulk_insert.mdWhat phone_calendar_bulk_insert does
The prompt bulk-inserts between 1 and 100 events into a writable Android calendar in one provider operation. Every item requires title and start fields, while end, allDay, location, and description remain optional. The system validates all items before writing and returns one valid event ID per item upon success.
If the provider returns calendar_permission_required, nothing is written and calendar access must be granted in Android settings. The no_writable_calendar response requires enabling a writable calendar through the UI, whereas calendar_write_unconfirmed means events might already exist and retrying is blocked until the calendar is checked for duplicates.
What it helps with
- insert multiple calendar events in Android as a batch
- validate a batch of calendar events before writing
- add up to 100 events without opening calendar UI
- handle Android calendar permission and conflict errors
Example prompts for the agent
- Bulk insert events into the Android calendar
- Add multiple calendar entries in one batch
- Create calendar events without opening the app UI
How to install phone_calendar_bulk_insert
Manually: put the files in place
.claude/commands/phone_calendar_bulk_insert.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about phone_calendar_bulk_insert
How to install phone_calendar_bulk_insert in Claude Code?
Place the prompt file at .claude/commands/phone_calendar_bulk_insert.md in your project.
What does phone_calendar_bulk_insert do?
It inserts 1 to 100 events into a writable Android calendar in a single batch without launching the calendar screen.
What happens when calendar_permission_required is returned?
No data is written, and you must ask the user to grant calendar access in Android settings or use the UI.
Source text
phone_calendar_bulk_insert.md · Apache-2.0
Insert 1-100 events into a visible writable Android calendar in one provider batch, without opening a calendar screen. Prefer this over repeated phone_add_calendar_event calls for 3 or more events. Every item has the same fields as phone_add_calendar_event: title and start are required; end, allDay, location and description are optional. start and end are local date-times like 2026-11-02T14:30; for an all-day event give dates like 2026-11-02 with allDay=true. All items are validated before any write. Success means the provider returned one valid event id per item. If calendar_permission_required is returned, nothing was written: use phone_add_calendar_event and save through the calendar UI, or ask the user to grant calendar access in Android settings. If no_writable_calendar is returned, use the calendar UI or ask the user to enable a writable calendar. If calendar_write_unconfirmed is returned, some events may already exist: do not retry the batch or insert them through another path until the calendar has been checked for duplicates.
© wangzan101 · Apache-2.0 · wangzan101/Mika
Similar prompts
All prompts for Mobile →phone_calendar_bulk_insert by other authors comes first.