agent-status-tmux — Gemini AI Agent
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiAgentsagent-status-tmux
    Back to Agents
    agent-status-tmux

    agent-status-tmux

    jimmyliao April 12, 2026
    5 copies 0 downloads

    Display AI coding agent usage (Claude Code + Gemini CLI) in tmux status bar

    agent-status-tmux

    Display AI coding agent usage (tokens, cost, duration) in your tmux status bar. Supports Claude Code and Gemini CLI simultaneously.

    <!-- screenshot: replace with your own after install -->

    tmux status bar showing Gemini and Gemini usage

    ◆ gemini │ 8% │ 80k │ $3.50 │ 22m │ 5h:12% 7d:32%  ◇ gemini │ 1% │ 9k │ ~$0.01 │ 2m
    

    Quick Start

    One-liner (no git clone needed):

    curl -fsSL tmux.jimmyliao.net/install | bash
    

    Or manually:

    git clone https://github.com/jimmyliao/agent-status-tmux.git
    cd agent-status-tmux
    ./scripts/install.sh
    

    That's it. Every tmux session (tmux new -s xxx) will automatically show AI status. Works whether your status bar is at the top or bottom.

    Installs to ~/.agent-status-tmux by default. Override with AGENT_STATUS_TMUX_DIR=/your/path.

    Requirements

    • tmux >= 3.2 (hex color #[fg=#rrggbb] support; tested on 3.4–3.6)
    • jq
    • Claude Code and/or Gemini CLI

    Features

    • Real-time token usage, cost, and session duration in tmux status-right
    • Claude Code: context %, tokens, actual cost, duration, rate limits (5h/7d)
    • Gemini CLI: context %, tokens, estimated cost, duration
    • Shows both providers simultaneously when both are active
    • Process-aware: detects running AI sessions, not just stale cache files
    • Gemini CLI Extension with AfterAgent/SessionStart hooks
    • Fallback: direct-reads Gemini chat recordings when hooks are unavailable
    • Tokyo Night color scheme (customizable)

    Installation Details

    git clone https://github.com/jimmyliao/agent-status-tmux.git
    cd agent-status-tmux
    ./scripts/install.sh
    

    The install script will:

    1. Create cache directory (~/.cache/ai-usage/)
    2. Patch ~/.gemini/statusline.sh to write session data (with backup)
    3. Update ~/.tmux.conf to display AI status (with backup)
    4. Link the Gemini CLI extension (if Gemini CLI is installed)
    5. Reload tmux config

    All modifications are idempotent and create ti

    Comments

    More Agents

    View all
    research

    NotebookLM

    Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.

    G
    Google
    browser

    Project Mariner (Browser Agent)

    Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.

    G
    Google DeepMind
    multimodal

    Project Astra (Multimodal Agent)

    Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.

    G
    Google DeepMind
    enterprise

    Gemini Enterprise Agent Platform

    Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.

    G
    Google Cloud
    research

    Gemini Deep Research Agent

    Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.

    G
    Google
    canvas

    Gemini Canvas Agent

    Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.

    G
    Google

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Deploy Code to GitHub with Natural Language via Slack & Claude 3.5n8n · Free · Related topic
    • **NEW** Claude 3.7 Extended Thinking AI Agent - Unlock Ultimate Intelligencen8n · Free · Related topic
    • Automate Shopify SEO Content Creation with GPT-4 & Claude Multi-Agent Systemn8n · Free · Related topic
    • PostgreSQL Conversational Agent with Claude & DeepSeek (Multi-KPI, Secure)n8n · Free · Related topic
    Browse all workflows