dsh-token-panorama

Shows where every session's tokens go: lifetime totals, cache hit rate, peak/off-peak cost, a calendar heatmap, a trend chart, per-model and per-workspace breakdowns, and a session tree revealing subagent sessions, with CSV/JSON export. Also ships context clear/compact actions and a prompt optimization button.

Overview

Shows where every session's tokens go: lifetime totals, cache hit rate, peak/off-peak cost, a calendar heatmap, a trend chart, per-model and per-workspace breakdowns, and a session tree revealing subagent sessions, with CSV/JSON export. Also ships context clear/compact actions and a prompt optimization button.

Installation

Install from GitHub

dsh plugin --profile web add github:jiuwu02/dsh-token-panorama

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.