Uses osascript to query the macOS Contacts app. macOS only. Requires Contacts permission on first run — macOS will show a prompt, click Allow.
No installation required. Just ensure the skill's scripts/ directory is intact after installing.
bash
# List all contacts
osascript <skill_dir>/scripts/contacts.applescript list
# Search by name (case-insensitive)
osascript <skill_dir>/scripts/contacts.applescript search "Alice"
# Get full details for a contact
osascript <skill_dir>/scripts/contacts.applescript get "Alice Smith"
Replace <skill_dir> with the absolute path to this skill's directory (use pwd inside the skill folder if unsure).
list / search: one line per match → Name | Phone | Emailget: full details (all phones, emails, birthday, notes), contacts separated by ---