Command Palette

Search for a command to run...

Назад к скиллам
скилл № 74358

console2svg

Use console2svg when an agent needs to inspect a terminal screen, control a TUI in a managed PTY, capture a tmux pane, or create visual terminal evidence.

БесплатноБез исполняемых скриптов
arika0093от arika0093★ 52 звезды на GitHub

Установить console2svg в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

console2svg

For ordinary non-interactive commands, run the command directly and use its text output. Use console2svg when terminal rendering matters, when a TUI requires adaptive input, or when an image/video artifact is useful.

One-shot command capture

Capture a command and get both its final screen text and a visual artifact reference:

console2svg capture --json -o /tmp/test-run.svg -- npm test

The JSON result is versioned and contains schemaVersion, status, exitCode, durationMs, screen (width, height, text, truncated), and artifact (path, format). JSON goes to stdout; diagnostics go to stderr. The command's non-zero exit code is reported in exitCode.

For an existing tmux pane:

console2svg tmux capture --target %1 --json -o /tmp/pane.svg

For video or animated SVG output, use --video. JSON automatically includes up to 12 sampled intermediate SVG files in frames (timeMs, path), so there is no need to know --save-frames. Open the referenced image/frame paths with an available visual inspection tool; do not inline SVG or image data into a text response.

Managed TUI sessions

Use a managed session when a TUI must stay open across commands and requires input based on its current screen:

console2svg session start -- btop
console2svg session list
console2svg session read <sessionId>
console2svg session wait <sessionId> --text "Ready"
console2svg session wait <sessionId> --text "Working" --until absent --stable-for 2s
console2svg session send <sessionId> --keys Enter
console2svg session send <sessionId> --text "search query"
console2svg session send <sessionId> --text "i" --keys Enter --text "hello" --keys Esc
console2svg session resize <sessionId> --width 120 --height 40
console2svg session capture <sessionId> -o /tmp/tui-screen.svg
console2svg session inspect <sessionId>
console2svg session capture <sessionId> -o /tmp/tui-screen-converted.png
console2svg session stop <sessionId>

--text and --keys may be repeated in one session send; inputs are sent in argument order.

Documentation

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл console2svg?

Use console2svg when an agent needs to inspect a terminal screen, control a TUI in a managed PTY, capture a tmux pane, or create visual terminal evidence.

Как установить скилл console2svg?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл console2svg запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить console2svg с