Agent skill
open-url
Open URLs, files, and directories on Linux using default applications. Use for launching browsers, opening documents, or viewing files.
Install this agent skill to your Project
npx add-skill https://github.com/mikeyobrien/rho/tree/main/platforms/linux/skills/open-url
SKILL.md
Open URLs and Files
Uses xdg-open which respects default application settings from the desktop environment.
Open a URL in default browser
xdg-open https://example.com
Open a file with default app
xdg-open document.pdf
xdg-open image.png
xdg-open spreadsheet.csv
Open a directory in file manager
xdg-open /path/to/directory
xdg-open .
Check/set default applications
# Query default browser
xdg-settings get default-web-browser
# Set default browser
xdg-settings set default-web-browser firefox.desktop
# Query default for a MIME type
xdg-mime query default application/pdf
Open with a specific app
# xdg-open always uses defaults; to pick a specific app:
firefox https://example.com
google-chrome https://example.com
code /path/to/project
xdg-open returns immediately (runs in background). On headless systems without a desktop environment, it will fail. Use sensible-browser as a fallback for URLs on Debian-based systems.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tts
Text-to-speech on macOS -- make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.
clipboard
Read or write the macOS clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.
notification
Show macOS system notifications with title, body, and optional sound. Use for alerts, reminders, or status updates.
open-url
Open URLs, files, and applications on macOS. Use for launching browsers, opening documents, or starting apps.
tts
Text-to-speech — make the device speak text aloud. Use for voice announcements, reading content aloud, or accessibility.
clipboard
Read or write the system clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.
Didn't find tool you were looking for?