transcript-replay — скилл для Claude Code: что делает и как установить
Скилл transcript-replay для Claude Code пошагово разбирает историю сессии из Agent Monitor, группируя запросы, решения ассистента и вызовы инструментов в краткую сводку.
MIT ★ 1 198 обновлён 2026-10-23
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-sessions@claude-code-agent-monitor-pluginsЧто делает transcript-replay
Скилл обращается к локальному API монитора через эндпоинты GET /api/sessions/:id и GET /api/sessions/:id/transcript. Сначала он выводит заголовок сессии: идентификатор, модель, рабочую директорию, статус, количество шагов, число блоков размышлений, суммарную длительность в миллисекундах и расходы в долларах США с четырьмя знаками после запятой.
Затем инструмент строит хронологический разбор по схеме «намерение → действие → результат». Длинные цитаты длиннее примерно 200 символов обрезаются многоточием. В конце формируется итоговый блок: изначальная цель, узловые точки диалога, ошибки инструментов и статус завершения сессии.
Без запущенного дашборда Agent Monitor через команду npm start в корне его репозитория скилл не сможет забрать данные из API. Скилл принимает аргументы: точный ID сессии, ключевые слова latest или last, диапазон шагов вроде 1-10 либо фильтр errors для поиска сбоев.
Какие задачи решает
- быстро разобрать длинную сессию агента без чтения сырых логов
- найти упавшие вызовы инструментов и повторные попытки в диалоге
- оценить стоимость и число шагов конкретной сессии Claude Code
- восстановить цепочку решений ассистента от задачи до результата
Примеры запросов агенту
- Разбери последнюю сессию через transcript-replay
- Покажи только ошибки в сессии 4a2b9c через transcript-replay errors
- Сделай сводку шагов 5-15 сессии latest с помощью transcript-replay
Как установить transcript-replay
1Через маркетплейс плагинов
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor/plugin install ccam-sessions@claude-code-agent-monitor-pluginsКоманда ставит плагин ccam-sessions целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill transcript-replay -a claude-code3Вручную: положить файлы
~/.claude/skills/transcript-replay/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/transcript-replay/
1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill transcript-replay -a codex2Вручную: положить файлы
.agents/skills/transcript-replay/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill transcript-replay -a cursor2Вручную: положить файлы
.cursor/skills/transcript-replay/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install hoangsonww/Claude-Code-Agent-Monitor plugins/ccam-sessions/skills/transcript-replay2Вручную: положить файлы
.github/skills/transcript-replay/SKILL.md1Через Skills CLI (Vercel)
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill transcript-replay -a gemini-cli2Командой платформы
gemini skills install https://github.com/hoangsonww/Claude-Code-Agent-Monitor --path plugins/ccam-sessions/skills/transcript-replayВручную: положить файлы
.devin/skills/transcript-replay/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о transcript-replay
Как установить transcript-replay в Claude Code?
Подключите репозиторий командой /plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor, а затем установите плагин вызовом /plugin install ccam-sessions@claude-code-agent-monitor-plugins.
Что делает скилл transcript-replay?
Он запрашивает данные диалога из Agent Monitor и преобразует их в компактный нумерованный список шагов с метаданными о стоимости и времени работы.
Что делать, если скилл сообщает о недоступности дашборда?
Перейдите в корень репозитория Agent Monitor и запустите сервер командой npm start, иначе локальные эндпоинты /api/sessions не ответят.
Исходный текст
SKILL.md · MIT
--- name: transcript-replay description: > Walk a Claude Code session transcript turn-by-turn from Agent Monitor data, summarizing each user, assistant, and tool message in order so a long conversation can be reviewed quickly. Anchors the recap to the session header (model, cost, turn_count). Use when reviewing what was actually said and done in a conversation. --- # Transcript Replay Replay a session transcript one turn at a time with a concise summary of each message. ## Input The user provides: **$ARGUMENTS** - A **session ID** to replay, or - "latest" / "last" for the most recent session. - Optionally a turn range (e.g. `1-10`) or `errors` to focus on tool failures. ## Data Sources | Endpoint | Returns | |----------|---------| | `GET /api/sessions/:id/transcript` | ordered transcript messages: role (user / assistant / tool), content, tool_name and tool result where applicable, timestamps | | `GET /api/sessions/:id` | session header: status, model, cwd, started_at, ended_at, cost, metadata (thinking_blocks, turn_count, total_turn_duration_ms) | ## Report Sections ### 1. Header `GET /api/sessions/:id`. Print id, model, cwd basename, status, turn_count, thinking_blocks, total_turn_duration_ms, and cost in one block. ### 2. Turn-by-turn walk `GET /api/sessions/:id/transcript`. Iterate messages in order. For each turn emit one compact entry: - **user** — the request in one sentence (quote the literal ask only if short). - **assistant** — the decision / action taken, plus which tools it invoked. - **tool** — the tool name and a one-line result (success value or the error text); do not paste large tool payloads. Group an assistant message with the tool calls it triggered so each "turn" reads as intent → action → result. ### 3. Thread highlights After the walk, pull out: the original goal, the key turning points, any tool failures or retries, and how the session ended (resolved / errored / abandoned). ## Output A numbered turn list (`Turn N — <role>: <one-line summary>`), grouped intent → action → result, preceded by the header block and followed by the highlights. Truncate any quoted content past ~200 chars with `…`. Currency as USD to 4 decimal places. Summarize faithfully — never invent message content that is not in the transcript. If the transcript endpoint returns empty, say the session has no stored transcript (it may predate transcript capture or need a reimport) rather than fabricating turns. If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.
© Son Nguyen · MIT · hoangsonww/Claude-Code-Agent-Monitor