oxen-meter

by NhonNguyen · ★ 2 · updated 3 days ago

PanesGuardsCommandsvalidates

0

Measures the prompt cache for a team, in Claude Code and, with its command-line companion, Codex CLI and Devin CLI: hit rate per session, subagent and model, a warning before a cold resume re-sends a whole context, the quota each session used, and an anonymized export to pool cost and quota data. Records token counts and timings only, never prompts, code or paths.

install oxen-meter

Install

/plugin marketplace add thanhnhoncntt/oxen-pet
/plugin install oxen-meter@oxen-pet

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.steptool.callclassic.SubagentStartclassic.SubagentStopsession.sendclassic.SessionStartclassic.PostModelSwitchsession.compactsession.measureturn.completesession.endcommand.runui.render
API calls
$.agent.list$.clock.every$.clock.now$.command.register$.fs.list$.fs.read$.fs.stat$.fs.write$.session.id$.session.root$.session.usage$.store.get$.store.set$.ui.ask$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
Pane
Can see
Bash callsAgent callsclassic hookscompaction
Reach
level 2 of 3 writes filesreads filespersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/thanhnhoncntt/oxen-pet
Path in repo
plugins/oxen-meter
Source commit
014cf61 the exact code the scan read
Author
NhonNguyen @thanhnhoncntt
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from thanhnhoncntt/oxen-pet

oxen-pet

thanhnhoncntt/oxen-pet

A pixel Luffy above the Claude Code prompt who acts out each tool call in five gears, an HP/MP/ST HUD for context, rate limits, and prompt cache, a shield that asks before destructive commands, a bug boss for failing tests, and a /pet stats pane. Your own pets live in a folder updates never touch.

★ 2PanesBandsStatus line