fatihkan

AI Token — AI skill for Claude Code

AI community

Badi/.claude/ token usage analysis command.

How to install AI Token

Installs to ~/.claude/commands/fatihkan-badi-ai-token.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/fatihkan/badi/HEAD/.claude/commands/ai-token.md -o ~/.claude/commands/fatihkan-badi-ai-token.md

Restart Claude Code, or start a new session, for it to be picked up.

What AI Token does

Badi/.claude/ token usage analysis command. Categorized token counts, largest files, optimization suggestions.

Required Tools

  • Bash (badi ai token)

Procedure

Step 1: Run

badi ai token

Step 2: Interpret the Results

Category breakdown:

  • agents — Agent definitions
  • commands — Slash commands
  • hooks — Shell hooks
  • skills — Skill library (usually the largest)
  • references — Project guides
  • memory/workspace — Project notes

Total token threshol

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 ★
  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • Geo SEO Claude — GEO-first SEO skill for Claude Code 3.6k ★

Full documentation available on GitHub

View Source Repository