claude-code-usage-analysis: Empirical analysis of Claude Code token usage: auto-compaction sweet spots across 8 developer workflows

by inevolin · Claude Skill · ★ 59

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

Security audit verdict: SAFE · quality 66/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours.

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

benchmarkclaude-codecontext-windowllmprompt-cachingtoken-usage

Quick Facts

Stars59
Forks3
LanguagePython
CategoryClaude Skill
LicenseMIT
Quality Score66/100
Last Updated2026-11-17
Created2026-11-13
Platformsclaude-code, cli, python
Est. Tokens~22k

About claude-code-usage-analysis

Claude Code usage anti-patterns and best-practices As engineers and builders we are using LLMs for almost all of our work, and the more we use them the more important it becomes to understand how to optimize the performance, reliability and cost of AI tools. I started this research to better understand and improve my own setup and greatly reduce my token usage and costs.

Compatible Skills

These tools work well together with claude-code-usage-analysis for enhanced workflows:

  • codex-usage-tracker — semantic(0.38)+complementary+same_lang+similar_pop+shared_platform (63%)
  • tokentab — semantic(0.36)+complementary+same_lang+similar_pop+shared_platform (63%)

claude-code-usage-analysis alternative? Top 6 similar tools

Looking for a claude-code-usage-analysis alternative? If you're comparing claude-code-usage-analysis with other claude skill tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • tokf by mpecan · ⭐ 200

    Config-driven CLI tool that compresses command output before it reaches an LLM context

  • toktrack by mag123c · ⭐ 196

    Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)

  • prompt-caching by flightlesstux · ⭐ 131

    Automatic prompt caching for Claude Code. Cuts token costs by up to 90% on repeated file reads, bug fix sessio

  • awesome-llm-token-optimization by pleasedodisturb · ⭐ 119

    A curated list of strategies, tools, papers, and resources for reducing LLM token costs and improving efficien

  • claude-crusts by Abinesh-L · ⭐ 82

    Analyze your Claude Code context window, detect wasted tokens, and get pasteable fix commands. Zero API calls

  • rlm-rs by zircote · ⭐ 63

    Rust CLI implementing the Recursive Language Model (RLM) pattern for Claude Code. Process documents 100x large

More Claude Skill Tools

Explore other popular claude skill tools:

View all Claude Skill tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Claude Skill tools