tokenpull
Pull your local token usage from platform session logs and rank it across 7d/30d/90d/all-time windows. Token-only reads stay on your machine, no paste or message content.
Instructions
Pull your LOCAL token usage from the platform's session logs and rank it across the four windows (7d/30d/90d/all-time) with the cascade — zero paste. Token-only: reads usage counts not message content. The numbers stay on your machine unless you submit them. Some platforms may have partial data (estimated=true when cacheCreate isn't available) or a dataGap note when the log format doesn't expose raw token counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | source platform (default: claude). Supported: amp, kimi, qwen, pi, openclaw, droid, codebuff, gemini, copilot, opencode, goose, kilo, hermes, devin, other, omp, proxy, claude, codex, grok, multi. 'multi' = combined cascade summed across all locally-detected platforms (needs 2+ active). 'devin' reads from ~/.local/share/devin/cli/sessions.db (SQLite, all windows). 'codex' is estimated via io_ratio. 'other' reads from a user-supplied JSON file (set SIGRANK_OTHER_PATH). Some platforms need setup (e.g. copilot requires COPILOT_OTEL_ENABLED=true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | Deterministic prose summary | |
| note | No | Reminder that one snapshot is returned per call — re-call to detect changes. | |
| window | No | The watched window (watch_tokenpull watches one window per call) | |
| cascade | No | ||
| pillars | No | The four raw token pillars for the watched window | |
| messages | No | Number of messages in the watched window | |
| platform | No | Source platform name | |
| auth_submit | No | Present only when submit:true. One of: {status:'received'|'cooldown'|'not_enrolled'|'error', ...}. Null when submit is false (preview only). | |
| generatedAt | No | ISO timestamp of the pull | |
| poll_interval_s | No | Advisory poll cadence echoed back (does not make the call block) |