claudemods

All Claude Code modsMahadSalim/claude-mods

usage-log

A Claude Code mod in MahadSalim/claude-mods

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.

usage-log reaches L3 (network) and passed claude plugin validate with warnings on Claude Code 2.1.302.

Install hint

/plugin install usage-log --marketplace MahadSalim/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L3 Uses the networknetwork, runs processes, writes files, reads files, reads env vars, persists state, draws

Validation

Passed with warnings on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call, every skill, classic hooks, compaction
Hooks
session.start, command.run, command.run {command=usage-dashboard}, turn.start, turn.complete, session.measure, tool.check, tool.call, tool.describe, prompt.compose, prompt.attachment, skill.prompt, classic.*, session.compact, session.end
API calls
$.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.stat, $.fs.write, $.http.fetch, $.process.run, $.session.id, $.session.model, $.session.usage, $.session.version, $.store.get, $.store.set, $.ui.invalidate
Validation on 2.1.302
Passed with warnings
Scanned revision
a98c4fb4e472
Marketplace warnings
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from MahadSalim/claude-mods

Badge for your README

Reach badge for usage-log Validation badge for usage-log

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MahadSalim--claude-mods--usage-log-reach.svg)](https://mods.aidojo.si/mods/MahadSalim--claude-mods--usage-log/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MahadSalim--claude-mods--usage-log-validates.svg)](https://mods.aidojo.si/mods/MahadSalim--claude-mods--usage-log/)