ClaudeCodeMod

All shelves / Mods / Usage

wavy-usage

By BatuhanCakmakk

wavy-usage is a Claude Code usage mod by BatuhanCakmakk.

Draws liquid-filled rings above the prompt for the 5-hour and 7-day limits, the context, and the prompt cache, a jet for the effort, and a pane of recent turns.

Draws

Install

The marketplace name is wavy-usage.

In Claude Code
/plugin marketplace add BatuhanCakmakk/wavy-usage
/plugin install wavy-usage@wavy-usage
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.3.1
License
MIT
Repo stars
5
Last change
2026-10-23

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Reaches the network or an outside service

Requires Claude Code with mods, on by default on 2.1.287 and later. On earlier builds with early access, set CLAUDE_CODE_ENABLE_FUNCTION_HOOKS to 1 in ~/.claude/settings.json first. Start a new session, and the band appears after the first reply. From your shell, the two claude plugin lines do the same; inside a session on 2.1.275 or later, /plugin install wavy-usage --marketplace BatuhanCakmakk/wavy-usage does both at once. The pane is drawn on desktop only, and the terminal gets a one-line band. Rings turn amber past 50% and red past 75%. /wavy-usage opens the pane, /wavy-usage off hides it all, and /wavy-usage ttl 5m or 1h sets the cache lifetime the countdown uses. A toast suggests /clear or /compact when the context passes 55% of a window larger than 500k. CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC turns off the usage check. Eight languages, picked under Language in /config.

The marketplace name is wavy-usage, and it holds only this plugin. The plan limits, the context, and the prompt cache are why this page files it under usage. usage-band draws one line for the limits, the context, and the last turn's cache hit, and the README names it as an inspiration. cache-timer counts down until the prompt cache expires. This one draws all four as rings that fill and drain, flies a jet faster at lower effort, and keeps a pane of the last five turns with what each cost and which projects and models filled the window. In the source, the band is an AbovePrompt render and the pane a Pane render, fed by session.measure and turn.complete.

Demo

The author's screenshot of the wavy-usage band on a light theme: liquid-filled rings for the 5h limit at 45%, the 7d limit at 53%, the context at 22% of 224k, and the prompt cache at 1h, then $64.04, the effort jet, and a Panel button. The figures are the author's sample.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • turn.stepAt each step of a turn
  • ui.closeWhen its pane closes
  • ui.renderDraws into the sessionPaneAbovePrompt
  • command.runWhen you run its slash command/wavy-usage

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /wavy-usage

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
BatuhanCakmakk
Category
Usage
Marketplace
wavy-usage
Repo
BatuhanCakmakk/wavy-usage
Version
1.3.1
License
MIT
Repo stars
5
Last change
2026-10-23
Language
TypeScript
Files
26

Other mods in Usage

usage-band-modjonathanlocksDraws one line above the prompt with the model, session cost, context, the 5-hour and weekly limits, and a per-model weekly limit, led by a pixel crab mascot.usage-statsconnorchuang32Opens /usage-stats in the desktop app: a heat map of tokens per day, trends and models tabs, and a Wrapped-style card you can save as an SVG.session-infodougcunhaHolds a commandOpens a pane of the session: context, cost, prompt cache, plan usage, agents, checks, CI runs, and Git, and holds a prompt that would rewrite an expired cache.ccbaremaballarinDraws a quiet band above the prompt: model and effort, the GitHub repo and branch with lines changed, a context bar split as /context, tokens, and plan limits.token-monitor-hudfractal-manifoldDraws the 5-hour and 7-day windows above the prompt with reset times and where each lands at this pace, plus Codex and Antigravity quotas if they're signed in.cost-ledgerFynnXlandKeeps a ledger of what every chat cost, plus other mods' model calls, and draws /ledger: today, 7 and 30 days, projects, top chats, models, and plan limits.limit-barsFynnXlandDraws the 5-hour and weekly limits as two slim bars above the prompt, a ring for how long the prompt cache stays warm, and asks before a costly cold send.claude-loadGerruxOpens a /load pane of CPU and memory per Claude Code session, with orphaned dev servers you can end, and draws a load line above the prompt under high load.smart-compacthellosverreOffers /compact in a dialog above the prompt at good moments: after a commit, when tests go green, before the prompt cache expires, or when Claude asks.tideHula-Hoop-AIDraws the context window as a tide above the prompt: a fill bar by phase, a sparkline of recent turns, the rise per turn, and turns left before compaction.cache-ttl-statuslineJerrettDavisDraws session, plan-limit, and Headroom lines with model, cost, context, and a cache TTL that turns yellow then red, below the prompt or, in mod mode, above it.usage-meterLeeHigma0201Shows context fill, the 5-hour and 7-day plan windows, and session cost on the status line, and toasts when a plan window crosses 80% and 95%.
All 183 in Usage