rex-canvas
/rex-canvas
Pokazuje diagram rysowany przez MCP Markasso na żywo w panelu Rex obok terminala agenta.
- Autor
- AlbertoBarrago ↗
- Repozytorium
- rex-canvas ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 06.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 06.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
Pokazuje diagram rysowany przez MCP Markasso na żywo w panelu Rex obok terminala agenta.
Wyzwalacze z opisu
Oryginalny opis (EN)
Show the diagram you are drawing with the Markasso MCP live in a Rex pane beside your own. Use when the user asks for a diagram, schema, whiteboard or "tela"/canvas with Markasso while you run inside Rex ($REX_BLOCK is set), or asks to see the diagram next to the chat.
Jak działa
- Flow
- Readability
- Rules
Podgląd SKILL.md
---
name: rex-canvas
description: Show the diagram you are drawing with the Markasso MCP live in a Rex pane beside your own. Use when the user asks for a diagram, schema, whiteboard or "tela"/canvas with Markasso while you run inside Rex ($REX_BLOCK is set), or asks to see the diagram next to the chat.
---
# rex-canvas
`rex-canvas` shows a PNG in a Rex pane next to yours and redraws it whenever
the file changes. Pair it with the Markasso MCP so the user watches the
diagram take shape while you work.
Only use it when `$REX_BLOCK` is set (you are running in a Rex pane).
## Flow
1. Get the canvas paths once (this also creates the folder):
```bash
rex-canvas path # the PNG the pane shows
rex-canvas path --svg # its vector sibling, saved along with it
```
2. Open the viewer pane once. It does nothing if the pane is already open,
and it does not take focus:
```bash
rex-canvas show
```
3. Build the diagram (`diagram_new`, `diagram_add_nodes`, `diagram_connect`),
then `diagram_layout` with `direction: "TB"` (see Readability).
4. Fix what the tools report: if `diagram_layout` or `diagram_export_png`
lists warnings (arrows through nodes, overlapping labels, crossings),
resolve them before moving on (see Readability), then lay out and check
again. Don't show the user a diagram that still has warnings without
saying which ones remain and why.
5. Export after each batch of changes:
- `diagram_export_png` with `path` = the PNG path and
`returnImage: false` (Markasso MCP 0.6.0+), so the refresh costs no
context. Leave `returnImage` on only when you want to look at the
result yourself. On an older MCP that rejects `returnImage`, drop it.
- `diagram_export_svg` with `path` = the SVG path.
The pane updates on its own within a fraction of a second.
6. When the user is done, offer `diagram_share` (link) or `diagram_save`
(`.markasso` file) to keep editing it, and `rex-canvas hide` to close the
pane.
## Readability
The pane is a side split: tall and narrow. A wide diagram is shrunk to fit
and its text becomes hard to read.
- Prefer `direction: "TB"`. Use `"LR"` only for short chains (3 nodes or
fewer) or when the user asks.
- Keep labels short: a few words per node, short edge labels. Put detail in
a separate text node rather than a long label.
- Arrow through a node or tangled crossings: try the other direction, give
the edge `routing: "elbow"`, or reorder/split the diagram into groups.
- More than about 12 nodes: split into several diagrams or group them, rather
than one huge board.
- No title node: the pane already shows the file name. A text node that no
edge connects is not placed by `diagram_layout` on Markasso MCP before
0.6.1: it stays where it was created and pulls the picture off-center. If
you add one anyway on an older MCP, move it after the layout, centered
above the diagram (`diagram_read` for positions, `diagram_update` x/y).
## Rules
- Export per batch of edits (after `diagram_layout`), not after every single
node. Look at the result yourself (`returnImage` on) at least once before
calling the diagram done.
- Always export to the paths from `rex-canvas path`: those are the files the
pane and its save key use. Don't invent other paths.
- The user can pan (hjkl, arrows), zoom (+/-), refit (`0`), save a copy to
~/Downloads (`s`, PNG plus the SVG) and open it in the default app (`o`).
You don't need to export crops, zoomed versions or downloads yourself.
Wersje
W bazie nie ma innych skilli o nazwie rex-canvas.
Migawka bazy z 13.11.2026 · wersja paczki ae7302a2496e (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
- 100rex-task-board
Pokazuje na żywo tablicę zadań w ASCII w panelu obok terminala agenta: fazy, postęp, decyzje do podjęcia przez użytkownika. - 100rexshow
Pokazuje użytkownikowi zrzuty ekranu i nagrania ekranu w panelu Rex obok terminala, na przykład przy kontroli UI lub odtwarzaniu błędu. - 100rexpad
Pokazuje na żywo wizualną listę zadań, nad którą pracuje agent, w panelu Rex obok, i aktualizuje ją w trakcie pracy. - 100rex-md-viewer
Pokazuje podgląd plików Markdown jako obrazów w sąsiednim panelu Rex, z automatycznym odświeżaniem po zapisie. - 91rex-grokbot
Wysyła do bota koordynatora w Rex wiadomość o zakończeniu, blokadzie lub potrzebie decyzji. - 100open-in-rex
Otwiera sesję aplikacji Claude desktop w terminalowym Rex przez polecenie claude --resume i może skopiować samo polecenie wznowienia.