Claude Code mod
usage-log
Logs plan readings, context fill, engine cost, turn outcomes, tool timing, permission asks, commands and settings hook runs per session. Records what each session loads into its context and applies the rules set in the dashboard's Context tab: defer or rewrite tools, rewrite or drop the skill listing, injected blocks and system prompt sections, reorder the sections, cap file reads. Serves the usage dashboard at http://127.0.0.1:5198, started with each session; needs node on the PATH. /usage-dashboard turns the server on or off. /usage-dashboard auto turns the start with each session on or off.
Install
/plugin marketplace add MahadSalim/claude-mods
/plugin install usage-log@claude-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, runs processes, writes files, reads files, reads env vars, persists state, draws
- Sees
- every tool call, every skill, classic hooks, compaction
- Hooks
session.startcommand.runturn.startturn.completesession.measuretool.checktool.calltool.describeprompt.composeprompt.attachmentskill.promptclassic.*session.compactsession.end
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- MahadSalim/claude-mods
- Folder
usage-log- Marketplace
claude-mods- Last updated
- 28 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is usage-log?
Logs plan readings, context fill, engine cost, turn outcomes, tool timing, permission asks, commands and settings hook runs per session. Records what each session loads into its context and applies the rules set in the dashboard's Context tab: defer or rewrite tools, rewrite or drop the skill listing, injected blocks and system prompt sections, reorder the sections, cap file reads. Serves the usage dashboard at http://127.0.0.1:5198, started with each session; needs node on the PATH. /usage-dashboard turns the server on or off. /usage-dashboard auto turns the start with each session on or off. It is a mod for Claude Code, from MahadSalim/claude-mods on GitHub.
What can the usage-log mod access?
Its widest reach is "network" (network, runs processes, writes files, reads files, reads env vars, persists state, draws). It sees every tool call, every skill, classic hooks, compaction. Like any mod, it runs with your permissions.
How do I install usage-log?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add MahadSalim/claude-mods and then /plugin install usage-log@claude-mods.
More context & usage mods
usage-line
wolves/usage-line
Rate-limit, context, model, effort and advisor readout above the prompt, with toasts when a window runs high
usage-meter
arafathusayn/cc-mods
Shows your plan's 5-hour and weekly usage limits in one line above the prompt, with the time to each reset; /usage-meter opens a pane with your pace and when you would run out
usage-line
tusharranjan-ai/usage-line
One status line: model, context bar (), cache hit rate, session cost, and 5h/7d limits with reset countdowns.
usage-meter
danielalvesvm99/usage-meter
Band above the prompt: plan usage bars with reset times, session tokens, estimated spend, and CPU/RAM/disk.
usage-line
sundyme/usage-line
Prompt-cache countdown, 5h / 7d usage and context fill as rings in one slim row by the prompt
usage-meter
ErnestTramp/claude-usage-meter
A usage meter for Claude Code: a plain "5h 62%" button under the prompt that opens a compact sheet with your session, weekly and per-model weekly limits, and how long you have left at your current pace.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.