SkillsReviewed · SpillwaveSolutions

Automating Numbers

Automating Numbers is an AI assistant skill for Mac users and developers automating Apple Numbers, but its examples contain correctness issues that need attention before use. It combines JavaScript for Automation, Python API documentation and AppleScript-backed scripts for spreadsheet creation, reading, editing, sorting and export.

Researched 17 Nov 2026

In short.

Automating Numbers is an AI assistant skill for Mac users and developers scripting Apple Numbers, but several supplied examples need fixes before dependable use. Its useful material includes dictionary-guided JavaScript patterns, a substantial PyXA reference and four example scripts. The scripts themselves use AppleScript or JavaScript rather than PyXA. Important limitations include a save-path quoting defect, incomplete CSV serialization, inconsistent Python property access and clipboard helpers that depend on the current selection. Runtime correctness, compatibility and performance are unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all thirteen supplied files in plugins/automating-mac-apps-plugin/skills/automating-numbers: SKILL.md, eight references and four scripts, plus the repository-level LICENSE notice. Excludes the surrounding plugin, sibling skills, external documentation and dependency source code. No code was executed. Runtime correctness, installation, permissions, compatibility, performance and complete spreadsheet journeys remain unassessed.

The overview

Identity

automating-numbers is the Numbers-specific skill in SpillwaveSolutions/automating-mac-apps-plugin. It contains SKILL.md, eight reference documents and four scripts. Its instruction file describes spreadsheet automation through Numbers documents, sheets, tables, ranges and cells.

Original source: [https://github.com/SpillwaveSolutions/automating-mac-apps-plugin/tree/main/plugins/automating-mac-apps-plugin/skills/automating-numbers]. The surrounding plugin and sibling skills are separate resources.

Assessment

The skill provides useful starting material for understanding Numbers scripting and translating spreadsheet tasks into application commands. Named sheet and table access, dictionary translation notes and the Python object reference offer concrete guidance.

Dependable automation requires adaptation. The introductory Python examples disagree with the API reference about cell property access and table clearing. The creation and CSV scripts also have visible defects. No supplied execution results establish that the examples work together.

Users

The strongest fit is a developer or technically comfortable Mac user who needs to manipulate actual Numbers documents and can inspect generated scripts. Beginners can use the object-model explanations, but will need help resolving API inconsistencies and macOS permissions.

The skill excludes cross-platform requirements and real-time collaborative editing. Its focus is spreadsheet data operations; it refers broader macOS automation and complex interface interactions to the sibling automating-mac-apps skill.

Capabilities

The JavaScript material covers opening documents, locating sheets and tables, reading values, writing cells, setting colors, assigning formulas and sorting data outside Numbers. Formula notes acknowledge that separators can differ by system locale.

The PyXA reference describes document creation, including from existing templates, as well as sheet management, table sizing, cell formatting, merging, sorting, saving and export to PDF, Excel and CSV. These are documented interfaces, with no runtime confirmation supplied.

The four scripts illustrate sample spreadsheet creation, reading the first table, manually exporting that table to CSV and building a file inventory with one sheet per skill directory.

Using it

Requirements

The examples require macOS and Apple Numbers. The Python scripts require Python 3 and invoke the local osascript command using standard-library modules. PyXA is needed for the PyXA examples, and the Scripting Bridge examples require the corresponding Python bridge.

Interface automation uses System Events and depends on macOS automation and accessibility permissions. Detailed permission setup and PyXA installation are delegated to a sibling skill outside this folder. Supported macOS, Numbers, Python and assistant-host versions are unspecified.

Mechanism

The proposed approach starts with Numbers' AppleScript dictionary, the application's catalogue of scriptable objects and commands. JavaScript for Automation, or JXA, supplies logic around those objects. Its object references are specifiers: values are read through calls and changed through assignments.

The Python helper scripts construct AppleScript text and pass it to osascript. The clipboard technique converts a data matrix to tab-separated text, activates Numbers and sends Command-V through System Events. It relies on the existing interface selection rather than addressing the supplied table directly.

Setup

Keep SKILL.md together with its references and scripts directories. The folder supplies no host-specific installation command or supported-assistant list. Complete plugin installation and permission instructions are not included.

Before adapting an example, identify the actual document, sheet and table, and choose one scripting route. Reconcile Python examples with the installed PyXA API. The file-inventory script also requires replacing its author-specific SKILLS_PATH directory.

Example

The creation script is intended to create a spreadsheet containing Product and Price headers, followed by Widget A and 10.99. Its spreadsheet-name argument appears only in printed messages. Without a save path, it closes the document without saving; the save-path branch needs its quoting corrected.

The sorting example reads a table, preserves its first row as a header and sorts the remaining rows numerically by the second column in JavaScript. It treats falsy values as zero and delegates writing the result to the clipboard technique. This is a specific numeric example, with no demonstrated handling of mixed text, dates or formulas.

Assessment & evidence

Limitations

The creation script embeds an already quoted save command inside another quoted AppleScript condition without escaping the inner quotes. Its save-path branch therefore needs correction. File paths are also interpolated directly into AppleScript, so quotation marks in paths need handling.

The CSV exporter reads only the first table on the first sheet. It joins values with commas without quoting or escaping fields containing commas, quotation marks or line breaks. Cell-read failures become empty strings, which can conceal missing data.

The reader also covers only the first table on the first sheet. It prints raw AppleScript output and returns a success boolean; it does not produce a parsed matrix or JSON result. Its cell-read errors likewise become empty strings.

The introductory PyXA examples call cell.value(), while the API reference describes cell.value as a property. They also call table.clear(), whereas the reference documents table.cell_range.clear(). The clipboard helpers overwrite clipboard contents without restoration and do not select their target table. Tabs and newlines within cell data are not escaped.

Current API compatibility, large-workbook behavior, data-type preservation and performance remain unassessed. The validation checklist describes desired checks, with no accompanying results.

Design tradeoffs

Dictionary-based commands can avoid dependence on button positions for operations that Numbers exposes directly. The skill reserves interface scripting for gaps in that dictionary, although its clipboard write technique also depends on interface focus and selection.

Batch reads and sorting outside Numbers may reduce application calls. The Python read and export helpers instead iterate through individual cells, so the folder contains different performance approaches. No measured comparison establishes which is faster or more reliable for a particular workbook.

Alternatives

The skill identifies AppleScript alone as an option when JavaScript processing is unnecessary, and CSV/pandas for cross-platform data work. It presents PyXA and PyObjC Scripting Bridge examples for Python users.

The PyXA reference also describes native Numbers export to CSV, Excel and PDF. That offers another documented route alongside the bundled manual CSV exporter. Compatibility and comparative output quality are not established.

Evidence

The source material consists of the skill instructions, eight reference documents, four scripts and the repository MIT notice. Script contents establish implementation details such as first-table scope, clipboard behavior and manual CSV construction.

The PyXA API document links to external documentation and source code, but those external contents are not included. Its completeness and agreement with an installed PyXA release remain unknown. No execution, benchmark or end-to-end output evidence is supplied.

Access & freshness

Costs

Total setup and operating cost are unknown. The MIT licence permits reuse without a stated licence charge, but the files do not establish costs for hardware, required software, an assistant service or implementation work.

The bundled scripts use local application automation and show no paid API integration. No timings or benchmarks establish runtime savings or the effort needed to repair and maintain them.

Rights

The repository licence is MIT, with copyright attributed to Richard Hightower in 2024. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.

The software is supplied without warranty. The notice does not establish licensing terms for Apple Numbers, PyXA, PyObjC or other separately obtained dependencies.

Freshness

The source snapshot is revision 5f37bd4ecb1746fc86f3d618e8aa81fc6a61c486, captured on 17 November 2026 at 01:03:27.640 UTC. Pinned source: [https://github.com/SpillwaveSolutions/automating-mac-apps-plugin/tree/5f37bd4ecb1746fc86f3d618e8aa81fc6a61c486/plugins/automating-mac-apps-plugin/skills/automating-numbers]. Later changes are not assessed.

The API reference labels Numbers support new in PyXA version 0.0.8. This does not establish a currently supported dependency version. Compatibility with current macOS, Numbers and PyXA releases is unknown.

Practical next steps

Begin with a disposable workbook and explicit sheet and table names. Check a known cell read and write through the chosen scripting API, then verify formulas, numeric types and locale behavior before expanding to larger data operations.

Before using the supplied helpers for real work, correct the creation script's quoting, implement proper CSV serialization and add structured reader output where needed. Reconcile PyXA property access with the installed version. Clipboard-based writes need explicit target selection and clipboard restoration; the inventory script needs a local directory configuration.

Evidence for this report

LICENSEnotice · checked 2026-11-17