macOS Automator
by @ivangdavila
Automate macOS tasks by composing and executing Automator workflows through automator CLI and AppleScript control.
clawhub install automatorπ About This Skill
name: macOS Automator slug: automator version: 1.0.0 homepage: https://clawic.com/skills/automator description: Automate macOS tasks by composing and executing Automator workflows through automator CLI and AppleScript control. changelog: Initial release with Automator CLI execution paths, AppleScript authoring patterns, and safety-first write controls. metadata: {"clawdbot":{"emoji":"A","requires":{"bins":["automator","osascript"]},"os":["darwin"],"configPaths":["~/automator/"]}}
Setup
On first use, follow setup.md to capture activation behavior and safety preferences.
Setup is read-only. Any local file write requires explicit user confirmation.
When to Use
User needs to automate macOS tasks with Automator workflows instead of manual UI steps. Agent handles workflow execution, workflow composition, and repeatable runbooks using official Automator interfaces.
Requirements
automator and osascript available./System/Applications/Automator.app.Architecture
Memory lives in ~/automator/. See memory-template.md for structure.
~/automator/
βββ memory.md # Activation rules and safety defaults
βββ workflows.md # Known workflow paths and run arguments
βββ action-catalog.md # Verified action names and categories
βββ incidents.md # Failures and proven fixes
Quick Reference
Use these files when the task needs deeper detail.
| Topic | File |
|-------|------|
| Setup behavior and activation | setup.md |
| Memory structure | memory-template.md |
| Execution path matrix | interface-matrix.md |
| Workflow authoring patterns | workflow-authoring.md |
| Write safety gates | execution-guardrails.md |
| Debug and recovery | troubleshooting.md |
Data Storage
All local skill data stays in ~/automator/.
Before creating or changing local files, state the write scope and ask for confirmation.
External Endpoints
| Endpoint | Data Sent | Purpose | |----------|-----------|---------| | None | None | This skill uses local macOS interfaces only |
No other data is sent externally.
Core Rules
1. Pick Interface by Intent, Not Convenience
.workflow, use automator CLI first.workflow-authoring.md.shortcuts fallback if user explicitly asks for Shortcuts conversion.2. Validate Workflow Identity Before Execution
.workflow) and target operation (read, write, destructive).3. Enforce Read-Before-Write for Workflow Changes
4. Parameterize Inputs with Explicit Boundaries
automator -i or -D name=value only with validated inputs.5. Require Two-Step Confirmation for Destructive Runs
execution-guardrails.md before delete, reset, or mass-change paths.6. Keep Runs Observable and Reproducible
-v) for first execution or after failure.7. Recover with Concrete Next Actions
Automator Traps
Security & Privacy
Data that stays local:
~/automator/.Data that leaves your machine:
This skill does NOT:
Related Skills
Install withclawhub install if user confirms:
applescript - Script app automation with robust quoting and pre-read checks.automate - Design reliable multi-step automation workflows.macos - Use macOS command-line and system operation patterns.workflow - Structure repeatable workflows and handoff checkpoints.Feedback
clawhub star automatorclawhub syncβ‘ When to Use
βοΈ Configuration
On first use, follow setup.md to capture activation behavior and safety preferences.
Setup is read-only. Any local file write requires explicit user confirmation.