Token Master
PLUGINToken spend analytics for Ulpi: one stacked daily chart of token consumption across every Ulpi profile, provider and account on the machine.
by karmsheel · v0.1.0
What it does
Token spend analytics for Ulpi: one stacked daily chart of token consumption across every Ulpi profile, provider and account on the machine (7D/30D/90D/1Y, stacked by token class, provider, profile or source), per-provider / per-profile / per-model / per-task breakdowns, and an Accounts and limits card that marks each credential as subscription (quota), pay-per-token API spend or free and shows the live allowance windows Ulpi can fetch. It reads the token accounting Ulpi already records — every profile's state.db opened read-only, plus DeepSeek Harness session files — and adds no collection of its own.
How to set it up
Disclosure — reads every Ulpi profile's state.db token accounting read-only, DeepSeek Harness session files under ~/.dsh, and the labels, ids and status of Ulpi credential-pool entries (no token values); goes through Ulpi's read-only fetch_account_usage(provider, read_only=True) to the provider's usage endpoint (no token is refreshed, rotated or stored); the optional button runs ssh with your own SSH setup into a host you added and streams the bundled read-only collector into that host's python3, installing and writing nothing there, and the Remote machines card runs to offer online peers (discovery only — adding a host is still a click); state lives in plugin-data/token-master/ on the root Ulpi home only; no telemetry, no background process.
Refresh limitsSync nowtailscale status --json
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve