Skip to content

Add usage-guard to Usage Analytics & Cost Tracking#808

Closed
eltonylfgi-blip wants to merge 1 commit into
jamesmurdza:mainfrom
eltonylfgi-blip:add-usage-guard
Closed

Add usage-guard to Usage Analytics & Cost Tracking#808
eltonylfgi-blip wants to merge 1 commit into
jamesmurdza:mainfrom
eltonylfgi-blip:add-usage-guard

Conversation

@eltonylfgi-blip

@eltonylfgi-blip eltonylfgi-blip commented Jul 11, 2026

Copy link
Copy Markdown

Description

Adds usage-guard to the Usage Analytics & Cost Tracking section. It is an open-source (MIT) Claude Code plugin that warns you in-session, before you hit your 5-hour or weekly quota, via a Stop hook that interrupts instead of waiting for you to glance at a status line. It shows an even-pace readout (ahead of or behind an even split of the week), exact % used with a reset countdown, a weighted burn-rate fallback, and a /usage-guard:usage command. Zero dependencies, local-only, no network calls.

It sits alongside the existing quota and pace trackers already in that section (claude-lens, onWatch, WhereMyTokens); the differentiator is that it is a proactive in-session guard rather than a passive display. One-line addition, appended to the section like the neighbouring entries.

Checklist

  • The entry is a tool that uses AI
  • The entry is a developer-focused tool
  • The description is unambiguous and clear
  • The description matches the style of other entries

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

👋 Hi @eltonylfgi-blip,
Thank you for your contribution! However, this PR doesn't follow our PR template requirements.
Issues found:

  • Missing required section: ## Description
  • Missing required section: ## Checklist
    What to do:
  1. Please edit your PR description to follow the PR template
  2. Make sure to fill out the Description section
  3. Check all applicable items in the Checklist
    This PR will be closed automatically. Once you've updated your PR description, feel free to reopen it or create a new PR.

This is an automated message. If you believe this is an error, please comment below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant