/plugin marketplace add DNYoussef/context-cascade/plugin install dnyoussef-context-cascade@DNYoussef/context-cascadeDefined in ./hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/Stop/session-end-reflect.ps1\"",
"timeout": 30000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/session-stop.ps1\"",
"timeout": 10000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/ralph-wiggum/ralph-loop-stop-hook.ps1\"",
"timeout": 30000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/memory-mcp/session-end-store.ps1\"",
"timeout": 10000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/recursive-improvement-gate.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/mcp-session-cleanup.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/post-reflect-store.ps1\"",
"timeout": 5000
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/pattern-retention.ps1\"",
"timeout": 10000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/pattern-retention-precompact.ps1\"",
"timeout": 10000
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/pre-skill-invoke.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/check-skill-mcps.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/skill-started.ps1\"",
"timeout": 5000
}
],
"matcher": "Skill"
},
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/pre-task-spawn.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/memory-mcp/pre-task-memory-check.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/pre-task-plugin-reminder.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/guards/pre-coding-library-check.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/multi-model/model-router-pretool.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/agent-spawned.ps1\"",
"timeout": 5000
}
],
"matcher": "Task"
},
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/sop-compliance-verifier.ps1\"",
"timeout": 3000
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/post-task-spawn.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/memory-mcp/post-task-memory-store.ps1\"",
"timeout": 5000
}
],
"matcher": "Task"
},
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/post-todowrite.ps1\"",
"timeout": 5000
}
],
"matcher": "TodoWrite"
},
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/post-skill-compliance.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/skill-completion-verifier.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/command-executed.ps1\"",
"timeout": 5000
}
],
"matcher": "Skill"
},
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/skill-completion-verifier.ps1\"",
"timeout": 3000
}
],
"matcher": "Write|Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start-plugin-check.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/memory-mcp/memory-trigger-patterns.ps1\"",
"timeout": 5000
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/plan-mode-enhancer.ps1\"",
"timeout": 10000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/enforcement/user-prompt-submit.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/five-phase-enforcer.ps1\"",
"timeout": 5000
},
{
"type": "command",
"command": "powershell -ExecutionPolicy Bypass -File \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start-plugin-check.ps1\"",
"timeout": 5000
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 32
},
"eventStats": {
"Stop": 7,
"PreCompact": 2,
"PreToolUse": 10,
"PostToolUse": 7,
"SessionStart": 2,
"UserPromptSubmit": 4
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 32,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}