home/coding/open-in-browser

Open in Browser

GPTClaudeDeepSeek··1,383 copies·updated 2026-07-14
open-in-browser.prompt
# Open in Browser

<instruction>
Open the file or URL we just worked on in the default browser.
</instruction>

<context>
If it's unclear what to open, ask:
1. Local HTML file
2. Localhost URL (specify port)
3. Other (specify URL or file path)
</context>

<constraints>
- Use `open` command on macOS
- Detect if opening file path or URL
- Default to localhost:3000 for dev servers if unclear
</constraints>

Execute: `open {{url_or_path}}`

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{{url_or_path}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo appboypov/pew-pew-plx-old (no explicit license). A "Open in Browser" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

appboypov/pew-pew-plx-old · no explicit license