Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/omarshahine/apple-pim/contactsgit clone --depth 1 https://github.com/omarshahine/apple-pimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/omarshahine/apple-pim/contacts)<a href="https://agentmods.dev/commands/omarshahine/apple-pim/contacts"><img src="https://agentmods.dev/badge/commands/omarshahine/apple-pim/contacts.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01156 |
| Opus 5 | $0.00009 | $0.00578 |
| Sonnet 5 | $0.00003 | $0.00231 |
| Haiku 4.5 | $0.00002 | $0.00116 |
Grade A, and why
contacts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Contact Management
Manage contacts using the Apple Contacts framework.
Available Operations
When the user runs this command, determine which operation they need and use the contact tool with the appropriate action:
List Containers
Use contact with action containers to show all contact accounts (iCloud, Exchange, Google, etc.).
List Groups
Use contact with action groups to show all contact groups.
List Contacts
Use contact with action list to list contacts:
- Optional:
group(filter by group),limit - Returns brief contact info (name, primary email, phone)
Search Contacts
Use contact with action search to find contacts by name, email, or phone:
- Required:
query(search term) - Optional:
limit - Searches across name, email addresses, and phone numbers
Get Contact Details
Use contact with action get to get full details for a contact:
- Required:
id(contact ID from list/search) - Returns all fields: emails, phones, addresses, birthday, notes, job title, organization, photo
Create Contact
Use contact with action create to create a new contact:
- Optional:
name(full name) ORfirstName/lastName - Optional:
container(target account name — usecontainersto see available accounts) - Optional:
email,phone,organization,jobTitle,notes,birthday
Update Contact
Use contact with action update to modify an existing contact:
- Required:
id(contact ID) - Optional:
firstName,lastName,email,phone,organization,jobTitle,notes,birthday - Only specified fields are changed; unspecified fields are preserved
Delete Contact
Use contact with action delete to remove a contact:
- Required:
id(contact ID)
Birthday Format
- With year:
YYYY-MM-DD(e.g.,1990-03-15) - Without year:
MM-DD(e.g.,03-15)
Examples
List contact accounts:
/apple-pim:contacts containers
List contact groups:
/apple-pim:contacts groups
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 129 lines · 17 tokens per session scan A 05d07c7f65db
contacts is a command published in the GitHub repository omarshahine/apple-pim (51 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,156 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
quick-event
Quickly create a calendar event from natural language when the time and place are already known and stated directly. For deriving an event from a source — a meeting notice, an announcement, a message thread — where the time may have been corrected and the basis should be recorded, use the archive-event skill instead.
remind
Create a reminder from natural language.
week
Show this week's calendar overview.
today
Show today's calendar events and pending reminders.
check-tcc
Print che-ical-mcp's current TCC permission state, binary path, and ready-to-paste reset / re-prompt commands. Use when user says "check TCC", "permission status", "tccutil"。.
journal
Write a journal entry for today's work session on the rem project.