clauget

by DevOhMyCode · ★ 0 · updated 4 days ago

PanesStatus lineGuardsCommandsPromptTools & agentsvalidates

0

The scale, then the diet — and the diet only where the scale says it pays. Each model request inside a turn streams through one hook, whose stop chunk carries the four token counters and the model that answered, so the journal has a line per step, the main loop's and every subagent's apart, and names the cache misses where they happen. /clauget opens the report: the window and the cost, the...

install clauget

Install

/plugin marketplace add devohmycode/claude-mods
/plugin install clauget@claude-devohmycode-mods

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
engine.createsession.startturn.stepagent.spawnclassic.PreModelSwitchturn.completetool.callprompt.submitsession.endtool.describeagent.offercommand.describeprompt.attachmentsession.compactclassic.SessionStartprompt.sectionprompt.contextsession.measurecommand.runui.invalidateconfig.setui.render
API calls
$.agent.register$.clock.after$.clock.every$.clock.now$.clock.sleep$.cockpit.tab$.cockpit.tabs$.command.register$.config.set$.env.get$.fs.read$.fs.stat$.fs.write$.model.fork$.prompt.submit$.session.compact$.session.id$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.tool.list$.turn.abort$.ui.log$.ui.resolve$.ui.status
Draws
Pane
Can see
subagent spawnsclassic hooksevery tool callevery promptcompactionthe system prompt
Reach
level 2 of 3 other: $.agent.registerother: $.cockpit.tabother: $.cockpit.tabsother: $.tool.listwrites fileschanges configdrives Claudereads filesreads env varspersists 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/devohmycode/claude-mods
Path in repo
claude-clauget-mod
Source commit
dcb7818 the exact code the scan read
Author
DevOhMyCode @devohmycode
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 devohmycode/claude-mods

cockpit

devohmycode/claude-mods

One pane of tabs beside the transcript, and the $.cockpit noun other plugins fill. /cockpit opens it, and so does the Cockpit button in the band above the prompt: Session reads the context window, the turn count, the model and the cost, with a Raster sparkline of the context the session has spent turn by turn; Usage draws what the session cost — the four token counters the API reports, kept...

★ 0PanesBandsReskins

contextmanager

devohmycode/claude-mods

Watches a session for wasted context and time, shows a one-click card when a waste behaviour repeats, and lets the user steer or stop it.

★ 0PanesBandsGuards

forge

devohmycode/claude-mods

Make your own plugins and mods, and catch what a mod breaks without a word before a session loads it. /forge new writes a mod (or a classic plugin) in this repository's shape; /forge lint reads the source for the failures the loader refuses or that fail silently ($ bound to a name, a computed event or env name, two hooks with no matcher on one event, a plugin noun's verb hooked, a .catch that...

★ 0Status lineCommands

message

devohmycode/claude-mods

What another session sends lands in a tab instead of in the context. A peer's delivery is written to the mailbox under your home directory, listed in the Message tab beside the thread it belongs to, and announced in one line — and the session's transcript does not grow by a byte. The thread draws each message whole, wrapped to the column it has, with a Show more under the long ones that opens...

★ 0PanesReskinsCommands

switch

devohmycode/claude-mods

A pane of the models and the effort levels, each switched with one click. /switch opens it; /switch opus or /switch high switches without it. A click runs the engine's own /model or /effort, so the status line follows; the pane shows the model and the effort the last request was actually sent with.

★ 0PanesCommands