Skip to content
Agent Memory
Skill

/c-contacts

macOS Contacts — search, list, and look up contact details via AppleScript.

BOOST
From plugin
openpaw
17342 skills
Install
$ npx -y skills add daxaur/openpaw --skill c-contacts --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/c-contacts

Context preview

The summary Claude sees to decide when to auto-load this skill.

macOS Contacts — search, list, and look up contact details via AppleScript.

SKILL.md

c-contacts.SKILL.md
name: c-contacts
description: macOS Contacts — search, list, and look up contact details via AppleScript.
tags: [contacts, address-book, people, phone]

Contacts — Address Book

Access macOS Contacts app via AppleScript. No CLI tool needed.

Commands

# Search for a contact by name
osascript -e 'tell application "Contacts"
  set results to (every person whose name contains "John")
  set output to ""
  repeat with p in results
    set output to output & name of p & linefeed
    repeat with e in emails of p
      set output to output & "  Email: " & value of e & linefeed
    end repeat
    repeat with ph in phones of p
      set output to output & "  Phone: " & value of ph & linefeed
    end repeat
    set output to output & linefeed
  end repeat
  return output
end tell'

# Get all contact names
osascript -e 'tell application "Contacts" to get name of every person'

# Get a specific contact's email
osascript -e 'tell application "Contacts"
  set p to first person whose name is "John Smith"
  get value of every email of p
end tell'

# Get a specific contact's phone
osascript -e 'tell application "Contacts"
  set p to first person whose name is "John Smith"
  get value of every phone of p
end tell'

# Count contacts
osascript -e 'tell application "Contacts" to count every person'

# Search by email
osascript -e 'tell application "Contacts"
  set results to (every person whose value of emails contains "john@")
  get name of results
end tell'

Guidelines

  • Always search by partial name (uses `contains`) to be flexible
  • Return name, email, and phone by default
  • If multiple matches, list all and let the user pick
  • Contacts app does not need to be running — AppleScript handles it
  • Never store contact details in memory files for privacy
  • If asked "what's [name]'s number?", search contacts first, then memory
Read more
Ships withopenpaw

Personal Assistant Wizard for Claude Code — npx pawmode

Get the whole plugin
Stats
173
Stars
12
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
5mo ago
Last commit
7mo ago
Created
4h ago
Added

Repo: daxaur/openpaw

Other skills on openpaw.

c-ai
Skill

c-ai

Query LLMs from the CLI — pipe text for summarization, chat interactively, use local or cloud models with llm or aichat.

@daxaur@daxaurInstall Skill
c-browser
Skill

c-browser

Headless browser automation — navigate pages, click elements, fill forms, take screenshots, scrape content using agent-browser or…

@daxaur@daxaurInstall Skill