gemini-cli-hud

gemini-cli-hud is a skill for Claude Code, Codex from yideng-xl/gemini-cli-hud. It costs 29 tokens per session (253 once invoked), scanned A, original, MIT.

A terminal status bar for Gemini CLI, a command-line tool for running Gemini sessions. It shows token use, context-window use, tool activity, session details, and elapsed time while you work.

In plain words
What is it for?
Use it to monitor Gemini CLI sessions from the terminal, including model information, loaded instruction files, extensions, and active skills.
Why use it?
It removes the need to guess how much conversation space remains or how many tools have run. It also helps restore the terminal display if the status bar causes a layout problem.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Good fit Use it to monitor Gemini CLI sessions from the terminal, including model information, loaded instruction files, extensions, and active skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yideng-xl/gemini-cli-hud/gemini-cli-hud
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yideng-xl/gemini-cli-hud --skill gemini-cli-hud
Clone the repo
git clone --depth 1 https://github.com/yideng-xl/gemini-cli-hud

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-cli-hud

README.md
[![agentmods](https://agentmods.dev/badge/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud/github.svg)](https://agentmods.dev/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud)
Your own site
<a href="https://agentmods.dev/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud"><img src="https://agentmods.dev/badge/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-cli-hud

Your own site · 80×15
<a href="https://agentmods.dev/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud"><img src="https://agentmods.dev/badge/skills/yideng-xl/gemini-cli-hud/gemini-cli-hud.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00253
Opus 5.5 $0.00012 $0.00101
Sonnet 5.5 $0.00006 $0.00051
Haiku 4.5 $0.00003 $0.00025

Measured 2mo ago against content hash 15283889b8e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gemini-cli-hud scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gemini-cli-hud/SKILL.md · 25 lines

What it actually says

Gemini CLI HUD Extension

Overview

This extension provides a real-time, sticky status bar (HUD) at the bottom of your terminal during Gemini CLI sessions. It tracks token usage, context progress, and tool activity.

Capability

  • Sticky UI: Stays at the bottom of the terminal using DECSTBM scroll regions.
  • Token Monitoring: Real-time display of token consumption with progress bar.
  • Context Tracking: Visual progress bar for context window usage percentage.
  • Tool Activity: Summary of tool calls with counts (e.g., ✓ Read ×8 | ✓ Bash ×4).
  • Session Info: Model name, GEMINI.md count, extensions count, active skill, elapsed time.

Troubleshooting

  • If the HUD disappears, it will redraw on the next Gemini CLI event.
  • If the terminal looks broken after exit, run reset to clear the scroll region.
  • The HUD adjusts to terminal width — modules wrap to new lines on narrow terminals.

Usage

Automatically loads when the session starts. No user action needed.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 25 lines · 29 tokens per session scan A 15283889b8e6

Subscribe to this mod's changes

gemini-cli-hud is a skill published in the GitHub repository yideng-xl/gemini-cli-hud (8 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 253 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gemini-cli-hud compared with skills from other repositories

gemini-cli-hud next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-cli-hudyideng-xl/gemini-cli-hudSkill85mo agoMITA29Claude Code, Codex
discord-user-awarenessYamato-main/gemini-discordSkill5yesterdayMITA52Claude Code, Codex
log_analyzerjxoesneon/CielSkill17d agoApache-2.0A17Claude Code, Codex
prompt-optimizerJamkris/everything-gemini-codeSkill935mo agoMITA179Claude Code, Codex
python-patternsJamkris/everything-gemini-codeSkill935mo agoMITA33Claude Code, Codex
openclaw-persona-forgeJamkris/everything-gemini-codeSkill935mo agoMITA221Claude Code, Codex
gemini-apiJamkris/everything-gemini-codeSkill935mo agoMITA57Claude Code, Codex