Executes bash commands and modifies files before Claude uses specific tools.
/plugin marketplace add sequenzia/agent-alchemy/plugin install agent-alchemy-sdd-tools@agent-alchemyDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/auto-approve-session.sh",
"timeout": 5
}
],
"matcher": "Write|Edit|Bash"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 1
},
"eventStats": {
"PreToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}