AI Token — AI skill for Claude Code
Badi/.claude/ token usage analysis command.
How to install AI Token
Installs to ~/.claude/commands/fatihkan-badi-ai-token.md
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 RepositoryRelated Skills
Agent Optimization
Live token monitor for Claude Code & Codex sessions — cost tracking, optimization analysis, LLM-powered sugges
Token Counter
Counts tokens in documentation to ensure compliance with AI context window limits. Reports token counts per pa
ClaudeCodeStatusLine
Display real-time Claude Code model info, token usage, and rate limits in a compact status line without affect
DeepVCode
DeepV Code - A highly customizable AI coding assistant compatible with all major AI models. The perfect altern
Contextdiet
Analyze what eats your AI agent's context window — token breakdown, trim suggestions, local-first
Nexscope Ecommerce Skills
Ready-to-use AI agent skills for e-commerce intelligence. Product research, keyword optimization, competitor a
Related Agents
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra
Context Analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the use
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize