agentleFS
PeterCangPeterCang/claude-tokens-plugin/skills/tokens/SKILL.md

tokens

Skill1 starsChanged 8 months agoMITView on GitHub

Count all historical Claude Code token usage across all local projects, broken down by model, project, date, and week. Includes cost estimation based on official Anthropic pricing.

  • Installs packages

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use audit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. educlopez/ui-craft★ 367same name
    2. aibtcdev/skills★ 10same name
    3. dkadts/landing-kit-building★ 2same name
    4. blyatiful1/ultraweb★ 1same name
    5. 15yotsuka/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the output is PYTHON_NOT_FOUND, Python is not installed.

    line 14

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Token Stats

Step 1 — Detect Python

python --version 2>/dev/null || python3 --version 2>/dev/null || echo "PYTHON_NOT_FOUND"

If the output is PYTHON_NOT_FOUND, Python is not installed. Tell the user:

Python is required but not found on your system. Please install it:

After installing Python, run /tokens:tokens again.

Then stop — do not continue.

Step 2 — Locate and run the bundled script

SCRIPT=$(find "$HOME/.claude/plugins/cache" -name "token_stats.py" 2>/dev/null | head -1)
if [ -z "$SCRIPT" ]; then
  echo "ERROR: token_stats.py not found. Try: claude plugin update tokens@claude-tokens-plugin"
  exit 1
fi
python "$SCRIPT" 2>/dev/null || python3 "$SCRIPT"

Display the output directly without additional explanation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.