claude

tokenlens

Track session tokens and cost, find cost leaks, convert PDFs to Markdown, get timing and best-practice tips.

0 on GitHubby BISTEC Globalv1.0.0MITupdated 25 days agoproductivity
/

Plugin tokenlens from marketplace bistec-tokenlens in shaeelabanuhussain/track_the_tokens. Commands read from the repo's manifest — 20 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (1)

  • token-coach

    Use when the user asks how much Claude Code is costing them, why a session is expensive, how to save tokens or money, whether to /compact or /clear, when the best time to use Claude is, or how to handle large PDFs, logs or files cheaply. Not for general coding questions.

Slash commands (13)

  • /tokenlens:budget

    Set the per-session and per-day budget TokenLens warns about

  • /tokenlens:dashboard

    Build the TokenLens HTML dashboard and open it in the browser

  • /tokenlens:diagnose

    Recurring cost leaks across your sessions, ranked by dollars, with fixes

  • /tokenlens:export

    Export usage as FinOps FOCUS CSV or OpenTelemetry GenAI JSON

  • /tokenlens:handoff

    Write HANDOFF.md so you can /clear and continue in a fresh, cheap session

  • /tokenlens:pdf2md

    Convert a PDF to Markdown (60-90% fewer tokens) and show the savings

  • /tokenlens:report

    Cost, tokens, cache and top cost leaks for this session

  • /tokenlens:sessions

    Recent sessions with cost and efficiency score

  • /tokenlens:setup

    Enable the TokenLens live cost statusline

  • /tokenlens:share

    Share your privacy-safe token usage summary with your team lead

  • /tokenlens:team

    Team report - who used tokens, for what, how efficiently, and who is eligible for more

  • /tokenlens:tips

    Claude Code token-saving best practices and the best time to work

  • /tokenlens:whatif

    Estimate savings if detected leaks, model routing and caching were fixed

Hooks (5)

  • SessionStart

    node "${CLAUDE_PLUGIN_ROOT}/scripts/tokenlens.js" hook session-start

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/tokenlens.js" hook pre-read

  • UserPromptSubmit

    node "${CLAUDE_PLUGIN_ROOT}/scripts/tokenlens.js" hook prompt

  • Stop

    node "${CLAUDE_PLUGIN_ROOT}/scripts/tokenlens.js" hook stop

  • SessionEnd

    node "${CLAUDE_PLUGIN_ROOT}/scripts/tokenlens.js" hook session-end

View source on GitHub

Similar plugins

caveman

claude

Talk like caveman. Cut filler. Keep technical details explicit.

22 skills · 1 command · 3 agents · hooks

JuliusBrussee/caveman 119,462

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

Taste Skill

claudecodex

tasteskill 2.5.1: professional company websites at the figma.com and x.ai level, with one section per screen, real photographs, real product UI, effects kept for tech and gaming pages, and a real-browser checker and finish gate.

1 skill

Leonxlnx/taste-skill 114,391

career-ops

claudecodex

Open-source AI job search that runs locally in your AI coding CLI: scan job portals, evaluate listings into a structured A-H report with a 1-5 score, tailor your CV, track applications

5 skills · hooks

career-ops-hq/career-ops 82,253

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

pake

claudecodex

Package any website or local web build into a lightweight desktop app with Pake CLI.

1 skill

tw93/Pake 63,463

Maintain tokenlens?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted