dsh-tokstats

A possibly useful DSH token usage plugin: cross-session stats on where your tokens went - four headline figures, context length distribution, a 12-week heatmap and weekly trend, plus workspace and model rankings; it also ships a next-turn token forecast and a draft-optimization feature.

Overview

A possibly useful DSH token usage plugin: cross-session stats on where your tokens went - four headline figures, context length distribution, a 12-week heatmap and weekly trend, plus workspace and model rankings; it also ships a next-turn token forecast and a draft-optimization feature.

Installation

Install from GitHub

dsh plugin --profile web add github:PlusQi/dsh-tokstats

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.