ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 MiguelMachado-dev

turn-telemetry

마지막 턴의 텔레메트리(기간, 첫 토큰까지의 시간, 최근 턴 스파크라인이 포함된 tok/s, 출력 토큰, 입력 토큰과 그중 캐시된 양, 요청 수, 스트림에서 5s 이상 벌어진 정지)를 프롬프트 위에 띠로 그리는 Claude Code 모드입니다. 응답이 스트리밍되는 동안 띠가 실시간으로 갱신됩니다.

MiguelMachado-dev@MiguelMachado-dev

MiguelMachado-dev/miguel-mods/tree/main/turn-telemetry

번역 완료

이 mod 소개

Claude Code 2.1.287 이상이 필요합니다. 띠는 터미널과 Claude 데스크톱 앱의 Code 탭에 표시되며 다른 화면에는 그리지 않습니다.

명령

  • /tps로 띠를 켜고 끕니다.
  • /tps reset으로 마지막 턴과 스파크라인 기록을 지웁니다.

읽고 보내는 것

모드는 Claude Code가 각 턴에 대해 보고하는 시간과 토큰 수를 읽어 자체 상태에 보관하고 띠와 스파크라인을 그립니다. 네트워크 요청을 하지 않고 모델을 호출하지 않으며 파일도 읽지 않습니다.

설치

Claude Code에서 실행합니다.

/plugin marketplace add MiguelMachado-dev/miguel-mods
/plugin install turn-telemetry@miguel-mods
/reload-plugins

띠가 나타나지 않으면 Claude Code를 다시 시작하세요.

모드는 컴퓨터의 Claude Code 안에서 Claude Code와 같은 접근 권한으로 실행됩니다. 설치하기 전에 hooks의 소스 코드를 읽으세요.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add MiguelMachado-dev/miguel-mods
claude plugin install turn-telemetry
원문 / README

turn-telemetry

A Claude Code mod that draws a band above the prompt with telemetry for the last turn: duration, time to first token, tok/s with a sparkline of recent turns, output tokens, input tokens and how much of them was cached, request count and stalls (gaps of 5s or more in the stream). While a response streams, the band updates live.

Needs Claude Code 2.1.287 or later. The band shows in the terminal and in the Code tab of the Claude desktop app; other surfaces don't draw it.

Commands

  • /tps toggles the band.
  • /tps reset clears the last turn and the sparkline history.

What it reads and sends

The mod reads the timings and token counts Claude Code reports for each turn and keeps them in its own state to draw the band and the sparkline. It makes no network requests, calls no model and reads no files.

Install

In Claude Code:

/plugin marketplace add MiguelMachado-dev/miguel-mods
/plugin install turn-telemetry@miguel-mods
/reload-plugins

If the band doesn't show up, restart Claude Code.

A mod runs inside Claude Code on your machine with the same access Claude Code has. Read the source in hooks before installing.

License

MIT. See LICENSE.

비슷한 프로젝트