Skip to content
ANcpLuaPublic

About

Native macOS menu-bar telemetry: CPU, memory, disk, processes, Claude usage, MCP servers, stay-awake without root

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Vitals

Vitals puts Mac telemetry and local Claude Code sessions in the menu bar. The same app keeps clipboard history, measures hotspot placement and shows a progress list you can edit while an agent works.

Install

Follow the installation procedure for a direct installation or a Mac managed by the dotfiles. Run vitals snapshot for a terminal view.

Follow the work

Open Progress checklists to see active and finished work. Check or uncheck an item, or add a line to steer the agent working on that list. Activity shows who changed each item and when. The agent updates the same list from the shell. Finish a list once everything is checked. You can reopen it later.

Waiting for you at the top of the window collects the open items that need you from every checklist: a decision, a sign-in, a check only you can make. The menu line shows their number. A tick there is saved in the item's own list, and the item stays visible until you select something else, so a slip can be taken back. Inside a list these items are grouped under For you, the rest under For agents. Right-click an item to assign it to yourself or to hand it back. Agents mark such an item by starting its text with Human:.

The menu bar shows YOU 2 while two such items are open. Click the count to open them directly; the readings left of it open the menu as before. When an agent puts a new item in front of you, Vitals shows a banner and plays a sound, and a click on the banner opens the same view. macOS asks once whether Vitals may send notifications. The bell at the bottom of the checklist window holds the one choice for this: no notification, a banner without sound, or a banner with one of the system sounds, which plays when you choose it. The banner carries the sound, so Do Not Disturb or another Focus silences both. An item you assign to yourself stays quiet.

Message agents… opens the human mailbox. Select one or several working addresses, or choose All working agents. Peer mail uses the local agent-mail installation. Request a reply tracks the request until the recipient answers or it expires. Incoming messages appear in Inbox. Keep on top pins the window above other apps.

Choose Human instruction when an agent should hear from you in its own chat rather than as peer mail. Show chat routes names the chat of each selected agent: for Claude Code it opens the Remote Control session list, and for Claude.app or a hosted chat it names the chat to type in.

Questions shows the options a working Claude Code session has presented. Poll other agents requests their votes through agent-mail. Each option shows its vote count and the number of inboxes that accepted the poll. An existing poll keeps counting matching replies while its asker is idle and its question is still open in the original session transcript. Questions shows the asker's availability and the agents still expected to answer. Vitals replays retained votes for saved polls when it starts. Chat about this sends a discussion message to all working agents. Answer the original question in the chat that asked it.

For coordination from a chat, run vitals poll-status REQUEST_ID with one of the poll's delivery request IDs. The JSON contains the saved tally, each original recipient's vote and current mailbox availability (working, idle, or unknown), and the question's session, tool call, index and local transcript path when available. A waiting agent can use these fields to request separate advice from a working peer or a one-shot helper. Give the helper the question and relevant context, identify its answer under its own address, and let it exit.

Agents lists each working mailbox alongside tracked Claude sessions. A row leads with its @ address in the turn's color: for a Claude Code session that is the session name, which /peers and agent-mail share. The original claude-<folder>-<hash> address, which still reaches the same inbox, follows in small text under Claude's title for the session. Rows show the turn state and prompt-cache time when the harness reports it. Needs you marks a blocked turn. Asks you marks a pending question or a Claude turn that ended with one. Hover over a Claude session for recent model calls and context details. The usage bars show Anthropic's reported limits. In the terminal, vitals burn summarizes recent calls from local transcripts and vitals claude also requests current usage.

Hosted agents

Vitals can open an outbound WebSocket to an owner's hosted agents relay. The relay mirrors checklist contents and the agent-mail roster. Vitals commits checklist edits locally and runs mail through the installed agent-mail with --cloud support. Live remote mailboxes appear as @cloud-NAME under Agents. Their messages are peer data.

Add a file entry named Agents Relay Link Token in the local key registry and point it at an owner-only token file. Hosted agents is off by default. Click the RELAY badge next to the Placement button at the top of the menu, or open Hosted agents next to Message agents and choose Turn on or Turn off, to change the link immediately. The badge is grey while off, amber while connecting, green when connected and red when the link token is missing. The menu shows Not set up, Off, Connecting, or the time the relay connected. Turning the link off clears the relay's checklist and roster mirrors and cancels pending mail waits. After a network change Vitals pings the relay and reconnects only when no pong arrives within five seconds.

Copy relay passphrase in the same submenu copies the file entry named Agents Relay owner passphrase for the relay's login page. The copy is marked concealed, stays on this Mac, and is cleared after two minutes if the clipboard still holds it. The button is a convenience, not a lock: processes running as the owner can read that file as well. Turn off is what keeps the relay away from this Mac. A new passphrase only affects new logins.

The default URL is wss://agents.otel.cc/link. For local testing, set HostedAgentsURL to a loopback WebSocket URL and reopen the menu to load it.

defaults write dev.ancplua.vitals HostedAgentsURL -string 'ws://127.0.0.1:8080/link'

A hosted chat can call mail_wait to wait for inbox records for up to 25 seconds at a time. After sending with request_reply, repeat the wait until the matching reply arrives.

Clipboard

Press ⌃⇧V to search the last 200 copied entries. Use ↑ and ↓ to select one, then press Return or click to put it on the pasteboard. Press ⌘V in the destination app. The panel keeps the 30 newest images and prefers text when a copy contains both. It skips writes marked concealed, transient or autogenerated. History is stored with owner-only access under ~/Library/Application Support/Vitals. To remove one entry, right-click it and choose Remove, or select it with the arrow keys and press ⌘⌫. Clear history removes all saved text and images.

Placement

Click the blue antenna circle at the upper right of the menu, or choose Placement, while moving a hotspot or modem. The panel starts a capped upload to Cloudflare and checks for lost pings. Color and tone tell you how the current spot compares with the best upload rate so far. Pick a limit from 5 to 50 Mbit/s and adjust the tone volume. Space pauses or resumes the upload. Escape or clicking elsewhere closes the panel and stops the measurement. Upload stops automatically after five minutes. For a ten-second sample capped at 5 Mbit/s, run vitals placement 10 5.

System and configuration

Opening Heizöl-Monitor reads the local status at http://127.0.0.1:8000/api/v1/heating-oil/overview?details=false. It shows the last successful search, today's phone alerts, reservations first observed today and the rejection count for the past 24 hours. Opening the rejection log loads the titles from the same local service, grouped by reason. Titles are discarded when the Vitals menu closes. To show it on this Mac run defaults write dev.ancplua.vitals HeatingOilMonitorEnabled -bool true. To remove it run defaults delete dev.ancplua.vitals HeatingOilMonitorEnabled and reopen the menu.

Menu What you can see or do
System and processes Read CPU, memory pressure and disk headroom. Inspect 60 seconds of CPU history for a process, or turn on per-process network rates.
Stay awake Hold the Mac awake always, with the lid closed or with an external display attached. Lid and display modes allow closed-lid operation with an external display. Always also allows it without one. On battery the built-in screen may sleep while the Mac stays awake, and at 10% charge or at the macOS low battery warning Vitals holds nothing, so a closed Mac sleeps. defaults write dev.ancplua.vitals awakeBatteryFloor -int 20 moves the floor and 0 turns it off.
MCP servers Inspect Claude Code's servers and cached tool names. Open a server to change its state for a project.
API keys See credential presence and the latest authentication evidence. See credential checks.
Dotfiles The main menu shows In sync or Needs attention. Open the submenu to see deployed files, Brewfile dependencies and the checkout's upstream status. The menu reuses results for five minutes. Check Again refreshes them immediately.

Use vitals snapshot, vitals awake, vitals mcp, vitals keys, vitals checklist list or vitals dotfiles for the corresponding terminal view. Use vitals keys set anthropic-agents-token to store or rotate the local Anthropic agent key. The shared credential skill resolves its file on demand for Claude Code API work. See credential setup. For development and release checks, read CLAUDE.md.

About

Native macOS menu-bar telemetry: CPU, memory, disk, processes, Claude usage, MCP servers, stay-awake without root

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages