← Plugins

Usage Metrics

Antigravity plan quota in Paseo's native Usage panel plus a unified per-session context, token, cache-hit, reasoning, speed, and cost popover for Antigravity, Codex, and Claude.

$ clisbot plugin add eros-h/paseo-usage-metrics
Report a bug
eros-hUtils0installs1cb8428b9a0eSource
Usage Metrics screenshot 1

Usage Metrics adds Antigravity plan quotas to Paseo's Usage panel and a session metrics pill beside the composer for Antigravity, Codex, and Claude agents (including Claude-backed DeepSeek sessions).

What it adds

Antigravity usage source

  • Shows Gemini and Claude/GPT 5-hour and weekly quota bars with reset countdowns in Paseo's Usage panel and in the Antigravity context window popover.
  • Runs agy -p "/quota" --output-format json on the daemon host. It never reads OAuth token files.
  • Caches the last result in memory and refreshes it in the background, so the panel opens instantly.

Session metrics pill and popover

  • The composer pill shows context usage, session tokens, and cache-hit rate at a glance.
  • The popover shows the provider's plan usage windows, context window occupancy, session and last-step tokens, a cached/fresh input breakdown, reasoning tokens, turns and steps, and session cost when the provider reports it.
  • Antigravity sessions also show decode speed, time to first token, model time, and tool time.

Setup

  • Paseo >= 0.18.1.
  • Node.js >= 22.13 on the daemon host (for the built-in node:sqlite module).
  • For Antigravity quotas and session metrics, the Antigravity CLI (agy) must be installed and signed in on the daemon host.
  • No settings or accounts are required for Codex and Claude session metrics.

Data access

The plugin reads local session logs on the daemon host, read-only:

  • Antigravity: ~/.gemini/antigravity-cli/conversations/<conversation-id>.db
  • Codex: ~/.codex/sessions/**/rollout-*<session-id>.jsonl and ~/.codex/archived_sessions
  • Claude / DeepSeek: ~/.claude/projects/<encoded-cwd>/<session-id>.jsonl

It only parses token counts, model names, timings, and cost from these files; prompt and response text is never displayed or sent anywhere. The plugin makes no network requests itself. The agy quota command contacts Google's servers with your existing Antigravity sign-in, and quota windows for Codex and Claude come from Paseo's own usage sources.

Limitations

  • Metrics appear only for Antigravity, Codex, Claude, and DeepSeek agents running on the same host as the Paseo daemon.
  • Cost is shown only when the provider reports it to Paseo.