Claude Code usage

Agent Usage Monitor

Raycast extension for real-time Claude Code session monitoring with hooks-based state tracking

Install

From source
git clone https://github.com/wuyuxiangX/agent-usage-monitor.git

From the README

Claude Code Monitor

Real-time monitoring for Claude Code sessions directly from Raycast.

Track active sessions, monitor usage costs, and quickly switch between Claude Code sessions — all without leaving your keyboard.

Features

Session Monitoring

- Real-time session status tracking: Active, Waiting for Input, Idle, Ended
- View session details: project, git branch, model, turns, tokens (input, output, cache read), cost, and duration
- AI-generated session labels for quick identification (powered by Claude Haiku)
- One-click focus to jump back into any session's editor or terminal
- Resume ended sessions directly from Raycast
- Git branch display and worktree detection (worktree badge on sessions)
- Show in Finder and copy project path
- Automatic cleanup of stale sessions

Supported Editors & Terminals:

Focus action opens the project directly in the editor's CLI. JetBrains IDEs are detected via TERMINAL_EMULATOR and focused using the app bundle launcher. Resume copies claude --resume to clipboard and opens your chosen terminal at the project directory.

Menu Bar Status

- Always-visible menu bar icon showing active session count
- Color-coded status: green (active), orange (waiting for input), yellow (idle)
- Session sections: Waiting for Input, Active, Idle, Recently Ended (last 5)
- Each session shows: project name, terminal app, duration, last update, and cost
- Click any session to focus its editor/terminal window
- Quick actions: Open Session List (Cmd+L), Usage Dashboard (Cmd+U)

Usage Dashboard

- Overview table: today, this week, and this month stats (sessions, cost, tokens)
- Daily cost trend chart (last 7 days)
- Per-model usage breakdown (weekly)
- Per-project cost and token breakdown (weekly)
- Token types tracked: input, output, cache read

Extensions…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
29 April 2026

FAQ

What is Agent Usage Monitor?

Raycast extension for real-time Claude Code session monitoring with hooks-based state tracking It is a usage for Claude Code, from wuyuxiangX/agent-usage-monitor on GitHub.

How do I install Agent Usage Monitor?

Clone wuyuxiangX/agent-usage-monitor from GitHub and follow the setup steps in its README.

Is Agent Usage Monitor popular?

wuyuxiangX/agent-usage-monitor has 32 GitHub stars and 4 forks. It was last updated on 29 April 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.