desktop-cost-watch

Reviewed at commit c53a70b

Set a local budget reminder against reported session USD.

Made by
Yash Thakker
What we checked

Adds a /desktop-cost-watch pane to the Claude Desktop Code tab where you set a USD target and see a gauge of the session cost reported by Claude Code against it. It is a reminder only and blocks nothing. The only thing it stores is your target number per project.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the command; on desktop loads the saved target with $.store.get), command.run (opens the pane) and ui.render for the Pane component, which reads $.session.usage for the reported USD cost. Saving a target validates it (above 0, at most 100000) and writes it with $.store.set under a key containing the URL-encoded workspace path. When the target is reached the pane just says so; no tool calls, prompts or permissions are touched. No file access, network, process execution, model calls or toasts. ui.js is pure SVG and text helpers (identical in the sibling desktop-* mods). Only works on the desktop surface. Not reviewed: the host runtime.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of desktop-cost-watch
Made this mod? Add a badge to your README

modsforClaude badge for desktop-cost-watch

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/desktop-cost-watch.svg)](https://modsforclaude.com/mods/desktop-cost-watch/)

← All mods