Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

pragma-terminal

/pragma-terminal

Odczytuje wyjście terminala użytkownika w Pragma ADE, by znaleźć zakładkę lub panel z błędem i odczytać jego ostatnie linie.

Repozytorium
pragma-ade ↗
Licencja
MIT
Ostatnia zmiana repozytorium
07.11.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Odczytuje wyjście terminala użytkownika w Pragma ADE, by znaleźć zakładkę lub panel z błędem i odczytać jego ostatnie linie.

Wyzwalacze z opisu

I get this error in my terminalcheck my terminalwhat does the dev server saythe build failed in the terminalterminalimde böyle bir hata var, sebebi ne?terminale bakterminaldeki hatayı oku
Oryginalny opis (EN)

Read the user's terminal output inside Pragma ADE with `pragma terminal list` and `pragma terminal read`: find the terminal tab or split pane where the user saw an error or output and read its last lines. Use when working inside Pragma ADE and the user mentions something in their terminal, e.g. "I get this error in my terminal", "check my terminal", "what does the dev server say", "the build failed in the terminal", "terminalimde böyle bir hata var, sebebi ne?", "terminale bak", "terminaldeki hatayı oku". Only the terminals of your own worktree are visible. For the other `pragma` commands see

Jak działa

  1. Steps
  2. Rules
  3. When it fails
  4. Full-screen programs
Sekcje z nagłówków SKILL.md, w oryginale · 54 linii, 462 słów
Podgląd SKILL.md
---
name: pragma-terminal
description: >-
  Read the user's terminal output inside Pragma ADE with `pragma terminal list` and `pragma terminal read`: find the
  terminal tab or split pane where the user saw an error or output and read its last lines. Use when working inside
  Pragma ADE and the user mentions something in their terminal, e.g. "I get this error in my terminal", "check my
  terminal", "what does the dev server say", "the build failed in the terminal", "terminalimde böyle bir hata var,
  sebebi ne?", "terminale bak", "terminaldeki hatayı oku". Only the terminals of your own worktree are visible. For the
  other `pragma` commands see pragma-cli.
---

# Read the user's terminal

The user runs commands in Pragma's Terminal panel: several tabs, each split into up to 6
panes. `pragma terminal` lets you read what those panes show, so you can diagnose an error
without asking the user to copy it.

`pragma` is on `PATH` for agents started by Pragma (else use `"$PRAGMA_CLI"`). Add `--json`
for one JSON document (`{"ok":true,"result":…}` / `{"ok":false,"error":…}`).

## Steps

1. List the panes: `pragma terminal list`. One row per pane, tabs in order: `PANE` (id),
   `TAB`, `FOCUS` (`*` = the pane the user last focused), `STATE`, `PROCESS` (what runs in
   it; `-` at an idle prompt), `IDLE` (time since its last output), `CWD`, `TITLE`.
2. Pick the pane:
   - Only one pane: use it.
   - One pane clearly matches what the user described (a dev server, a build, a test run)
     by its process, title or cwd: use it. A short `IDLE` means it printed recently.
   - Several panes are plausible: ask the user which tab or pane they mean (name the tab
     titles). Do not read every pane.
   - The user's words point to no pane in particular ("my terminal"): the focused pane (`*`)
     is a reasonable default.
3. Read it: `pragma terminal read --pane <id>` (the id or its first characters). It prints
   the last 100 lines. Read more with `--lines 300` (at most 2000) only when the header says
   earlier output exists and the error starts above what you got. Without `--pane` it reads
   the focused pane.
4. Diagnose. Quote only the relevant lines in the chat; never paste the whole output back.

## Rules

- Reading is read-only: it never types into the user's terminal and does not disturb it. Do
  not ask Pragma to run commands there; reproduce in your own shell if needed.
- Only read when the user refers to their terminal or its output.
- You only see your own worktree's terminals; other worktrees' terminals are never visible.
- The text is plain: colors are removed and wrapped lines are joined.
- `CWD` is where the shell last said it is, else where the pane started; the title often
  names the real directory.

## When it fails

- `not_found`: no terminal is open, or the pane was closed. List again, or ask the user to
  paste the output.
- `ambiguous`: several panes start with that id; pass more characters.
- `invalid_argument`: the pane belongs to another worktree, or you are not inside a Pragma
  worktree.
- `module_unavailable`: the terminal module is off; ask the user to paste the output.
- Exit code `3`: Pragma ADE is not running.

## Full-screen programs

When a full-screen program (an editor, `top`, a TUI) owns the pane, the read shows its
current screen only and says so in the header.

Wersje

W bazie nie ma innych skilli o nazwie pragma-terminal.

Migawka bazy z 13.11.2026 · wersja paczki 17eb5fffd2ae (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: 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.
  • 100rich-terminal-output
    Tworzy czytelne wyjście terminala w Pythonie z biblioteką Rich: tabele, paski postępu, panele i podświetlanie składni w aplikacjach CLI.
  • 85peek
    Czyta zakładki terminala użytkownika, takie jak serwery deweloperskie, obserwatory testów i logi, zamiast prosić o ręczne kopiowanie błędów.
  • 100gitpulse-terminal
    Uruchamia podrzędne sesje terminala i podglądy plików w GitPulse dla agentów, czekając na gotowość bez odpytywania w pętli.
  • 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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.