pragma-browser
/pragma-browser
Offer to open the app you started in Pragma ADE's built-in browser with `pragma browser open <url>`. Use when working inside Pragma ADE and the user asks you to start or run the front end, the app, a dev server or a preview, e.g. "start the dev server", "run the app", "start the frontend", "frontend'i ayağa kaldır", "uygulamayı çalıştır", "projeyi ayağa kaldır", "dev server'ı başlat", or asks to open a URL in Pragma's browser ("Pragma'nın tarayıcısında aç"). Only for a web page served over http; skip CLIs, API-only servers, desktop/Electron and mobile apps. Once the server is up, ASK the user
- Author
- pragmataW ↗
- Repository
- pragma-ade ↗
- Licence
- MIT
- Last repository change
- 07.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 5
No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Offer to open the app you started in Pragma ADE's built-in browser with `pragma browser open <url>`. Use when working inside Pragma ADE and the user asks you to start or run the front end, the app, a dev server or a preview, e.g. "start the dev server", "run the app", "start the frontend", "frontend'i ayağa kaldır", "uygulamayı çalıştır", "projeyi ayağa kaldır", "dev server'ı başlat", or asks to open a URL in Pragma's browser ("Pragma'nın tarayıcısında aç"). Only for a web page served over http; skip CLIs, API-only servers, desktop/Electron and mobile apps. Once the server is up, ASK the user
Triggers from the description
Original author description
Offer to open the app you started in Pragma ADE's built-in browser with `pragma browser open <url>`. Use when working inside Pragma ADE and the user asks you to start or run the front end, the app, a dev server or a preview, e.g. "start the dev server", "run the app", "start the frontend", "frontend'i ayağa kaldır", "uygulamayı çalıştır", "projeyi ayağa kaldır", "dev server'ı başlat", or asks to open a URL in Pragma's browser ("Pragma'nın tarayıcısında aç"). Only for a web page served over http; skip CLIs, API-only servers, desktop/Electron and mobile apps. Once the server is up, ASK the user
How it works
- When it applies
- Steps
- Rules
- When it fails
SKILL.md preview
---
name: pragma-browser
description: >-
Offer to open the app you started in Pragma ADE's built-in browser with `pragma browser open <url>`. Use when working
inside Pragma ADE and the user asks you to start or run the front end, the app, a dev server or a preview, e.g.
"start the dev server", "run the app", "start the frontend", "frontend'i ayağa kaldır", "uygulamayı çalıştır",
"projeyi ayağa kaldır", "dev server'ı başlat", or asks to open a URL in Pragma's browser ("Pragma'nın tarayıcısında
aç"). Only for a web page served over http; skip CLIs, API-only servers, desktop/Electron and mobile apps. Once the
server is up, ASK the user whether to open it; NEVER open it without a yes. For the other `pragma` commands see
pragma-cli.
---
# Open the running app in Pragma's browser
Pragma ADE has a browser panel per worktree. `pragma browser open <url>` opens the URL in a new
tab of your worktree's browser, selects that worktree and shows the Browser panel. `pragma` is
on `PATH` for agents started by Pragma (else use `"$PRAGMA_CLI"`); if neither exists you are
not running inside Pragma, so skip this skill.
## When it applies
Only when what you started serves a web page meant to be viewed in a browser (a front end, a
web app, a docs site, a preview) at an http URL. Skip this skill, and do not ask, when it is
a CLI tool, an API-only or JSON backend, a worker or database, an Electron or other desktop
app (its dev server only feeds the app window, e.g. electron-vite's renderer URL), or a mobile
app or emulator.
## Steps
1. Start the server the way the user asked, so that it keeps running (in the background).
Wait until it reports that it is ready.
2. Find the URL in its output: the *Local* address, e.g. Vite `Local: http://localhost:5173/`,
Next.js `- Local: http://localhost:3000`. Prefer Local over Network. Check that it answers
with a page (`curl -sI <url>` shows `200` and `text/html`). If no URL is printed or it does
not answer, do not guess one: skip the offer.
3. Tell the user the URL and ask exactly: **"Open it in Pragma's browser?"** Then stop and
wait for the answer (end your turn).
4. Only if the user says yes: run `pragma browser open <url>` and report the line it prints.
5. If the answer is no (or there is no answer): do nothing, and do not ask again for this
server.
## Rules
- NEVER run `pragma browser open` without the user's yes in this conversation. The one
exception: the request itself already says to open it in Pragma's browser; that counts as
the yes.
- Ask once per server start, not on restarts or hot reloads.
- Only for apps you started or URLs the user gave you; never browse on your own initiative.
- Each call opens a new tab, so do not repeat it for the same server.
- It switches the selected worktree in Pragma to yours.
## When it fails
- `invalid_argument`: pass the http(s) URL from the server output.
- `module_unavailable`: Pragma's browser is disabled; give the user the URL instead.
- `not_found`: the `--worktree` id is unknown; leave `--worktree` out.
- Exit code `3`: Pragma ADE is not running; give the user the URL instead.
Accepted URL forms: `http(s)://…` as given; `localhost:5173`, `127.0.0.1:…`, `[::1]:…` and any
IP `host:port` get `http://`; a bare port `5173` means `http://localhost:5173/`; a dotted domain
(`example.com`) gets `https://`. The bind-all address `0.0.0.0` (or `[::]`) is opened as
`127.0.0.1` (`[::1]`).
Versions
The database has no other skills named pragma-browser.
Database snapshot: 13.11.2026 · package version 00189b20202e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100pragma-cli
Use Pragma ADE's `pragma` CLI to list and create worktrees, list and start agent sessions, manage board tasks, work through review threads (list, reply, resolve), find a session's local transcript, show code to the user in Pragma's editor or Git Changes (for that, use… - 85pragma-show
Show code to the user inside Pragma ADE instead of pasting it into the chat: open files at exact lines in Pragma's editor, show a changed file in the Git Changes tab, or show a commit there, with the `pragma show` CLI. Use when working inside Pragma ADE and the user asks to see… - 95shipwright-preview
Start local dev server and show browser preview URL. Available after first build split.\nTRIGGER when: user wants to see the app, preview changes, check the UI, open the browser, show me the app, start the dev server, or view the running application.\nDO NOT TRIGGER when: user… - 100test-browser
Verify web app behavior in the editor's built-in browser. Use when the user asks to test UI changes in the browser or validate frontend behavior after changes. Local interactive sessions in an editor with a built-in, agent-controllable browser only. - 100sqlite
Expert SQLite embedded database assistance covering WAL mode, PRAGMA tuning, full-text search (FTS5), and concurrency. Use when building desktop/mobile apps, local databases, or high-performance embedded systems. - 100browser-preview
Hub 内嵌浏览器预览 localhost 应用。 Use when: 写前端代码、跑 dev server、需要看页面效果、调 UI、operator说"看看效果"。 Not for: 后端纯 API 开发、不涉及页面的工作。 Output: 前端页面在 Hub browser panel 中实时预览。