From hindsight
Notices snags that come back across sessions (search spirals, fix loops, large tool outputs) and offers one change to the environment that stops them.
7 events · 19 calls
Ships in hindsight. 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.callfs.writefs.existsfs.listfs.readfs.statmodel.forkEach event it registers a hook on, with the matcher when it sets one
session.startturn.starttool.checktool.calltool.call{tool=Read}tool.call{tool=Grep}tool.call{tool=Glob}tool.call{tool=Edit}tool.call{tool=Write}tool.call{tool=NotebookEdit}tool.call{tool=Bash}tool.call{tool=PowerShell}turn.completecommand.run{command=hindsight}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
afternowregisterexistslistreadstatwriteforkfillreadidrootgetsetgetsetresolvetoastWhere 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 a-pavithraa/claude-mods --plugin hindsight