npx claudepluginhub artmin96/forge-studio --plugin context-engineDefined in hooks/hooks.json
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh",
"timeout": 10
}
]
}
],
"PostCompact": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/post-compact.sh",
"timeout": 5
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/check-large-file.sh",
"timeout": 5
}
],
"matcher": "Read"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/warn-tool-truncation.sh",
"timeout": 5
}
],
"matcher": "Bash|Grep"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/track-edits.sh",
"timeout": 5
}
],
"matcher": "Edit|Read"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/plan-mode-enter.sh",
"timeout": 5
}
],
"matcher": "EnterPlanMode"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/env-bootstrap.sh",
"timeout": 15
},
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/mcp-instruction-monitor.sh",
"timeout": 10
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/track-context-pressure.sh",
"timeout": 5
},
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/track-system-reminders.sh",
"timeout": 5
}
]
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 10}, \"eventStats\": {\"PreCompact\": 1, \"PostCompact\": 1, \"PostToolUse\": 4, \"SessionStart\": 2, \"UserPromptSubmit\": 2}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 10, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 0}}"