Skill: open-application
When to Use
Use this skill when the user asks to:
- Open an application (Mail, Safari, Finder, etc.)
- Launch a program
- Start an app
- Bring an application to the foreground
- Open a specific macOS application by name
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
application_name | Yes | The name of the macOS application to open (e.g., Mail, Safari, Finder, Chrome, Slack) |
Procedure
- Extract the application name from the user's request
- Validate that the application name is clear and unambiguous (use ask_user if needed for clarification)
- Execute the open command: open -a {{APPLICATION_NAME}}
- Wait 2-3 seconds for the application to launch
- Confirm to the user that the application has been opened or brought to the foreground
Reference Commands
Commands from a successful execution (adapt to actual inputs):
open -a Mail
Replace {{PLACEHOLDER}} values with actual credentials from the key store.
Example
Example requests that trigger this skill:
control my computer to open mail