ClaudeCodeMod

All shelves / Mods / Usage

green-lantern

By vogiaan1904

green-lantern is a Claude Code usage mod by vogiaan1904.

Draws the 5-hour and 7-day limits as Green Lantern charge that drains as you use it, with a power-ring spinner and an emerald theme.

Draws

Install

The marketplace name is green-lantern.

In Claude Code
/plugin marketplace add vogiaan1904/green-lantern-claude
/plugin install green-lantern@green-lantern
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
0.3.2
License
MIT
Repo stars
6
Last change
2026-10-05

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Sees tool calls

green-lantern-claude is a Green Lantern UI for Claude Code, and the plugin is the repository. The 5-hour and 7-day bars show the charge left, full when unused and draining as you work. They pale from green toward white as they run low. While Claude works, the spinner is a power ring. Shaping is writing a tool call, and Constructing is running a tool. Sending, thinking, and writing each have their own act. Each prompt picks one act per mode at random. A new session, or one just cleared, opens with the lantern emblem and the oath, and that folds away on the first prompt. /lantern-demo opens a pane of every act, and running it again closes the pane. Restart, then choose the emerald theme with /theme. The plugin ships the theme and does not select it. Tested on Claude Code 2.1.289. In the terminal or the desktop app the ring animates, and only while Claude works. Elsewhere you get the still version. prefersReducedMotion in ~/.claude/settings.json holds the ring still. This is a fan project, not affiliated with DC Comics or Warner Bros.

The marketplace name is green-lantern. The 5-hour and 7-day bars are why this page files it under usage. The bars read the limits Claude Code already has, so this page does not list a network call. usage-band draws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit. These bars are the two limits as charge left, and the spinner changes while a tool call is written or run.

Demo

The spinner moves from Shaping, while a tool call is written, to Constructing, while the tool runs, with the 5-hour and 7-day bars showing charge left.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • ui.messageAdds a message to the session
  • command.runWhen you run its slash command
  • ui.renderDraws into the sessionPaneSpinnerTurnDurationAbovePrompt
  • session.endWhen a session ends
  • session.measureWhen usage is measured
  • turn.stepAt each step of a turn

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

Files

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

Facts

Author
vogiaan1904
Category
Usage
Marketplace
green-lantern
Repo
vogiaan1904/green-lantern-claude
Version
0.3.2
License
MIT
Repo stars
6
Last change
2026-10-05
Language
TypeScript
Files
17

Other mods in Usage

long-live-the-claudeLapis0x0Draws the 5-hour and 7-day limits, context, and cache time above the prompt. Long-run, off by default, keeps the cache warm and pauses near the limit.usage-petmanson341349-beepDraws context, the 5-hour and weekly limits, and the cache hit rate above the prompt. The desktop Code tab draws four rings, with a pixel pet beside them.context-alarmmutlumehmetWarns when the context window fills, with a status line under the prompt, and suggests /save-context before compaction.cache-watchernikisgeDraws the cache time, the context, the plan limits, and this session's API value above the prompt, and a press can keep the cache warm.fast-jev-outputtamaratranSends a long Bash result to TypeSafe's Jev, which trims it before Claude reads it, and toasts the cut. The full output stays in the project.usage-statusrobbytDraws a row under the prompt hint with the 5-hour and 7-day limits left and how full the context is.brewmod-plan-effortkochetkov-maDraws a row above the prompt while Claude plans, naming the effort it raised to, xhigh by default.cache-keepernateherkaiDraws whether this chat's prompt cache is warm or cold, what a cold rewrite would cost, and the plan limits, and can keep a big chat warm.usage-budgeterikdarlingdataHolds a commandToasts when the 5-hour or 7-day window crosses a percent, and refuses a new subagent past 95% by default.leitstanddominikmartnDraws free disk space and context fill above the prompt, and names a hook of yours that just blocked a tool call.working-memoryHangghostDraws the context window as a brain: tool calls light regions, it fills as context grows, and compact plays a sleep sweep.jev-pilotAkramovic1Asks TypeSafe's Jev, through OpenRouter, to set each turn's effort, the subagent model, and the one skill a prompt needs, with a pilot that says what it chose.
All 183 in Usage