agentleFS
danmestasdanmestas/wardrobe/skills/apple-contacts/SKILL.md

apple-contacts

Skill4 starsChanged 7 months agoMITView on GitHub

Search, list, create, update, and delete Apple Contacts via the `contactbook` CLI on macOS. Look up contacts by name, phone, email, or organization. Manage contact groups.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use contactbook to manage Apple Contacts from the terminal.

    line 17
  2. Very specific:

    Start MCP server: contactbook mcp serve

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Apple Contacts CLI (contactbook)

Use contactbook to manage Apple Contacts from the terminal. Supports searching, creating, updating, deleting contacts, managing groups, and phone number lookups.

Setup

  • Build from source: git clone https://github.com/RyanLisse/Contactbook && cd Contactbook && swift build -c release
  • Copy binary: cp .build/release/contactbook /opt/homebrew/bin/contactbook
  • macOS-only; grant Contacts permission when prompted on first run.

Permissions

  • On first run, macOS will prompt for Contacts access — click "Allow".
  • Or manually enable in System Settings → Privacy & Security → Contacts.

List Contacts

  • List all: contactbook contacts list
  • With limit: contactbook contacts list --limit 10
  • JSON output: contactbook contacts list --limit 10 --json

Search Contacts

  • By name/email/phone/org: contactbook contacts search "John" --json

Get Contact by ID

  • contactbook contacts get <contact-id> --json

Create Contact

  • contactbook contacts create --firstName "John" --lastName "Doe" --email "john@example.com" --phone "+1234567890"

Update Contact

  • contactbook contacts update <contact-id> --jobTitle "Engineer"

Delete Contact

  • contactbook contacts delete <contact-id> --force

Groups

  • List groups: contactbook groups list --json
  • Group members: contactbook groups members <group-id>

Phone Lookup

  • contactbook lookup "+15551234567" --json

Output Formats

  • JSON (scripting): add --json to most commands
  • Default: human-readable text

MCP Server

  • Start MCP server: contactbook mcp serve
  • Exposes all contact operations as MCP tools for AI agents.

Notes

  • macOS-only (uses Apple Contacts framework).
  • Requires Contacts permission — grant via System Settings if denied.
  • Built with Swift 6.0+ / Swift Argument Parser.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.