In short.
Automating Contacts is an assistant skill for Mac users and developers scripting Apple's Contacts app, but its Python helpers need reconciliation with the included API reference before dependable use. Its clearest value is the JXA guidance on querying, creating records, handling multiple email addresses and managing groups. The Python scripts use different collection and property-access patterns from those documented, the importer has no explicit save call, and the export and import CSV formats do not match. No scripts or examples were executed; compatibility, persistence and performance remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises all nine supplied files under plugins/automating-mac-apps-plugin/skills/automating-contacts: SKILL.md, five references and three Python scripts, plus the repository-root LICENSE. All are tied to source revision 5f37bd4ecb1746fc86f3d618e8aa81fc6a61c486. The separate automating-mac-apps skill, broader plugin installation metadata, PyXA implementation and linked upstream documentation are outside this scope. No code was executed. Runtime compatibility, permission setup, persistence, completeness and performance remain unverified.
The overview
identity
Automating Contacts is the automating-contacts skill folder in SpillwaveSolutions/automating-mac-apps-plugin. The original source is [https://github.com/SpillwaveSolutions/automating-mac-apps-plugin/tree/main/plugins/automating-mac-apps-plugin/skills/automating-contacts].
The folder contains assistant instructions in SKILL.md, five reference documents and three Python helpers. Its main approach uses JavaScript for Automation, or JXA, to control Contacts through the application's scripting interface. PyXA provides an optional Python approach.
assessment
The resource is most useful as a Contacts scripting reference for someone willing to inspect and adapt examples. It explains practical details that broad automation guides can miss: reading properties through JXA methods, constructing multi-value fields, saving mutations and guarding group membership.
The bundled Python helpers warrant caution. All three call contacts_app.contacts(), while the included PyXA reference documents people(). They also call values such as first_name() and email.value() as methods, while that reference documents single-object properties. These are visible inconsistencies; whether any particular PyXA version supports those calls is unknown.
users
The strongest fit is a Mac user or developer using a tool-capable assistant to prepare local Contacts automation. Beginners receive an explanation of contact fields and scripting conventions, but still need help with permissions, JavaScript or Python errors, and verification of saved changes.
Experienced developers gain field mappings, filtering patterns and guidance for application-bridge edge cases. The skill itself advises other approaches for cross-platform contact management, iCloud synchronization and user-facing applications.
capabilities
The JXA material covers contact queries, creation and updates, email addresses, phone numbers, postal addresses, custom dates and groups. It includes coarse application-side filtering followed by JavaScript refinement, plus guarded group creation and membership examples.
The Python helpers are intended to export six CSV columns, import names with one email address and phone number per row, and search names with optional email and phone matching. The PyXA reference also describes deletion, vCard import, contact display and bulk property access. These are documented or code-visible capabilities, with no demonstrated runtime results.
Using it
requirements
The JXA approach requires macOS, Contacts and a scripting host with permission to access Contacts. The guide recommends Script Editor for inspecting the application's scripting dictionary. TCC refers to macOS privacy controls; the executing host, such as Terminal or Script Editor, needs the relevant access. Photo and UI fallback work may require Accessibility access.
The Python helpers require Python 3 and PyXA. No tested macOS range or pinned PyXA dependency is supplied. The skill declares Bash, Read and Write tools, but supported assistant products and host versions are not established.
mechanism
The skill recommends discovering Contacts commands in its AppleScript dictionary, then implementing them in JXA. JXA object specifiers are references to application objects: the guide distinguishes a collection reference from fetching its contents, and reads such as person.firstName() from assignments such as person.firstName = "Ada".
Email addresses, phone numbers and postal addresses are treated as child elements that must be constructed and pushed into collections. Mutations are followed by Contacts.save(). Filtering and batch property reads are suggested to reduce repeated calls into Contacts; no measured speedup is provided.
setup
Acquire the skill folder and its accompanying files from the pinned source [https://github.com/SpillwaveSolutions/automating-mac-apps-plugin/tree/5f37bd4ecb1746fc86f3d618e8aa81fc6a61c486/plugins/automating-mac-apps-plugin/skills/automating-contacts]. The supplied files do not establish a complete plugin installation command or host-specific loading procedure.
The documented preparation is to authorize the executing host, inspect the Contacts dictionary and validate a minimal AppleScript example before porting it to JXA. The skill refers to the separate automating-mac-apps skill for broader permission setup and PyXA installation; those companion instructions are outside the supplied material.
example
The quickstart searches for ada@example.com, reuses the first matching person or creates one, assigns Ada Lovelace's name, appends a Work email and saves. It then finds or creates a VIP group, adds the person and saves again. This illustrates the intended path from lookup through mutation to group membership.
Its repeatability needs attention: the email is appended even when the person already exists, and group membership is added without a duplicate check. A repeated run therefore attempts those additions again. The separate recipes document a membership existence check, but the quickstart does not establish a duplicate-safe upsert.
Assessment & evidence
limitations
The importer has no explicit save call or persistence check, unlike the included PyXA examples. It identifies duplicates solely by exact first and last name, so distinct people sharing a name can be skipped. It also scans existing contacts for each row; performance at scale is unmeasured.
The CSV helpers do not provide a matching round trip. Export writes plural emails and phones columns containing labelled, semicolon-separated values; import reads singular email and phone columns. Import also ignores the exported company and job_title columns. The export omits fields such as postal addresses, photos and group membership, so it is not a complete Contacts backup.
Export and search suppress some field-reading exceptions. Export and import can return success after processing at least one record despite other failures, so a zero (successful) exit status does not establish completeness. Separately, the advanced guide identifies fragile complex filters, awkward photo bridging and limitations around yearless birthdays.
reasoning
The practical recommendation is to use the JXA material as a starting reference and budget for adaptation. Its field mappings and guarded group recipe provide concrete implementation guidance. Confidence in the Python helpers is lower because their collection access, property access and saving patterns differ from their own reference, and their CSV formats visibly disagree. This judgment follows from the supplied text and code; it does not establish actual runtime failures.
alternatives
The skill suggests plain AppleScript for simple scripting tasks, the native Contacts framework for user-facing applications or iCloud-related work, and CardDAV or vCard APIs for cross-platform contact management. It points to Shortcuts for geofencing triggers.
For Python developers, the included reference points to upstream PyXA documentation [https://skaplanofficial.github.io/PyXA/reference/apps/contacts.html]. That page's contents were not supplied, so its current API and compatibility are not assessed. No comparative reliability, performance or cost results are available for these alternatives.
evidence
The available evidence comprises the skill instructions, five reference documents, three Python scripts and the repository MIT notice at one source revision. These establish documented intent and visible implementation details. They contain no execution traces, automated test results, independent benchmarks or supported-version matrix.
No scripts or examples were executed. Successful contact changes, durable saving, complete exports and compatibility with a particular macOS or PyXA installation remain unverified.
Access & freshness
costs
Purchase, subscription and operating costs are unknown. The MIT notice grants software permissions free of charge, but this does not establish the total cost of a compatible Mac, assistant host or optional dependency setup. No model provider, model usage charge or paid service requirement is specified in the supplied files.
rights
The repository-root MIT licence names Richard Hightower, copyright 2024. It permits use, modification, publication, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties and liability.
That notice supports redistribution of the captured skill files with the notice retained. It does not establish the separate licence terms of PyXA, whose implementation and licence are not supplied.
freshness
The supplied snapshot is commit 5f37bd4ecb1746fc86f3d618e8aa81fc6a61c486, captured on 16 November 2026 at 07:49:34.410 UTC. The capture date does not establish the last maintenance date or the current contents of the main branch.
The PyXA reference mentions version 0.0.2 as a historical introduction note; it does not pin the helpers to that version or establish a supported release. Current macOS and PyXA compatibility are unknown.
actions
Before adopting the Python helpers, reconcile their collection, property and object-creation calls with the intended PyXA version. Add explicit saving and read-back verification to the importer, align the CSV schemas and decide how to distinguish people who share a name. Make partial failures visible rather than relying only on exit status.
For JXA adoption, begin with a read-only query and back up Contacts before attempting writes. Check repeat runs for duplicate emails and group membership, use the guarded group recipe, and verify a small sample of saved records before bulk changes. These are recommended validation steps, not completed tests.
