triage-review-pane
Open the triage approval TUI in a side pane next to the conversation and arm the watcher that reports each decision back. Use after staging records with…
от nrwl★ 29 499 звёзд на GitHub
Установить triage-review-pane в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Read Codex execution conventions before following this workflow.
Open the triage review pane
Two jobs: put triage review where the user can act on it without losing the conversation, and arm
the watcher so their decisions come back to you as notifications instead of you polling.
1. Check there is anything to review
.claude/tools/triage list
Nothing staged means nothing to open. Say so and stop — an empty TUI is a worse answer than a sentence.
The TUI itself runs under Bun, not Node: opentui reaches the terminal through Bun's FFI, and the
Node build of it refuses to start. triage review checks for bun up front and prints the install
line, so you do not need to check separately — but if the user has no Bun, that is the error they
will see, and curl -fsSL https://bun.sh/install | bash is the fix.
2. Detect the multiplexer
echo "herdr=${HERDR_ENV:-no} tmux=${TMUX:-no}"
If neither is set, stop and tell the user. This skill only works inside herdr or tmux: a side pane needs a multiplexer to put it in, and the TUI needs a real TTY, so there is nothing sensible to degrade to. Say that in one line and hand over the command:
The review TUI needs a side pane, which only works inside herdr or tmux — neither is running here. Run
pnpm triage-tuiyourself and I'll pick the results up fromtriage feedbackandtriage notes.
Then arm the watcher anyway (step 4). It reads the events bus, not the pane, so it works regardless of how the TUI was started — and the user still gets their decisions reported back.
Do not substitute something else. A TUI launched in the foreground takes the session over, and one launched detached has no terminal and exits immediately.
3. Open the pane
herdr:
NEW=$(herdr pane split --current --direction right --ratio 0.45 \
--cwd "$PWD" | sed -n 's/.*"pane_id":"\([^"]*\)".*/\1/p' | head -1)
herdr pane run "$NEW" "pnpm triage-tui; herdr pane close $NEW"
tmux:
tmux split-window -h -c "$PWD" 'pnpm triage-tui'
Four things that are easy to get wrong:
- The new pane id is at
result.pane.pane_id, notresult.pane_id. - Use
pane run. It honors live bracketed-paste mode and submits the text and Enter atomically.pane send-textandpane send-keysare low-level and non-submitting — reach for those only to drive a TUI that is already running. - The pane closes itself. Appending
; herdr pane close $NEWis why. Waiting on the process from outside means polling, and a poll that loses the race strands a dead pane for the rest of the session. tmux needs no equivalent — it closes a pane when its command exits. - Do not
--focus. The user is probably still reading what you just wrote, and stealing focus mid-sentence costs them more than the keystroke it saves.
4. Arm the watcher — once
If a watcher from an earlier invocation is still running, do not arm another. It stays armed
until the queue settles or its timeout expires, so a second one duplicates every notification and
you cannot tell which decision was real. This skill gets re-invoked often — the pane closes itself
on q, so reopening it is routine, and the watcher outlives the pane by design. Reopen the pane and
reuse the running watcher.
.claude/tools/triage monitor
One line per decision as it lands: approvals, rejections, the note typed on a changes-requested,
and a NOTE line each time they press n. It reads the events bus rather than diffing the records
directory, so a record that archives itself on the way out — a rejection, an applied record — is
still reported; the transition is on the bus before the file moves. It exits once nothing is pending,
which ends the watch on its own. It also emits, rather than going quiet, if the records directory
disappears mid-review:
.nx-issue-triage is gitignored and several agent sessions share this checkout, so a stray clean
really can delete a queue out from under a live review.
Run the monitor in a Codex shell session and retain its handle. Read incremental event output with bounded waits while the user reviews; reuse this handle when reopening the pane. If the runtime cannot retain the process, report that limitation and read triage feedback and triage notes on the next user turn. Do not promise automatic notifications after ending the turn.
5. While they review
You can push into a running TUI:
.claude/tools/triage notify reload 36775 # restaged it — reload and jump there
.claude/tools/triage notify select 36792 # point them at one
.claude/tools/triage notify message "..." # a line in their status bar
Fire-and-forget: no TUI open is a normal state, not an error, and the record on disk stays the source of truth either way.
6. Apply as approvals land — do not wait for the queue
An approval in the TUI is the go-ahead to apply that record, immediately. That gate is the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
FAQ
Что делает скилл triage-review-pane?
Open the triage approval TUI in a side pane next to the conversation and arm the watcher that reports each decision back. Use after staging records with `triage stage`, or whenever the user asks to review, approve or go through the triage queue. Requires herdr or tmux — say so plainly if neither is running rather than falling back to something worse.
Как установить скилл triage-review-pane?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл triage-review-pane запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…