AI Dev Impact Lab JA
← Rankings · AI-RELATED REPO

japananh/aimonitor

macOS menu bar + CLI that watches Claude Code session usage across multiple accounts and switches to whichever has server-side headroom. Local-first, no telemetry.

Go MIT GitHub ↗
★ 2
stars
100
AI relevance
50
solo dev
0
tool sigs

SUMMARY AI summary by gpt-5-mini

aimonitor is a lightweight tool for macOS and Linux that monitors multi-account Anthropic (Claude Code) usage and silently switches active accounts to avoid hitting OAuth rate/usage limits. It’s aimed at developers or power users who run the claude CLI or multiple Claude accounts and want seamless credential switching without re-login. Key features: - Live 5‑hour and 7‑day usage bars (polled from Anthropic’s /api/oauth/usage). - Silent account switching by refreshing OAuth tokens and writing live credentials. - Auto-swap at a configurable utilization threshold (default 80%), can SIGINT running REPLs to restart on the new account. - Secure storage in OS keyring (macOS Keychain, Linux libsecret); SQLite stores references only. - Local-first design: no telemetry, only outbound calls to Anthropic usage/token endpoints. - CLI and macOS menu‑bar app; configurable daemon/autostart.

DETECTED Detected AI stack

AI-related keywords found in this repo's description, topics, or README summary — grouped by category. Each badge links to the corresponding ranking detail page.

🧠 LLM providers (1)
Anthropic
🤖 LLM models (1)
Claude
💾 Databases (1)
SQLite
🌐 Web frameworks (1)
SwiftUI

GitHub Topics

#claude #claude-code #cli #golang #macos #menu-bar #oauth #session-monitoring #swiftui

Language breakdown (by bytes)

Go
83.8%
Ruby
0.8%
Shell
3.2%
Swift
11.7%
Makefile
0.5%

Owner

Account
japananh
Type
User
Followers
57

Backend Developer 👩‍💻 - Blogger 📚 - Powerlifter U57 🇻🇳

Dates

Created on GitHub 2026-05-13
Last push 2026-05-14
First seen here 2026-05-13
Last fetched 2026-05-14 16:14