Resources
1Install
npx skillscat add rcarmo/piclaw/token-chart Install via the SkillsCat registry.
SKILL.md
Token chart
Generate a 7-day token usage chart (all chats) and post it to the web UI timeline as a message.
Steps
Run the chart script:
bun /workspace/piclaw/piclaw/skills/token-chart/token-chart.tsPost safely to the web chat (JSON-encoded, no Pushover nudge):
bun /workspace/piclaw/piclaw/skills/token-chart/token-chart.ts --ipcIf you explicitly want a Pushover nudge as well:
bun /workspace/piclaw/piclaw/skills/token-chart/token-chart.ts --ipc --nudge
Notes
- The chart is rendered as an embedded SVG via markdown image syntax.
- Styling is handled by the web UI CSS (token-chart image selector).
- Numbers are formatted using K/M in labels and summaries.
- Uses the
token_usagetable by default; pass--source sessions(or--sessions-dir) to read session JSONL files. - Use this on demand (not scheduled yet).