Home / Claude Code mods / Security / usage-guard

usage-guard

usage-guard is a Claude Code mod by Camellia-inc that claude の5時間の使用量の上限を status line に出し、しきい値を超えたらツールとプロンプトを止める mod.

Updated 2026-10-02

What is usage-guard?

usage-guard is a Claude Code mod by Camellia-inc that claude の5時間の使用量の上限を status line に出し、しきい値を超えたらツールとプロンプトを止める mod. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorCamellia-inc
RepositoryCamellia-inc/usage-guard
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (84/100)
Rank#2,819 of 5,272 Claude Code mods; #324 in Security
LicenseMIT
Last commit2026-10-02
Hooks4 events
Seesevery prompt, every tool call
Draws onnothing

Is usage-guard safe to install?

usage-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.session.usage
$.ui.statusdraws interface

How do I install usage-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Camellia-inc/usage-guard
    claude plugin validate ./usage-guard/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Camellia-inc/usage-guard && claude plugin install usage-guard@usage-guard

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-guard for you:

Install the "usage-guard" Claude Code mod from https://github.com/Camellia-inc/usage-guard. Run claude plugin validate on it first and show me what it can access before you enable it.