Automates file modifications and bash commands after code edits and during Claude sessions.
/plugin marketplace add dojocodinglabs/code-sensei/plugin install code-sensei@code-senseiDefined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-stop.sh"
}
],
"matcher": "*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/track-code-change.sh"
}
],
"matcher": "Write|Edit|MultiEdit"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/track-command.sh"
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-start.sh"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 4
},
"eventStats": {
"SessionEnd": 1,
"PostToolUse": 2,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 4,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 4
}
}