Home / Claude Code mods / Cost & usage / costclaw-live

costclaw-live

costclaw-live is a Claude Code mod by ucsandman that cOSTCLAW LIVE: per-request cost, cache decay and repeated-read detection while the session runs, and it serves the Nth identical Read of an unchanged file from its own cache instead of.

Updated 2026-10-02

What is costclaw-live?

costclaw-live is a Claude Code mod by ucsandman that cOSTCLAW LIVE: per-request cost, cache decay and repeated-read detection while the session runs, and it serves the Nth identical Read of an unchanged file from its own cache instead of. It is listed under Cost & usage and has 22 GitHub stars.

TypeClaude code mod
Authorucsandman
Repositoryucsandman/Agnostic-AI
Popularity22 GitHub stars
CategoryCost & usage
SecurityLow risk (88/100)
Rank#317 of 5,272 Claude Code mods; #48 in Cost & usage
LicenseMIT
Last commit2026-10-02
Hooks6 events
Seesevery tool call
Draws onAbovePrompt

Is costclaw-live safe to install?

costclaw-live scores 88/100 on the MCPMods security check: Low risk. Things to review: writes files or config. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.command.register
$.fs.statreads files
$.fs.writewrites files
$.session.id
$.session.repo
$.session.usage
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install costclaw-live?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/ucsandman/Agnostic-AI
    claude plugin validate ./Agnostic-AI/labs/claude-mods/prototypes/costclaw-live
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/ucsandman/Agnostic-AI && claude --plugin-dir ./Agnostic-AI/labs/claude-mods/prototypes/costclaw-live

Or ask Claude to set it up

Paste this into Claude Code and it installs costclaw-live for you:

Install the "costclaw-live" Claude Code mod from https://github.com/ucsandman/Agnostic-AI/tree/master/labs/claude-mods/prototypes/costclaw-live. Run claude plugin validate on it first and show me what it can access before you enable it.

More from ucsandman/Agnostic-AI

This repository has at least 9 Claude Code mods on MCPMods.

  • claude-runtime: Shared Claude runtime adapter: normalises function-hook events into ClaudeRuntimeEvent, exposes $.runtime (emit bus, sup (High risk)
  • harness-mods: Harness Mod layer: heartbeat/canary, native usage, rewrite explanations, measured subagent accounting, supervisor routin (Review before installing)
  • bender: REALITY BENDER: intercepts a harmless tool result and alters what Claude receives; prints REAL vs RECEIVED (Low risk)
  • blackbox: BLACK BOX RECORDER: structured per-session timeline of prompts, model steps, tool calls, subagents and denials; /blackbo (Review before installing)
  • guardian: GUARDIAN: executable policy that protects lab/demos/protected/** from Write/Edit/Bash, whatever CLAUDE.md says (Low risk)
  • matrix: MATRIX: freezes a harmless tool call before it runs, shows what Claude intended, asks you, then continues or denies. /ma (Low risk)
  • tunnel-cost: MIDDLEWARE TUNNEL stage 2: Cost analyzer: estimates the call's token cost from the args size (Low risk)
  • tunnel-observer: MIDDLEWARE TUNNEL stage 1: Observer: sees the call first, stamps t0, prints what enters (Low risk)