apple-contacts

Look up contacts from macOS Contacts.app. Use when resolving phone numbers to names, finding contact info, or searching the address book.

533 stars

Best use case

apple-contacts is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Look up contacts from macOS Contacts.app. Use when resolving phone numbers to names, finding contact info, or searching the address book.

Teams using apple-contacts should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/apple-contacts/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/apple-contacts/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/apple-contacts/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How apple-contacts Compares

Feature / Agentapple-contactsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Look up contacts from macOS Contacts.app. Use when resolving phone numbers to names, finding contact info, or searching the address book.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Apple Contacts

Query Contacts.app via AppleScript.

## Quick Lookups

```bash
# By phone (name only)
osascript -e 'tell application "Contacts" to get name of every person whose value of phones contains "+1XXXXXXXXXX"'

# By name
osascript -e 'tell application "Contacts" to get name of every person whose name contains "John"'

# List all
osascript -e 'tell application "Contacts" to get name of every person'
```

## Full Contact Info

⚠️ Don't use `first person whose` — buggy. Use this pattern:

```bash
# By phone
osascript -e 'tell application "Contacts"
  set matches to every person whose value of phones contains "+1XXXXXXXXXX"
  if length of matches > 0 then
    set p to item 1 of matches
    return {name of p, value of phones of p, value of emails of p}
  end if
end tell'

# By name
osascript -e 'tell application "Contacts"
  set matches to every person whose name contains "John"
  if length of matches > 0 then
    set p to item 1 of matches
    return {name of p, value of phones of p, value of emails of p}
  end if
end tell'
```

## Phone Lookup

⚠️ **Exact string match required** — must match stored format exactly.

| Stored | Search | Works? |
|--------|--------|--------|
| `+1XXXXXXXXXX` | `+1XXXXXXXXXX` | ✅ |
| `+1XXXXXXXXXX` | `XXXXXXXXXX` | ❌ |

Try with `+1` prefix first. If fails, search by name instead.

## Name Search

- Case-insensitive
- Partial match with `contains`
- Exact match: use `is` instead of `contains`

## Output

Returns comma-separated: `name, phone1, [phone2...], email1, [email2...]`

No match = empty output (not an error).

Related Skills

apple-reminders

533
from sundial-org/awesome-openclaw-skills

Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

apple-remind-me

533
from sundial-org/awesome-openclaw-skills

Natural language reminders that create actual Apple Reminders.app entries (macOS-native)

apple-photos

533
from sundial-org/awesome-openclaw-skills

Apple Photos.app integration for macOS. List albums, browse photos, search by date/person/content, export photos.

apple-notes

533
from sundial-org/awesome-openclaw-skills

Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks Clawdbot to add a note, list notes, search notes, or manage note folders.

apple-music

533
from sundial-org/awesome-openclaw-skills

Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

apple-music-2

533
from sundial-org/awesome-openclaw-skills

Apple Music integration via AppleScript (macOS) or MusicKit API

apple-media

533
from sundial-org/awesome-openclaw-skills

Control Apple TV, HomePod, and AirPlay devices via pyatv (scan, stream, playback, volume, navigation).

apple-mail

533
from sundial-org/awesome-openclaw-skills

Apple Mail.app integration for macOS. Read inbox, search emails, send emails, reply, and manage messages with fast direct access (no enumeration).

apple-mail-search

533
from sundial-org/awesome-openclaw-skills

Fast & safe Apple Mail search with body content support.

apple-mail-search-2

533
from sundial-org/awesome-openclaw-skills

Fast Apple Mail search via SQLite on macOS. Search emails by subject, sender, date, attachments - results in ~50ms vs 8+ minutes with AppleScript. Use when asked to find, search, or list emails.

apple-docs

533
from sundial-org/awesome-openclaw-skills

Query Apple Developer Documentation, APIs, and WWDC videos (2014-2025). Search SwiftUI, UIKit, Objective-C, Swift frameworks and watch sessions.

apple-docs-mcp

533
from sundial-org/awesome-openclaw-skills

No description provided.