SShortSingh.
Back to feed

Developer releases free Claude Code plugin to track API quota usage in real time

0
·1 views

A developer has built and released 'usage-guard', a free, local plugin for Claude Code that monitors real-time quota consumption across 5-hour and weekly usage windows. The tool reads rate-limit data directly from Claude Code's status line and alerts users via a Stop hook when usage thresholds are crossed, helping them pace their work before hitting limits. Unlike Claude Code's built-in warning, which triggers only when the quota is nearly exhausted, usage-guard aims to flag the issue earlier in the session. The plugin falls back to a local weighted-budget estimate if the native quota data path is unavailable, and no data leaves the user's machine. Released as an independent project with no Anthropic affiliation, it drew 267 installs within its first two weeks.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Layer-by-Layer AI Auditing: Why Spot Checks Leave Dangerous Gaps

Shipping AI systems reliably requires systematic, layer-by-layer auditing rather than quick spot checks, which tend to miss edge cases and multi-step failure points. A thorough audit covers every layer — data pipeline, model behavior, agent decision-making, downstream effects, and rollback paths — documenting potential failures before they reach production. Skipping even one layer creates a vulnerability that production traffic will eventually expose, often triggering cascading issues that are far costlier to fix. The recommended approach is to build a comprehensive audit checklist, assign it to a methodical reviewer with adequate time, and update it continuously as new issues emerge. Over time, this checklist becomes institutional knowledge capturing what genuinely matters for a given AI system's domain.

0
ProgrammingDEV Community ·

The simple bitrate math that lets ffmpeg hit an exact target file size

A developer on DEV Community has outlined a straightforward arithmetic method to compress video files to a precise size limit using ffmpeg, eliminating the need for repeated trial-and-error exports. The core formula treats file size as bitrate multiplied by duration, then works backwards: given a known duration and a target size, the required bitrate becomes a single division. The process accounts for real-world factors such as container overhead (roughly 2%) and a fixed audio bitrate, with the remainder allocated to video. The author implemented this logic in a Rust command-line tool called DeepShrink, but emphasizes that the underlying math is the key insight. The approach is particularly useful when uploading to platforms like Discord or bug trackers that enforce strict file size limits.

0
ProgrammingHacker News ·

New Tool Sends Alerts for Premium Seats at 70mm IMAX Screenings of The Odyssey

A developer has launched a web tool called Imaxxing that notifies users when good seats become available at 70mm IMAX screenings of Christopher Nolan's upcoming film The Odyssey. The service targets moviegoers who want the best possible viewing experience at premium large-format theaters. Users can sign up to receive alerts rather than manually checking for seat availability. The tool was shared on Hacker News, where it garnered modest early attention from the community.

0
ProgrammingDEV Community ·

How WebSockets and Redis Work Together to Power Scalable Real-Time Apps

Modern web applications increasingly demand real-time features like live dashboards, instant messaging, and collaborative editing, creating complex engineering challenges around scalability and fault tolerance. WebSockets address these needs by enabling persistent, full-duplex communication between clients and servers, eliminating the inefficiencies of traditional HTTP's request-response model. However, WebSockets alone cannot manage state across multiple server instances or handle horizontal scaling effectively. Redis complements WebSockets by acting as a message broker and data store, with its Pub/Sub feature allowing multiple WebSocket servers to share messages without direct knowledge of each other. Together, the two technologies form a resilient architecture where Redis handles state management and inter-server communication while WebSockets maintain low-latency client connections.