From usage-guard
Status line with context %, session cost and rate-limit use; one-time warnings before you hit limits
1 event · 3 calls
Ships in usage-guard. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
Its source makes none of the file, program, network, model or prompt calls listed here. Its hooks and calls are below.
Each event it registers a hook on, with the matcher when it sets one
turn.completeEvery mods API method its source calls, by namespace
usagestatustoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub nicod2587/claude-optimisers --plugin usage-guard