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. 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.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

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

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call, classic hooks, compaction
Hooks
session.start, command.run, command.run {command=usage-dashboard}, turn.start, turn.complete, session.measure, tool.check, tool.call, prompt.attachment, classic.*, session.compact, session.end
API calls
$.clock.now, $.command.register, $.env.get, $.fs.write, $.http.fetch, $.process.run, $.session.id, $.session.model, $.session.usage, $.session.version, $.store.get, $.store.set
Validation
Passed with warnings
Scanned revision
1904ada5728d

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. What a mod can access and 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/)