TheSalaty

Tripmeter — AI skill for Claude Code

AI community

Tripmeter — a GNOME Shell extension for Claude Code and OpenAI Codex: usage limits and resets, plus what the same traffic would have cost at API rates, per model, per skill, per subagent and per MCP t.

How to install Tripmeter

This entry records only its repository, not the path inside it, so there is no exact command to give. Open TheSalaty/tripmeter and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tripmeter does

Tripmeter — a GNOME Shell extension for Claude Code and OpenAI Codex: usage limits and resets, plus what the same traffic would have cost at API rates, per model, per skill, per subagent and per MCP tool

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
  • Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★

README

Tripmeter Usage

A GNOME Shell extension for checking Claude Code and Codex usage from the top panel.

It shows your current limits and resets, plus an estimate of what your token usage would cost at API list prices. Data comes from local session files and stays on your machine.

Tripmeter menu

Features

  • Claude Code and Codex limits and reset times
  • Weekly forecast: where the limit lands at reset, weighted by which weekdays you actually work
  • API-equivalent cost for the past 24 hours, 7 days or 30 days
  • Cost by model, skill, subagent and MCP tool
  • Prompt-cache savings
  • Panel display with limit, cost or icon only

Tripmeter works with either CLI on its own or with both. It supports GNOME Shell 49 and 50.

Install

Download the zip from the [latest release](https://github.com/TheSalaty/tripmeter/releases/latest), then run:

cd ~/Downloads

Then run:

gnome-extensions install --force tripmeter@thesalaty.github.io.shell-extension.zip

Log out and back in, then enable the extension:

gnome-extensions enable tripmeter@thesalaty.github.io

From source

Requires Node.js 20 or newer.

git clone https://github.com/TheSalaty/tripmeter.git
cd tripmeter
npm install
make install

Log out and back in before enabling the extension. Run `make pack` to build an installable zip.

Settings

Open the settings from the gear in the menu or run:

gnome-extensions prefs tripmeter@thesalaty.github.io

You can change the panel display, visible providers, cost window and refresh interval.

Model prices are defined in [`src/lib/pricing.ts`](src/lib/pricing.ts). To override them, create `~/.config/tripmeter/pricing.json`:

{
  "gpt-5.6": { "input": 5, "output": 30 },
  "claude-opus": { "input": 5, "output": 25, "cacheReadFactor": 0.1 }
}

Prices are in USD per million tokens. The longest matching model prefix wins.

Notes

  • API-equivalent