shawnpetros

Lithium — AI skill for Claude Code

AI community

Mood stabilizer for your AI bill.

How to install Lithium

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

What Lithium does

Mood stabilizer for your AI bill. Cross-provider LLM-spend aggregator (Anthropic / OpenAI / OpenRouter). Local Rust daemon + SQLite, served via CLI, statusline, menubar, harness hooks.

Alternatives in AI

  • Agmsg — Cross-vendor messaging for CLI AI coding agents — let Claude Code, Codex, Gemini & Copilot talk to each other 1.5k ★
  • Coralline — 🪸 Powerlevel10k-inspired statusline for Claude Code — paste one prompt and your AI interviews you, then insta 541 ★
  • onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★

README

lithium - cross-provider LLM-spend aggregator

lithium

Mood stabilizer for your AI bill.
Weighed, measured, kept in balance. One number, every provider.

Status: v0.3.x. Anthropic + OpenAI + OpenRouter + ElevenLabs adapters wired. SwiftBar menubar plugin + Claude Code / cship status-line wrapper shipped. Daemon split (lithiumd) parked until polling cadence demands it.

Rust SQLite macOS Linux MIT


See it

lithium spend in the Claude Code status line via cship
Claude Code status line. Live month-to-date variable spend on every prompt.
lithium balance + spend in the macOS menubar
macOS menubar. Always-on glance via the SwiftBar plugin.
lithium dropdown menu showing per-provider breakdown
Drop-down breakdown. Per-provider variable + fixed, day-of-month context, projected EOM, budget readout.