pragma-browser
/pragma-browser
Proponuje otwarcie uruchomionej aplikacji w przeglądarce wbudowanej w Pragma ADE, po starcie frontendu lub serwera dev.
- Autor
- pragmataW ↗
- Repozytorium
- pragma-ade ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 5
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Proponuje otwarcie uruchomionej aplikacji w przeglądarce wbudowanej w Pragma ADE, po starcie frontendu lub serwera dev.
Wyzwalacze z opisu
Oryginalny opis (EN)
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
Jak działa
- When it applies
- Steps
- Rules
- When it fails
Podgląd SKILL.md
---
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]`).
Wersje
W bazie nie ma innych skilli o nazwie pragma-browser.
Migawka bazy z 13.11.2026 · wersja paczki 00189b20202e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pragma-cli
Obsługuje CLI Pragma ADE: worktree, sesje agentów, zadania na tablicy, wątki review, transkrypty i pokazywanie kodu w edytorze. - 85pragma-show
Pokazuje kod użytkownikowi w edytorze Pragma ADE: otwiera pliki na wskazanych liniach albo pokazuje zmiany i commity zamiast wklejania w czacie. - 95shipwright-preview
Uruchamia lokalny serwer deweloperski i podaje adres podglądu aplikacji w przeglądarce. - 100test-browser
Sprawdza działanie aplikacji webowej w wbudowanej przeglądarce edytora po zmianach w interfejsie i walidacji frontendu. - 100sqlite
Wspiera pracę z wbudowaną bazą SQLite: tryb WAL, strojenie PRAGMA, wyszukiwanie pełnotekstowe FTS5 i współbieżność, dla aplikacji desktopowych, mobilnych i systemów wbudowanych. - 100browser-preview
Pokazuje aplikacje localhost we wbudowanej przeglądarce Hub, żeby na bieżąco oglądać efekt przy pracy nad frontendem, serwerem dev i poprawkami interfejsu.