tokenpull
Pull local token usage counts from session logs and rank them across time windows without exposing 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, claude, codex, 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 |
|---|---|---|---|
| windows | No | Per-window token usage + cascade results | |
| platform | No | Source platform name | |
| generatedAt | No | ISO timestamp of the pull |