From villager-hp
Your Claude usage limits as an animated villager health card: session and weekly HP, a weekly pace bar, your last prompt's tokens and rough cost, and an OPEN button for your artifacts, docs and videos
6 events · 19 calls
Ships in villager-hp. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runhttp.fetchfs.existsfs.listfs.readconfig.setprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=die}command.run{command=revive}command.run{command=open}ui.render{component=Pane, requestId=villager-open}command.run{command=pace}command.run{command=ultra}prompt.submitturn.completesession.measurecommand.run{command=hp}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
everyregistersetexistslistreadfetchrunidentityinfousagegetsetgetsetcallopenresolvetoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub ashley-pettit/villager-hp --plugin villager-hp