Skip to content
Development
Skill

/leaderboard

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

From plugin
claude-code-hooks
5818 skills

Claude Code

$ npx -y skills add karanb192/claude-code-hooks --skill leaderboard --agent claude-code

SKILL.md

leaderboard.SKILL.md
name: leaderboard
description: Show this repo's context-cost leaderboard: the files that pulled the most tokens into context
disable-model-invocation: true

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.

@karanb192
Ships withclaude-code-hooks

๐Ÿช Ready-to-use hooks for Claude Code, shipped as a 22-plugin installable marketplace: safety, automation, notifications, and more. ๐ŸŒ Live site & catalog Claude Code and agents like it run shell commands, edit files, and install packages on their own.

Stars on GitHub

Momentum

stars in total
581
Star history of karanb192/claude-code-hooks on GitHub, a chart by star-history.com

Other skills on claude-code-hooks.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโ€ฆ

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android โ€” semantic ARIA roles and labels,โ€ฆ

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commitsโ€ฆ

react2d252k
@facebook@facebookInstall Skill

Questions about leaderboard.

Which coding agents can use leaderboard?
leaderboard installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.