UserPromptSubmit and PostToolBatch hooks that track the account's 5-hour and 7-day subscription usage windows and halt the agentic loop before the next model call once a configured threshold is crossed, so unattended automation can't silently burn usage credits; usage is read from the OAuth usage endpoint and cached, with dry-run/enforce modes and a time-boxed bypass

Install

/plugin install usage-guard@plugin-hub

Run it inside Claude Code after adding the marketplace with /plugin marketplace add aki77/claude-plugins.

Contents

Discovered from source

Skills 2

Sponsors

Details

Marketplace
aki77/claude-plugins
Source
plugins/usage-guard
Category
community

More from aki77/claude-plugins

All 12