App Opener

Opens applications and files from the terminal on MacOS, Windows, and Linux. Does NOT use Markdown formatting in the final response.

OpenGitCode 72e1571 868 B Updated

File contents

Skill: App Opener

Opens any application or file by detecting the current operating system.

Commands by System

  • MacOS: open -a "App Name" or open
  • Windows: start "" "App Name" or explorer
  • Linux: xdg-open or binary name (e.g., code, firefox)

Critical Rules

  1. DO NOT USE MARKDOWN: Respond only with the command to be executed or a simple plain text confirmation.
  2. DETECTION: Always verify the current platform before suggesting the command.
  3. SECURITY: Do not attempt to open files in system-protected paths.

Usage Example

User: Open Chrome Response: Executing: google-chrome (Linux) / open -a "Google Chrome" (MacOS) / start chrome (Windows)

OpenGitCode/OpenShell/tree/main/skills/app-opener commit 72e15716b3

Frequently asked questions

npx skillmds@latest add opengitcode/app-opener