Skip to content
Back to skills

Automator

ASecurity

Automate macOS tasks by composing and executing Automator workflows through automator CLI and AppleScript control.

  • 17 stars
  • 0 votes
  • 1 copy
  • 9 views
  • Added September 6, 2026
toolsgorailssecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add clawic/skills --skill automator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Automator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Automator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clawic-automator/badge)](https://www.skillsdirectory.com/skills/clawic-automator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: macOS Automator
slug: automator
version: 1.0.0
description: Automate macOS tasks by composing and executing Automator workflows through automator CLI and AppleScript control.
homepage: https://clawic.com/skills/automator
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:
    - ~/Clawic/data/automator/
    displayName: macOS Automator
  openclaw:
    requires:
      config:
      - ~/Clawic/data/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

- macOS with `automator` and `osascript` available.
- Automator app installed at `/System/Applications/Automator.app`.
- Explicit user confirmation before destructive or bulk operations.

## Architecture

Memory lives in `~/Clawic/data/automator/`. See `memory-template.md` for structure.

```text
~/Clawic/data/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 `~/Clawic/data/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
- For running an existing `.workflow`, use `automator` CLI first.
- For composing or inspecting workflow internals, use Automator AppleScript commands from `workflow-authoring.md`.
- Only use `shortcuts` fallback if user explicitly asks for Shortcuts conversion.

### 2. Validate Workflow Identity Before Execution
- Require absolute workflow path and verify it exists.
- Confirm type (`.workflow`) and target operation (read, write, destructive).
- If the workflow path is ambiguous, stop and ask one clarifying question.

### 3. Enforce Read-Before-Write for Workflow Changes
- Before editing, inspect current action list and settings.
- Apply one mutation at a time and re-read state after each mutation.
- Never batch-edit unknown actions in a single pass.

### 4. Parameterize Inputs with Explicit Boundaries
- Use `automator -i` or `-D name=value` only with validated inputs.
- Reject unbounded stdin streams for write workflows.
- Echo resolved parameters before run so the user can verify intent.

### 5. Require Two-Step Confirmation for Destructive Runs
- Use `execution-guardrails.md` before delete, reset, or mass-change paths.
- Ask for explicit confirmation that includes target and scope.
- If confirmation is missing, do not run the workflow.

### 6. Keep Runs Observable and Reproducible
- Prefer verbose mode (`-v`) for first execution or after failure.
- Record command, input source, and result in concise run notes.
- Return actionable output, not only "completed" status.

### 7. Recover with Concrete Next Actions
- On failure, classify as path, permission, action mismatch, or runtime data error.
- Provide the next command to run, not generic retry advice.
- Persist only reusable fix patterns into local memory.

## Automator Traps

- Running relative paths from unknown working directories -> workflow not found.
- Guessing action names without dictionary inspection -> compile succeeds, runtime fails.
- Feeding multiline stdin into write workflows without boundaries -> unintended bulk edits.
- Mixing Automator and Shortcuts assumptions in one run -> incompatible action model.
- Treating permission prompts as transient errors -> repeated blocked execution.

## Security & Privacy

**Data that stays local:**
- Workflow paths, verified action names, and run diagnostics in `~/Clawic/data/automator/`.
- Command output required to complete the requested automation task.

**Data that leaves your machine:**
- None by default.

**This skill does NOT:**
- Access credentials outside the workflow request scope.
- Send workflow content to third-party services.
- Execute destructive automation without explicit confirmation.

## Related Skills
More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the 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

- If useful, star it: https://clawic.com/skills/automator
- Latest version: https://clawic.com/skills/automator

Files in this skill

  • SKILL.md5.5 KB
  • _meta.json176 B
  • execution-guardrails.md1.2 KB
  • interface-matrix.md1.3 KB
  • memory-template.md1.4 KB
  • setup.md1.5 KB
  • troubleshooting.md1.3 KB
  • workflow-authoring.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.