AppleScript
Write and run safe AppleScript automation on macOS with dictionary discovery, robust quoting, and deterministic read-first workflows.
Skill by clawic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawic-applescript
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/applescript
What's inside
- Skill name
AppleScript- Description
- Write and run safe AppleScript automation on macOS with dictionary discovery, robust quoting, and deterministic read-first workflows.
- License
- MIT
- Instructions
- 113 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "AppleScript" does not match folder "applescript"
Files (8)
- SKILL.md
- _meta.json
- app-dictionary-workflow.md
- memory-template.md
- safety-checklist.md
- script-patterns.md
- setup.md
- troubleshooting.md
SKILL.md (first lines)
## Setup On first use, follow `setup.md` to configure activation and safety preferences. Setup review is read-only. Any local file creation or modification requires explicit user confirmation. ## When to Use User needs AppleScript automation on macOS for app control, data extraction, or scripted UI actions. Agent handles script design, safe execution with `osascript`, output parsing, and troubleshooting. ## Requirements - macOS with `osascript` available. - Target app installed and scriptable when app automation is requested. - Explicit user confirmation before destructive operations. ## Architecture Memory lives in `~/Clawic/data/applescript/`. See `memory-template.md` for structure. ```text ~/Clawic/data/applescript/ ├── memory.md # Preferences, safe defaults, and last working patterns ├── snippets.md # Reusable script snippets ├── failures.md # Error signatures and known fixes └── app-notes.md # Per-app dictionary and behavior notes ``` ## Quick Reference Use these files only when the current request needs deeper detail. | Topic | File | |-------|------| | Setup behavior and onboarding | `setup.md` | | Memory structure | `memory-template.md` | | App dictionary workflow | `app-dictionary-workflow.md` | | Script design patterns | `script-patterns.md` | | Destructive-operation guardrails | `safety-checklist.md` | | Debug and recovery steps | `troubleshooting.md` | ## Data Storage All local skill data stays in `~/Clawic/data/applescript/`. Before creating or changing local files, explain the write and ask for confirmation. ## Core Rules ### 1. Choose Operation Scope Before Writing Any Script - Classify request as read-only, reversible write, or destructive write. - If scope is unclear, ask one disambiguation question before execution. ### 2. Discover App Vocabulary Before Automation - Use dictionary inspection workflow from `app-dictionary-workflow.md` before guessing object names. - Do not invent app classes, properties, or commands. ### 3. Escape Dynamic Input Deterministically - Never concatenate raw user text into AppleScript command strings. - Use safe quoting patterns from `script-patterns.md` for every variable. ### 4. Keep Scripts Bounded and Observable - Prefer short scripts with explicit targets and explicit output values. - Return concise structured output so results can be validated quickly. ### 5. Read Before Write, Verify After Write - For updates and creates, run a pre-read to confirm target identity. - Run a read-back check after writes and report the final state. ### 6. Require Two-Step Confirmation for Destructive Actions - Apply `safety-checklist.md` before delete, bulk edit, or irreversible app actions. - If confirmation is missing, stop and ask explicitly. ### 7. Fail Loudly With Actionable Recovery - On error, capture exact failing command and error text. - Use `troubleshooting.md` to provide next-step fixes instead of generic retries. ## Common Traps - Guessing app dictionary terms -> script compiles but fails at runtime. - Injecting unescaped quotes in user values -> syntax errors or wrong command targets. - Writing without pre-read on duplicate item names -> wrong object modified. - Running UI automation too early after launching an app -> intermittent failures. - Treating all errors as permission issues -> repeated failures without progress. ## Security & Privacy **Data that stays local:** - AppleScript snippets, runtime notes, and troubleshooting memory in `~/Clawic/data/applescript/`. - Command output needed only for requested tasks. **Data that may leave your machine:** - None by default. This skill focuses on local macOS automation. **This skill does NOT:** - Read unrelated authentication values. - Send automation data to third-party APIs. - Execute destructive app actions without explicit confirmation. ## Related Skills More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms): - `macos` - macOS command and system operation patterns. - `automate` - General automation workflow design and reliability strategy. - `bash` - Shell scripting helpers for wrapping and testing commands. - `notes` - Knowledge capture and structured note workflows. - `files` - Safe file read and write workflows with clear boundaries. ## Feedback - If useful, star it: https://clawic.com/skills/applescript - Latest version: https://clawic.com/skills/applescript
From clawic/skills, MIT.
More from clawic/skills
- 0.595score
Accountant
clawic
Keeps books that close: double-entry entries, reconciliation, month-end close, financial statements, and the tax filings that follow.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Agents
clawic
Designs, debugs, evaluates, and hardens AI agents — the loop, tools, memory, context budget, cost, and escalation — independent of any framework.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Analysis
clawic
Audits an AI agent's own setup — workspace, config, memory, skills, jobs, integrations — and reports what is broken, exposed, or wasteful.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
API / Application Programming Interface
clawic
Integrates and debugs third-party REST and GraphQL APIs: auth, rate limits, pagination, webhooks, with reference for 147 services.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Anki
clawic
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Android
clawic
Builds, debugs, ships, and hardens Android apps: Gradle, Jetpack Compose, XML Views, ADB, and the Play release path.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Apple Search Ads
clawic
Plans, launches, and optimizes Apple Search Ads (Apple Ads, ASA) campaigns for iOS apps: bids, keywords, budgets, CPA, attribution.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple Maps (MacOS)
clawic
Search places, open routes, and run Apple Maps workflows on macOS using local CLI commands and shortcut automation with explicit safety checks.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple Mail (MacOS)
clawic
Use local CLI to manage Gmail, Outlook, iCloud, Yahoo, Fastmail, and other mail accounts synced in Apple Mail on macOS, without APIs or OAuth.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple News (MacOS)
clawic
Open Apple News, read Apple News links, and run local News workflows on macOS using deterministic CLI commands and shortcut-based search fallback.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
AirDrop
clawic
Send local files to nearby Apple devices through AirDrop with macOS guardrails, staging checks, and automation-friendly workflows.
SkillBFreshness: B★ 19Claude Code +9 - 0.592score
Apple Calendar (MacOS)
clawic
Use local CLI to manage Apple, Google, iCloud, Outlook, CalDAV, and other calendars synced in macOS Calendar, without API keys or OAuth.
SkillBFreshness: B★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 7
- Open issues
- 0
- Last commit (this folder)
- Jul 27, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/clawic/skills
- Website
- clawic.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from clawic
- 0.595score
API / Application Programming Interface
clawic
Integrates and debugs third-party REST and GraphQL APIs: auth, rate limits, pagination, webhooks, with reference for 147 services.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Agents
clawic
Designs, debugs, evaluates, and hardens AI agents — the loop, tools, memory, context budget, cost, and escalation — independent of any framework.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Android
clawic
Builds, debugs, ships, and hardens Android apps: Gradle, Jetpack Compose, XML Views, ADB, and the Play release path.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Anki
clawic
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Accountant
clawic
Keeps books that close: double-entry entries, reconciliation, month-end close, financial statements, and the tax filings that follow.
SkillBFreshness: B★ 19Claude Code +9 - 0.595score
Apple Search Ads
clawic
Plans, launches, and optimizes Apple Search Ads (Apple Ads, ASA) campaigns for iOS apps: bids, keywords, budgets, CPA, attribution.
SkillBFreshness: B★ 19Claude Code +9
Cite this page
AppleScript skill. Agent Mart. https://agentmart.dev/skills/clawic-applescript (last updated 2026-10-24)