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.
Security Assessment
Detected risks:
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
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
martinholovsky/claude-skills-generator