# Leaderboard

Show this repo's context-cost leaderboard: the files that pulled the most tokens into...

- Repository: https://github.com/karanb192/claude-code-hooks (572 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add karanb192/claude-code-hooks --skill leaderboard -g -a claude-code -y`
Codex: `npx skills add karanb192/claude-code-hooks --skill leaderboard -g -a codex -y`
Cursor: `npx skills add karanb192/claude-code-hooks --skill leaderboard -g -a cursor -y`
Gemini CLI: `npx skills add karanb192/claude-code-hooks --skill leaderboard -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add karanb192/claude-code-hooks`

## Description

Show this repo's context-cost leaderboard: the files that pulled the most tokens into context

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Context-cost leaderboard

!`node "${CLAUDE_SKILL_DIR}/../../context-hogs.js" --render 2>/dev/null || node "${CLAUDE_PLUGIN_ROOT}/context-hogs.js" --render`

The table above is this repository's most token-expensive files, aggregated across
your recent sessions (read count, cumulative tokens, estimated cost). It is produced
by the `context-hogs` hook, which records as you work.

Briefly call out the top 1-3 offenders and suggest one concrete fix each: for
example: split an oversized file, exclude a generated/vendored path, or add the
suggested CLAUDE.md / `permissions.deny` block for a file Claude keeps re-reading.
Keep it short; do not re-run any commands.

