applescript-open-app
Open, launch, activate, or quit macOS apps by name using AppleScript or osascript.
Skill by IvanCampos
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/ivancampos-applescript-open-app
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
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
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/applescript-open-app
What's inside
- Skill name
applescript-open-app- Description
- Open, launch, activate, or quit macOS apps by name using AppleScript or osascript. Use when the user asks to open/launch/activate/quit an app ("open Xcode", "quit Discord"), or when AppleScript-based app control is required.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- openai.yaml · agents/
- open_app.sh · scripts/
- quit_app.sh · scripts/
SKILL.md (first lines)
# AppleScript Open App ## Overview Use a performance-first launch path for opening apps (`open -a`) with AppleScript fallback for compatibility, and AppleScript for graceful quits. ## Quick Start - Prefer `scripts/open_app.sh` for a reliable one-liner interface. - Prefer `scripts/quit_app.sh` for quitting an app. - Pass the app name exactly as it appears in Finder (for example, "Xcode", "Safari", "Final Cut Pro"). ```bash scripts/open_app.sh "Safari" ``` ```bash scripts/quit_app.sh "Discord" ``` ## Tasks ### Open an app by name - Run `scripts/open_app.sh "<App Name>"`. - The script uses fast LaunchServices activation first, then falls back to AppleScript activation only when needed. - If the app is not installed, surface the AppleScript error and ask for the correct name. ### Open a new instance (only when asked) - Use `open -na "<App Name>"` only if the user explicitly requests a new instance. - Otherwise use AppleScript activation. ### Quit an app by name - Run `scripts/quit_app.sh "<App Name>"`. - The script checks whether the app is running before sending `quit`, avoiding slow error-path exits for already-closed apps. - If the app is not installed, surface the AppleScript error and ask for the correct name. ### Handle ambiguous names - If multiple apps share a name, ask for the exact display name or bundle id. - If a bundle id is provided, use AppleScript with `application id`. ```bash osascript -e 'tell application id "com.apple.Safari" to activate' ``` ## AppleScript snippet ```bash osascript -e 'tell application "Safari" to activate' ``` ```bash osascript -e 'tell application "Safari" to quit' ``` ## Resources ### scripts/ - `open_app.sh`: Fast `open -a` launch/activate with AppleScript fallback. - `quit_app.sh`: Graceful AppleScript quit with running-state guard.
From IvanCampos/agents, MIT.
More from IvanCampos/agents
- 0.469score
screen-recorder
IvanCampos
Record the macOS screen for a fixed duration and always save the .mov in ~/Downloads.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-notes
IvanCampos
Read Apple Notes content and execute checklist-driven automations in order.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
confetti
IvanCampos
Trigger a two-step confetti celebration by opening the Raycast confetti URL and speaking a phrase with the Alex voice.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
launchd-non-apple-jobs
IvanCampos
List launchd jobs that are not from Apple and create user launchd jobs.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
opml-reader
IvanCampos
Store OPML files and fetch latest posts across RSS/Atom feeds.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
playwright-cli
IvanCampos
Translate natural-language browser automation requests into exact `playwright-cli` commands for interactive web testing and debugging.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-music-player
IvanCampos
Play random songs or specific tracks in Music.app from the local Music library.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
git-search
IvanCampos
List recent git commits across all repos under ~/Code (excluding .build checkouts).
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
github
IvanCampos
Use the GitHub CLI (`gh`) to inspect and manage repositories, pull requests, issues, workflows, releases, and API calls from the terminal.
SkillDFreshness: D★ 5Claude Code +9 - 0.465score
mailapp-send-email
IvanCampos
Send emails through the macOS Mail app using AppleScript.
SkillDFreshness: D★ 5Claude Code +9 - 0.465score
open-meteo-weather
IvanCampos
Get current weather using the Open-Meteo API.
SkillDFreshness: D★ 5Claude Code +9 - 0.461score
ffmpeg-video-editor-h265
IvanCampos
Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
SkillDFreshness: D★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/IvanCampos/agents
- Website
- ivancampos.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from IvanCampos
- 0.469score
apple-music-player
IvanCampos
Play random songs or specific tracks in Music.app from the local Music library.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
confetti
IvanCampos
Trigger a two-step confetti celebration by opening the Raycast confetti URL and speaking a phrase with the Alex voice.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-notes
IvanCampos
Read Apple Notes content and execute checklist-driven automations in order.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
git-search
IvanCampos
List recent git commits across all repos under ~/Code (excluding .build checkouts).
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
github
IvanCampos
Use the GitHub CLI (`gh`) to inspect and manage repositories, pull requests, issues, workflows, releases, and API calls from the terminal.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
launchd-non-apple-jobs
IvanCampos
List launchd jobs that are not from Apple and create user launchd jobs.
SkillDFreshness: D★ 5Claude Code +9
Cite this page
applescript-open-app skill. Agent Mart. https://agentmart.dev/skills/ivancampos-applescript-open-app (last updated 2026-10-24)