Back to Skills

macos-accessibility

Expert in macOS Accessibility APIs (AXUIElement) for desktop automation. Specializes in secure automation of macOS applications with proper TCC permissions, element discovery, and system interaction. HIGH-RISK skill requiring strict security controls.

27stars3forksUpdated 3/7/2026

Security Assessment

Low Risk(80/100)

Detected risks:

Command Injection([SKILL.md] subprocess.run)
Security Score80/100

About macos-accessibility

The macos-accessibility skill provides expert-level automation capabilities for macOS applications using the Accessibility APIs (AXUIElement). It is designed to securely interact with system and application UI elements, managing permissions and respecting macOS security boundaries. By leveraging TCC (Transparency, Consent, Control) permission checks and the ApplicationServices framework, this skill enables safe and reliable desktop automation that adheres to macOS security and sandboxing policies. It solves the challenge of programmatically controlling applications while maintaining system integrity and avoiding unauthorized access or sensitive operations.

FAQ

How does this skill handle accessibility permissions?

It validates TCC permissions before performing any automation, requests minimal necessary permissions, and handles permission denial gracefully to ensure safe operation.

Which macOS frameworks and APIs does this skill rely on?

It uses the ApplicationServices framework for AXUIElementRef, AXObserver, and attribute queries, CoreFoundation for CFType support, AppKit for process management, and Security.framework for TCC permission checks.

Can this skill automate all macOS applications?

No, it respects sandbox boundaries and blocks sensitive applications such as Keychain or Security preferences to maintain security and compliance.

What programming languages are supported for implementing automation with this skill?

Python is supported using bindings like pyobjc-framework-ApplicationServices, atomac, and pyautogui, which allow secure element access and input simulation.

What are the main security considerations when using this skill?

All automation operations enforce TCC permission validation, application identity checks, blocked application lists, audit logging, and timeouts to prevent hangs or unauthorized access.

Install macos-accessibility

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill