What problem does it solve?
This Skill solves reliable macOS UI automation when you need to interact with app controls through Accessibility APIs (AXUIElement), reducing flaky tests caused by permission issues, stale element references, and missing state validation.
Core Features & Use Cases
- Accessibility Permission (TCC) Validation: Ensures automation only proceeds after checking Accessibility trust to avoid silent failures and reduce unsafe permission misuse.
- AXUIElement Safety & Resilient Element Resolution: Prevents crashes and misclicks by avoiding cached/stale references and by validating attributes before use.
- Secure, Bounded UI Traversal & Safe Actions: Adds depth/result/time limits for UI hierarchy search and verifies element enabled/visible state before performing actions, helping prevent unexpected behavior.
- Observer Lifecycle Management (when needed): Uses properly cleaned-up AXObserver patterns to avoid leaks during event monitoring.
Quick Start
Use the macos-accessibility skill when you want your AI-assisted agent or test tool to inspect and safely click macOS UI elements using AXUIElement after verifying Accessibility permission has been granted.