Token chart

From rcarmo/piclaw · View interactive version

Token chart is an AI agent skill from the GitHub repository rcarmo/piclaw. Generate a 7-day token usage chart (all chats) and post it to the web UI timeline.

How to use this skill

Skill file

Token chart

Generate token-usage charts from the database or from session files.

Modes

Examples

Default chart:

bun /workspace/piclaw/runtime/skills/operator/token-chart/token-chart.ts

Provider + model chart:

bun /workspace/piclaw/runtime/skills/operator/token-chart/token-chart.ts --mode provider-model

Estimated provider + model cost chart:

bun /workspace/piclaw/runtime/skills/operator/token-chart/token-chart.ts --mode provider-model-cost

Post to the web chat via IPC:

bun /workspace/piclaw/runtime/skills/operator/token-chart/token-chart.ts --ipc

Post via IPC and allow a Pushover nudge:

bun /workspace/piclaw/runtime/skills/operator/token-chart/token-chart.ts --ipc --nudge

Data sources

Use --source sessions when DB-backed token usage is unavailable or when you want to inspect raw session-file history directly.

Output behaviour

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.