Antigravity CLI Statusline plugin

Plugin that fills the Antigravity CLI footer with API quota, token usage, Git branch and system load readouts.

  • 106 ★ on the repository
  • Last commit
  • MIT
Plugin

Extended access

Why this level

  • Hook scripts run on every status refresh, and the wizard edits three `settings.json` files and `trusted_hooks.json`.
All reasons and checks

andyawd/antigravity-cli-statusline

Install

Manual install

agy plugin install https://github.com/AndyAWD/antigravity-cli-statusline

Installs the plugin globally; restart `agy` so the status line hook loads.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Hook scripts run on every status refresh, and the wizard edits three `settings.json` files and `trusted_hooks.json`.

This is third-party code. Review the repository files before installing.

What it does

The plugin customizes the Antigravity CLI footer. Pick from 36 indicators: model and agent profile, 5-hour and weekly API quotas, context fill and token usage, Git branch, process memory, background task and subagent counts. Labels render as text or emoji in English, Traditional and Simplified Chinese, and Japanese. Bar graphs, order and line breaks are set in the dialog of the `/antigravity-cli-statusline:agy-cli-statusline` slash command, and Node.js scripts do the rendering.

Who it is for. Antigravity CLI developers who want remaining quota and context fill visible inside the terminal.

Good fit when

  • The 5-hour quota drains faster than expected and a reset countdown is needed below the input line.
  • A session nears the context limit and the bar shows when to start a new one.
  • Several repositories are open and the Git branch with a dirty-state flag belongs in the footer.
  • A team works in Japanese or Chinese and wants indicator labels in the same language.

Not a fit when

  • A status line is needed for Claude Code or Cursor; the plugin targets Antigravity only.
  • Node.js is absent on the machine and will not be installed.
  • Company policy forbids editing `settings.json` or attaching hooks.

Example request

Set up the status line: 5-hour quota with a bar, reset time, Git branch and context fill, labels in English.

Limitations

Node.js is required: without it the line stays blank and `agy` disables it after 30 consecutive failures. The wizard writes settings into three `settings.json` files, updates `trusted_hooks.json` and places scripts in `~/.gemini/antigravity-cli/hooks/`. The CLI is restarted on first enablement; later changes to order, style and language apply immediately. Git is needed only for the branch and dirty-state indicators. The account email indicator shows the address in plain text, so remove it before screen recording.

How to disable. `agy plugin disable antigravity-cli-statusline` turns the plugin off and `agy plugin uninstall antigravity-cli-statusline` removes it. Delete the `ui.footer` entries in `settings.json` and the scripts in the hooks directory by hand.

FAQ

Which label languages exist?

Four: English (`us`), Traditional Chinese (`zh-tw`), Simplified Chinese (`zh-cn`) and Japanese (`jp`). The language is chosen at the start of the wizard.

How do I reorder indicators?

Enter comma-separated numbers at step four of the wizard. The `e` prefix selects emoji, `t` selects a text label and `n` inserts a line break.

What if the line is blank?

Check that Node.js is installed and on `PATH`. Without it the line is empty, and after 30 consecutive failures `agy` disables it.

Is a restart needed after changing settings?

Only on first enablement. Afterwards order, label style and language apply immediately.

Where does the plugin work?

In the Antigravity CLI terminal, the IDE sidebar chat and the Antigravity 2.0 desktop app on Windows, macOS and Linux.

Discussion

No questions or reviews yet.

Plugins

A status-line plugin for the Antigravity CLI that shows the model, plan, Git branch, context fill and remaining quota.

PluginExtended access61Repository stars

A limits and token spend monitor for Claude Code, Codex, Antigravity and Grok CLI: macOS menu bar, Windows tray, HTML reports

CLIExtended access347Repository stars

A Claude Code status line in the spirit of terminal monitors: loaded plugins and skills, tokens, cost, context and subagents

PluginExtended access246Repository stars

A Claude Code plugin: a status line with context, 5-hour and 7-day limits, cost and usage of Codex, Gemini and z.ai

PluginBroad access587Repository stars

A Claude Code statusline with 15 presets: model, reasoning effort, context and Pro, Max and Ultra usage limits at a glance

PluginExtended access215Repository stars

A customizable status line for Claude Code: model, git branch, context, usage limits and other widgets

CLIExtended access13.6KRepository stars

README in short

Settings sync across three `settings.json` layers: CLI, global and workspace. Four color thresholds shift an indicator as the quota drains.

README badge

Report a problem