Guides
Short, practical write-ups about Claude Code usage, tokens and how to share what you build.
Where Claude Code stores your usage data, and when it deletes it
The folder Claude Code keeps session logs in, what is inside them, why they disappear after 30 days by default, and how to keep them longer.
2 min read · updated 2026-10-02
Input, output and cache tokens in Claude Code, explained
Why Claude Code's token totals look so huge, what input, output and cache tokens are, and how to read the numbers on your receipt.
2 min read · updated 2026-10-02
How to share your Claude Code stats on X, LinkedIn and your README
Turn your Claude Code usage into a receipt and post it: a pre-filled post for X, LinkedIn, a download-ready image, a README badge and an embeddable card.
2 min read · updated 2026-10-02
How to check your Claude Code token usage
Three ways to see how many tokens Claude Code has used: its built-in commands, the session logs on your computer, and a shareable receipt.
3 min read · updated 2026-10-02
Run a script when Claude Code finishes or a session ends (hooks)
How Claude Code hooks work, the difference between the Stop and SessionEnd events, and how to write a hook that stays fast and out of your way.
2 min read · updated 2026-10-02