From prompt-why
Explains why each permission prompt appears (the ask rule and its settings file, the hook that asked, the auto-mode classifier, or the tool's own check), and refuses Bash calls that only Bash's own check would prompt for
7 events · 11 calls
Ships in prompt-why. 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.judgetool.callfs.readenv.getsettings.readEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=prompt-why}tool.checktool.calltool.judgeclassic.PermissionRequestui.render{component=ToolUse}ui.render{component=ToolGroup}Every mods API method its source calls, by namespace
registergetreadreadgetsetchecklognoticeresolvetoastCLAUDE_CONFIG_DIRHOMEWhere 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 dr-igor/claude-code-plugins --plugin prompt-why