skills/token-tracker/SKILL.md
Token usage tracking and cost monitoring specialist. ALWAYS trigger when the user asks about token usage, API cost, token count, input/output tokens, billing, cost tracking, cost estimate, how much did this cost, token monitoring, usage stats, or wants to see how many tokens a request used. For active optimization strategies (model selection, context management, prompt efficiency) use token-optimizer instead.
npx skillsauth add thesaifalitai/claude-setup token-trackerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a token usage and cost tracking expert. When the user asks about token usage or cost, provide detailed tracking and estimates.
When the user enables token tracking (by saying "enable token tracking", "show token usage", or "track my tokens"), append a usage block after every response:
───────────────────────────────────────────
📊 Token Usage (this request)
Input tokens: ~{estimated_input_tokens}
Output tokens: ~{estimated_output_tokens}
Total tokens: ~{total}
Est. cost: ~${estimated_cost} ({model})
Context used: ~{context_percentage}% of window
───────────────────────────────────────────
Estimation rules:
| Model | Input / 1M tokens | Output / 1M tokens | Cache hit / 1M | |-------|------------------|--------------------|----------------| | Claude Opus 4.6 | $15.00 | $75.00 | $1.50 | | Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | | Claude Haiku 4.5 | $0.80 | $4.00 | $0.08 |
Prompt cache = 90% discount on repeated input tokens — worth structuring prompts to hit cache.
| Provider / Model | Input / 1M | Output / 1M | |-----------------|-----------|-------------| | GPT-4o | $2.50 | $10.00 | | GPT-4o mini | $0.15 | $0.60 | | Gemini 2.0 Flash | $0.10 | $0.40 | | Gemini 1.5 Pro | $1.25 | $5.00 | | DeepSeek V3 | $0.27 | $1.10 |
When the user asks for a session summary, provide cumulative stats:
═══════════════════════════════════════════
📊 Session Summary
Total requests: {count}
Total input tokens: ~{sum_input}
Total output tokens: ~{sum_output}
Total tokens: ~{grand_total}
Session cost: ~${total_cost}
Avg cost/request: ~${avg_cost}
Most expensive req: #{n} (~${max_cost})
═══════════════════════════════════════════
When the user asks "how much would this cost on [other model]?":
💰 Cost Comparison — {token_count} tokens
Claude Haiku 4.5: ~${haiku_cost} ← cheapest
Claude Sonnet 4.6: ~${sonnet_cost} ← best value for code
Claude Opus 4.6: ~${opus_cost} ← most powerful
GPT-4o: ~${gpt4o_cost}
Gemini 2.0 Flash: ~${gemini_cost} ← cheapest competitor
Switching Haiku→Sonnet: +${diff} for this request
Using cache on Sonnet: ~${cached_cost} (90% input discount)
When asked "how much will Claude cost for [use case]?":
Budget Estimate — {use_case}
Assumptions:
Messages/day: {n}
Avg input: {input_tokens} tokens/msg
Avg output: {output_tokens} tokens/msg
Model: {model}
Daily cost: ~${daily}
Monthly cost: ~${monthly} ({days} days)
Annual cost: ~${annual}
To cut this by 50%:
→ Use Haiku for {simple_tasks}
→ /compact every {n} messages
→ Enable prompt caching on stable system prompts
Track how much of the context window is consumed:
| Model | Context Window | Approx. messages before full | |-------|---------------|------------------------------| | Claude Haiku 4.5 | 200K tokens | ~200 short exchanges | | Claude Sonnet 4.6 | 200K tokens | ~200 short exchanges | | Claude Opus 4.6 | 200K tokens | ~200 short exchanges |
Warning thresholds:
/compact soon/compact now to avoid losing context/compact or /clear immediatelyWhen context % is high, append to the tracking block:
⚠️ Context at {n}% — consider /compact to save tokens
# Claude Code shows token usage in the status bar automatically
# after every command
# Set a spending budget alert:
claude config set --global preferredNotifChannel statusbar
# Check your usage dashboard:
# https://console.anthropic.com/usage
token-optimizer skilldevelopment
Use when building Vue 3 applications with Composition API, Nuxt 3, or Quasar. Invoke for Pinia, TypeScript, PWA, Capacitor mobile apps, Vite configuration.
tools
Expert Upwork freelancer skill for writing winning proposals, client communication, and project management. ALWAYS trigger for ANY task involving Upwork job proposals, bid writing, client messages, project scoping, milestone planning, contract setup, client onboarding, status updates, project handoffs, portfolio descriptions, rate negotiation, handling difficult clients, raising rates, dispute resolution, or review requests. Also triggers for: "write a proposal", "reply to client", "Upwork bid", "freelance proposal", "client message", "project quote", "scope of work", "follow up with client", "client is ghosting", "request review", "upwork job".
development
UI component code implementation specialist. Trigger when WRITING or FIXING UI code — Tailwind CSS utilities, shadcn/ui components, Radix UI primitives, CVA component variants, Framer Motion animations, CSS variables for dark mode, WCAG accessibility code (ARIA labels, focus management, keyboard navigation), responsive layouts, skeleton loaders, empty states, Storybook stories, Figma-to-code. Also triggers for: fix this component, add dark mode, make this accessible, write a Button component, style this form, add animations, fix layout shift. For design PLANNING (choosing colors, styles, font pairings for a new project) use ui-ux-pro-max instead.
development
Design PLANNING and DISCOVERY specialist — use before writing any code. Invoke when CHOOSING a design direction: pick a visual style (glassmorphism, brutalism, minimalism, claymorphism, neumorphism, bento grid, skeuomorphism), generate a color palette, select font pairings, plan a design system, choose chart styles, or define the look-and-feel for a new project. Triggers: 'what style should I use', 'suggest a color palette', 'recommend fonts for my app', 'design system for a SaaS', 'what UI style fits a fintech app', 'generate a design brief', 'choose between dark/light theme', 'plan the visual identity'. Covers 50 styles, 97 palettes, 57 font pairings across React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui stacks. For WRITING or FIXING actual UI code (components, Tailwind classes, animations) use uiux-design instead.