Skill497 repo starsupdated 13d ago
leaderboard
Show this repo's context-cost leaderboard: the files that pulled the most tokens into context
Install in Claude Code
Copygit clone --depth 1 https://github.com/karanb192/claude-code-hooks /tmp/leaderboard && cp -r /tmp/leaderboard/plugins/context-hogs/skills/leaderboard ~/.claude/skills/leaderboardThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
# 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.More from this repository
boardSkill
Show the wanted-poster bounty board: this repo's TODO/FIXME/HACK debt priced as aging XP bounties
dead-endsSkill
List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost
scorecardSkill
Show the CLAUDE.md compliance scorecard: which rules Claude actually follows vs ignores
receiptsSkill
Show your personal model-quality trend card (failure rate, edit churn, tokens/task by model version)
provenanceSkill
Preview the provenance receipt (prompts, est. spend, tests run, agent-authored lines) for the current session ledger
standupSkill
Render today's standup card from what your agents actually did across repos