From swiss-knife
The 3 most annoying things about Claude Code, fixed: a ping when Claude needs you, plan-limit gauges with a forecast, and handoff to a fresh chat. Plus time and cost, a guard, pins and a pixel mascot.
14 events · 30 calls
Ships in swiss-knife. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.checktool.callprocess.runfs.writeenv.getsettings.readmodel.completeprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startsession.endclassic.Notificationsession.measureturn.stepturn.startprompt.submittool.checktool.callturn.completecommand.run{command=knife}command.run{command=pin}command.run{command=pins}command.run{command=budget}command.run{command=report}command.run{command=handoff}ui.render{component=Pane, requestId=swiss-knife}ui.render{component=Pane, requestId=swiss-knife-handoff}ui.render{component=Pane, requestId=swiss-knife-pins}ui.render{component=Pane, requestId=swiss-knife-settings}ui.render{component=AbovePrompt}ui.render{component=AssistantMessage}ui.renderprompt.editui.closeEvery mods API method its source calls, by namespace
playaftereverynowregistergetwritecompleterunfillsuggestcwdidmessagesmodelusagereaddeletegetkeyssetblitcopyinvalidatenotifyopenresolvescrollstatustoastOSWhere 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 nocodehack/swiss-knife --plugin swiss-knife