Gan-Git

Tokenskyline — AI skill for Claude Code

AI community

Your year of AI coding as a 3D token skyline.

How to install Tokenskyline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Gan-Git/tokenskyline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tokenskyline does

Your year of AI coding as a 3D token skyline. One command, one HTML file. Claude Code, Codex, Gemini, Cursor and 60+ tools.

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★

README

tokenskyline

**Your year of AI coding, as a 3D skyline.** One command reads the local logs of your AI coding tools and builds a GitHub-style contribution graph, 3D or flat, in a single HTML file.

npx tokenskyline

Reads local logs from Claude Code, Codex, Gemini CLI / Antigravity, Hermes Agent, Cursor, OpenCode, WorkBuddy, CodeBuddy, Open Mirror and 60+ other AI coding tools, then opens `tokenskyline-2026.html` in your browser. Nothing is uploaded. Works on macOS, Linux and Windows (Node 18+).

[中文说明](#中文)

![tokenskyline, 3D view, dark theme](docs/screenshot-3d-dark.png)

![tokenskyline, flat view](docs/screenshot.png)

*Screenshots use sample data (`npx tokenskyline --demo`).*

What you get

  • All tools stacked in one grid: each day's cell is split by how much each tool used that day.
  • Each tool on its own row, on the same timeline, so you can see when you switched tools.
  • 3D skyline or flat grid: bars on a plinth, height = real usage. The view angle is picked to make the chart as large as your screen allows; drag to rotate and look behind tall bars, double-click to reset. Add #flat to the URL for the grid, where nothing hides anything.
  • Three measures: total tokens, tokens without cache reads (cache reads are often 90%+ of the total), estimated cost in USD.
  • A local ledger at ~/.tokenskyline/ledger.json: every run saves each day's totals, so days stay counted after the tools delete their logs.
  • One file, about 50 KB. Send it to anyone, open it on a phone.
  • No logs yet? npx tokenskyline --demo builds the page from sample data.
  • English or Chinese, following your browser language (add #en or #zh to the URL to force one). The English page starts weeks on Sunday like GitHub; the Chinese page uses 亿/万 and starts on Monday.

FAQ

How do I see my Claude Code token usage as a contribution graph?

Run `npx tokenskyline`. It picks up `~/.claude/projects` along with every other tool it finds.

Why