Back to Skills

c-contacts

daxaur
Updated 2 days ago
7 views
143
6
143
View on GitHub
Othercontactsaddress-bookpeoplephone

About

This Claude Skill enables developers to query and retrieve contact information directly from the macOS Contacts app using AppleScript commands. It allows you to search contacts by name, list all contacts, and fetch specific details like emails and phone numbers without needing a separate CLI tool. Use it to quickly integrate macOS contact data into your workflows or scripts.

Quick Install

Claude Code

Recommended
Primary
npx skills add daxaur/openpaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/daxaur/openpaw
Git CloneAlternative
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-contacts

Copy and paste this command in Claude Code to install this skill

Documentation

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

GitHub Repository

daxaur/openpaw
Path: skills/c-contacts
0
ai-agentanthropicautomationclaudeclaude-codecli

Related Skills

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill

quantizing-models-bitsandbytes

Other

This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.

View skill

dispatching-parallel-agents

Other

This Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.

View skill