apple-reminders
/apple-reminders
Odczytuje i zapisuje Apple Reminders na macOS z opóźnieniem poniżej sekundy przez binarkę EventKit: listuje, tworzy, aktualizuje, kończy i usuwa przypomnienia oraz wykonuje zapytania o dzisiejsze, zaległe i zaplanowane zadania.
- Autor
- high5-ventures ↗
- Repozytorium
- apple-reminders-for-claude ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 19.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Odczytuje i zapisuje Apple Reminders na macOS z opóźnieniem poniżej sekundy przez binarkę EventKit: listuje, tworzy, aktualizuje, kończy i usuwa przypomnienia oraz wykonuje zapytania o dzisiejsze, zaległe i zaplanowane zadania.
Oryginalny opis (EN)
Read and write Apple Reminders on macOS with sub-second latency via a self-contained EventKit binary. Use this skill whenever the user wants to list, create, update, complete, or delete reminders, inspect reminder lists, or run smart queries (today, overdue, scheduled, full-text search). Works with any UI language — match on intent, not keywords.
Jak działa
- When to use this skill
- Safety semantics
- Prerequisites
- Execution protocol
- Argument encoding rules
- Command catalog
- Known limitations
- AppleScript fallback for flagged
- If the binary is missing
- Error codes
Podgląd SKILL.md
---
name: apple-reminders
description: Read and write Apple Reminders on macOS with sub-second latency via a self-contained EventKit binary. Use this skill whenever the user wants to list, create, update, complete, or delete reminders, inspect reminder lists, or run smart queries (today, overdue, scheduled, full-text search). Works with any UI language — match on intent, not keywords.
---
# Apple Reminders
This skill wraps a small, self-contained Swift binary (`reminders-eventkit`) that speaks Apple's EventKit framework directly. It is 10-200× faster than the AppleScript alternative and returns structured JSON for every operation. The skill never improvises AppleScript at runtime — every call is a single shell invocation against the binary.
**Language neutrality.** This skill is intentionally language-agnostic. Match the user's intent, not specific keywords — a user writing in German ("Leg mir eine Erinnerung an"), French ("Ajoute un rappel"), Spanish, or any other language should be served identically. Reply to the user in whatever language they wrote in. Reminder content (titles, notes, list names) is passed through verbatim as UTF-8; umlauts, accents, CJK characters, and emoji work without special handling.
## When to use this skill
Load this skill whenever the user's intent involves Apple Reminders: listing or inspecting reminder lists, creating/updating/completing/deleting individual reminders, or running smart queries across lists (what's due today, what's overdue, what's currently scheduled, full-text search). This applies regardless of the language the user writes in.
Do **not** use this skill for Calendar events, Notes, Mail, or Contacts — those belong to separate skills.
## Safety semantics
Commands fall into three risk tiers. Respect the tier when deciding whether to confirm with the user first:
| Tier | Commands | Confirmation |
|---|---|---|
| **read-only** | `list-lists`, `get-list-info`, `list-reminders`, `search-reminders`, `get-today`, `get-overdue`, `get-scheduled`, `get-reminder` | no confirmation needed |
| **additive** | `create-reminder` | proceed unless user's intent is ambiguous |
| **destructive** | `update-reminder`, `complete-reminder`, `uncomplete-reminder`, `delete-reminder` | confirm before calling when the target is inferred rather than explicitly named |
Destructive operations are idempotent — running them twice yields the same end state — but they mutate user data and cannot be undone from within this skill (the user has to restore via Time Machine or iCloud).
## Prerequisites
- macOS 11 or later with the Reminders app present, on Apple Silicon or Intel.
- The signed binary at `${CLAUDE_SKILL_DIR}/bin/reminders-eventkit`. If it's missing, see "If the binary is missing" below.
- The `Bash` tool must be available. Every command below is a Bash invocation of the binary; only the optional flagged fallback at the end runs AppleScript, also through Bash.
- On first run, macOS shows a Privacy permission dialog for Reminders access. The user grants it once and it persists until revoked in *System Settings → Privacy & Security → Reminders*.
## Execution protocol
Every function is a single shell invocation. Do not deviate.
1. **Pick the command** from the catalog below based on the user's intent.
2. **Invoke the binary** via the `Bash` tool:
```bash
${CLAUDE_SKILL_DIR}/bin/reminders-eventkit <command> [args...]
```
3. **Parse the stdout** — exactly one line of JSON is printed. It's always one of:
- `{"status":"ok","data": <payload>}` — success.
- `{"status":"error","code":"<TOKEN>","message":"<text>"}` — failure.
4. **Exit code** matches: `0` for ok, `1` for error. You can rely on either signal.
5. **Present the result** to the user in their language. Never leak the raw JSON unless they asked for it.
## Argument encoding rules
Commands that take structured data use JSON payloads. Commands that take simple scalars use plain positional arguments.
**JSON payload via stdin — required for `create-reminder` and `update-reminder`.** Pass the literal sentinel `-` as the single positional argument and stream the JSON on stdin. This is the **only** correct way to pass user-supplied content: shell-quoting arbitrary strings from a user message is unsafe and will break on quotes, backticks, `$`, newlines, or any bracket the shell tries to glob. The `Bash` tool supports stdin via a here-doc:
```bash
${CLAUDE_SKILL_DIR}/bin/reminders-eventkit create-reminder - <<'JSON'
{"list":"Groceries","title":"Buy milk","body":"organic, 1.5l","dueDate":"2026-04-11T18:00:00","priority":5}
JSON
```
Build the JSON with a proper JSON encoder (e.g. `jq -n`, a Python one-liner, or by assembling an object literal) — never by string concatenation of user content. The `<<'JSON'` form (note the single quotes around the tag) disables all shell interpolation inside the heredoc, so the payload is passed through bit-for-bit.
**Scalar arguments** (list names, IDs, filters): quote each with double quotes to handle spaces. Example:
```bash
${CLAUDE_SKILL_DIR}/bin/reminders-eventkit list-reminders "Reise und Freizeit" "open"
```
**Disambiguating duplicate list names.** Multiple reminder lists can share the same title (common when you have both an iCloud "Personal" list and a local one). Every command that accepts a list name also accepts `id:<calendar_identifier>` — take the stable `calendar_identifier` from a prior `list-lists` call. If a plain title is ambiguous, the binary returns `LIST_AMBIGUOUS` with a `candidates` array listing each matching list's name, account, and `calendar_identifier`; surface the ambiguity to the user, pick the intended one, and retry with `id:...`.
**Date format**: ISO-8601 local time, seconds precision, no timezone suffix: `2026-04-11T18:00:00`. The binary also accepts full ISO-8601 with a timezone offset (e.g. `2026-04-11T18:00:00+02:00`). For a reminder due on a day without a time, pass the date only: `2026-04-11`. It gets no alert, like one created in the Reminders app with "Time" off; a `dueDate` with a time also sets an alert at that time. Read results report such a reminder's `due_date` the same way, as `2026-04-11`. Never pass natural-language date strings — parse those yourself first. If `dueDate` is present but unparseable, the binary returns `INVALID_PAYLOAD` rather than silently dropping the field.
## Command catalog
| Command | Arguments | Returns (on success) |
|---|---|---|
| `list-lists` | — | `{"lists":[{"name","account","calendar_identifier","open_count","completed_count"}]}` |
| `get-list-info` | `<listName>` | `{"name","account","calendar_identifier","open_count","completed_count"}` |
| `list-reminders` | `<listName> <filter>` | `{"reminders":[<reminder>...]}` |
| `search-reminders` | `<query> <filter> <limit>` | `{"reminders":[<reminder>...]}` |
| `get-today` | — | `{"reminders":[<reminder>...]}` |
| `get-overdue` | — | `{"reminders":[<reminder>...]}` |
| `get-scheduled` | — | `{"reminders":[<reminder>...]}` |
| `get-reminder` | `<id>` | `{"reminder": <reminder>}` |
| `create-reminder` | `-` (JSON on stdin) | `{"reminder": <reminder>}` |
| `update-reminder` | `-` (JSON on stdin) | `{"reminder": <reminder>}` |
| `complete-reminder` | `<id>` | `{"reminder": <reminder>}` |
| `uncomplete-reminder` | `<id>` | `{"reminder": <reminder>}` |
| `delete-reminder` | `<id>` | `{"deleted_id": "..."}` |
### Filter values
`<filter>` is always exactly one of: `open`, `completed`, `all`. Any other value returns `INVALID_FILTER`.
### create-reminder payload
```json
{
"list": "Groceries", // required
"title": "Buy milk", // required
"body": "organic, 1.5l", // optional
"dueDate": "2026-04-11T18:00:00", // optional, ISO-8601, or "2026-04-11" without a time
"priority": 5 // optional, one of 0|1|5|9, default 0
}
```
### update-reminder payload
```json
{
"id": "B769EAF1-7271-4EE7-B228-8A0FD6B65B47", // required
"title": "...", // optional, replaces
"body": "...", // optional, replaces
"dueDate": "2026-04-11T18:00:00", // optional, replaces the due date and its alerts
"clearDueDate": true, // optional, wipes due date explicitly
"priority": 5 // optional
}
```
Use `clearDueDate: true` to distinguish "remove the due date" from "leave unchanged" (which is what happens when you omit `dueDate`).
### Reminder schema (returned by every read function)
```json
{
"id": "B769EAF1-7271-4EE7-B228-8A0FD6B65B47",
"name": "Buy milk",
"body": "organic, 1.5l",
"due_date": "2026-04-11T18:00:00",
"remind_me_date": "2026-04-11T18:00:00",
"completed": false,
"completion_date": null,
"priority": 5,
"flagged": false,
"list": "Groceries"
}
```
Optional fields are `null` when not set. A `due_date` without a time is a date only, such as `"2026-04-11"`. Field names are stable — the skill and any downstream consumers can depend on them.
## Known limitations
### `flagged` is not readable or writable via EventKit
Apple's EventKit framework does not expose the "flagged" attribute that the Reminders UI shows. The binary has no flagged query, every reminder it returns carries `"flagged": false` whatever the Reminders app shows, and the create/update payloads have no `flagged` field. If the user explicitly needs flagged queries, tell them this limitation and offer to fall back to the AppleScript path described below.
### Completed-count may differ from the Reminders UI
EventKit returns the true completed count from the database. The Reminders app UI may hide completed items based on a user preference (*Reminders → Settings → Show → Completed: All / Last 30 Days / ...*). If the user is surprised by a high `completed_count`, point them at that setting.
### Creating, renaming, or deleting **lists** is not supported
v1 is read/write on reminders within existing lists only. List management (create/rename/delete) would require additional EventKit calls and is deliberately deferred to keep the binary small. If the user asks to create a list, tell them to create it manually in the Reminders app once, then the skill can write into it freely.
### Sub-tasks, tags, attachments, and recurrence are not supported
Same reasoning — deferred to keep the surface area small. Sub-tasks in particular require the macOS 13+ subreminder API and careful parent-child handling.
## AppleScript fallback for `flagged`
If the user absolutely needs flagged-reminder queries, there is a pre-built AppleScript template at `scripts/get_flagged.applescript` plus a prelude at `lib/_prelude.applescript` that together implement this one missing query. Concatenate them (body first, then prelude) and pipe the result into `osascript` via Bash:
```bash
cat "${CLAUDE_SKILL_DIR}/scripts/get_flagged.applescript" \
"${CLAUDE_SKILL_DIR}/lib/_prelude.applescript" | osascript
```
It prints the same `{"status":"ok","data":{"reminders":[...]}}` envelope as the binary. macOS may first ask the user to let the terminal control Reminders. This fallback is **only** for flagged queries and is slow on large databases — use it sparingly.
## If the binary is missing
Do not compile anything on the user's machine. The binary is a signed, notarized release artifact:
- **Installed as a Claude Code plugin:** the plugin's SessionStart hook downloads the binary for the installed version, verifies its signature, and links it into `bin/`. It runs when a session starts, so ask the user to start a new session; if the hook failed, its error output says why (most often no network access to GitHub).
- **Copied in as a standalone skill:** the binary is part of the copied directory. Ask the user to download `reminders-eventkit` from the [latest release](https://github.com/high5-ventures/apple-reminders-for-claude/releases/latest) into `${CLAUDE_SKILL_DIR}/bin/` and make it executable (`chmod +x`), or to copy the skill again from `dist/skill/` after running `./build.sh skill` in a checkout of the repository.
## Error codes
- `LIST_NOT_FOUND` — the named list doesn't exist. Run `list-lists` to show the user what's available.
- `LIST_AMBIGUOUS` — the list name matches more than one calendar (e.g. iCloud "Personal" and a local "Personal"). The response carries a `candidates` array with each match's `calendar_identifier`; surface the options to the user and retry with `id:<calendar_identifier>`.
- `REMINDER_NOT_FOUND` — the ID is unknown. Usually means a stale ID from a previous session; re-query.
- `INVALID_PRIORITY` — priority was not one of `0|1|5|9`.
- `INVALID_FILTER` — filter was not one of `open|completed|all`.
- `INVALID_PAYLOAD` — the JSON payload couldn't be parsed, was missing a required field, or contained an unparseable `dueDate`. The message says which.
- `UNKNOWN_COMMAND` — the first positional argument wasn't one of the commands listed in the catalog above. Usually a typo.
- `PERMISSION_DENIED` — macOS refused Reminders access. Tell the user to approve it in *System Settings → Privacy & Security → Reminders*.
- `PERMISSION_UNAVAILABLE` — macOS refused the request without showing a dialog, so there is no entry in System Settings to switch on. Granting or resetting permissions cannot fix it; show the user the message and point them at the project's issue tracker.
- `SAVE_FAILED` / `DELETE_FAILED` — EventKit refused the write. Rare; usually transient. Retry once, then show the user the raw message.
## Worked example
User: *"Add 'Buy milk' to my Groceries list for tomorrow at 6 PM, note: 'organic, 1.5l'."*
```bash
${CLAUDE_SKILL_DIR}/bin/reminders-eventkit create-reminder - <<'JSON'
{"list":"Groceries","title":"Buy milk","body":"organic, 1.5l","dueDate":"2026-04-12T18:00:00","priority":0}
JSON
```
Response:
```json
{"status":"ok","data":{"reminder":{"id":"...","name":"Buy milk","body":"organic, 1.5l","due_date":"2026-04-12T18:00:00",...}}}
```
Confirm to the user in their language, e.g. *"Done — 'Buy milk' ist auf deiner Groceries-Liste, fällig morgen 18 Uhr."*
### Handling ambiguous list names
If `create-reminder` returns:
```json
{"status":"error","code":"LIST_AMBIGUOUS","message":"Multiple reminder lists match 'Personal'. ...","candidates":[{"name":"Personal","account":"iCloud","calendar_identifier":"A1B2..."},{"name":"Personal","account":"On My Mac","calendar_identifier":"C3D4..."}]}
```
show the user the two candidates, ask which one they meant, and retry with `"list":"id:A1B2..."` in the payload.
Pliki w paczce (3)
- SKILL.md 14 KB
- lib/_prelude.applescript 5 KB
- scripts/get_flagged.applescript 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · high5-ventures/apple-reminders-for-claude | 100 | MIT |
| openminis/minisskills | 100 | MIT |
| microclaw/microclaw | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 6cc1094776ce (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100reminders
Odczytuje i zapisuje przypomnienia Apple przez polecenie remindctl: pokazuje dzisiejsze i zaległe, szuka, dodaje, edytuje i oznacza jako zrobione. - 100apple-pim
Zarządza na macOS kalendarzami, przypomnieniami, kontaktami i lokalną pocztą Mail.app: planuje spotkania, tworzy wydarzenia i zadania, wyszukuje kontakty, porządkuje wiadomości i diagnozuje uprawnienia EventKit. - 100apple-pim
Zarządza na macOS kalendarzami, przypomnieniami, kontaktami i lokalną pocztą Mail.app: planuje spotkania, tworzy wydarzenia i zadania, wyszukuje kontakty, porządkuje wiadomości i diagnozuje uprawnienia EventKit. - 100automating-reminders
Automatyzuje Przypomnienia Apple przez JXA: listy i przypomnienia, filtrowanie zapytaniami whose, wydajne tworzenie przez konstruktory i push oraz przenoszenie przez kopiowanie i usuwanie. - 100mail2reminders
Wyciąga daty i godziny z wiadomości Apple Mail i tworzy z nich przypomnienia z alarmami w Apple Przypomnieniach. - 100remind
Dodaje, znajduje, zmienia i kończy przypomnienia Apple na Macu przez CLI remind, synchronizowane z iPhone przez iCloud.