anvil
by kelch · ★ 0 · updated 15 days ago
0
Keeps the prompt cache warm while you are away and stops an accidental cold send, draws a line above the prompt with the folder, git status, 5h and 7d usage and session cost, adds each reply's output speed to its closing line, and sets up a matching status line with /anvil:statusline
Install
/plugin marketplace add Mistakey/anvil/plugin install anvil@anvilThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startclassic.SessionStartturn.stepturn.completeagent.spawntool.callsession.appendsession.measuresession.compactprompt.submitui.rendercommand.run- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.model.fork$.process.run$.prompt.fill$.prompt.read$.session.cwd$.session.id$.session.model$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve- Draws
TurnDurationAbovePrompt- Can see
classic hookssubagent spawnsevery tool callcompactionevery prompt- Reach
- level 2 of 3 runs processeswrites filesdrives Claudewrites the prompt boxreads filesreads env varsreads the prompt boxreads mod statepersists 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/Mistakey/anvil
- Path in repo
- repository root
- Source commit
a120566the exact code the scan read- Author
- kelch @Mistakey
- 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.