Create Hook Use when the user wants to add Codex hooks and explains the behavior they want. Workflow 1. Determine scope. - If the user says , use the personal/home scope. - If the user says , use the repo scope. - If scope is missing or unclear, ask: 2. Determine hook type. - If the event is missing or unclear, ask which hook they want: - - - - - - If the user wants more than one, keep them separate unless they explicitly want shared behavior. 3. Determine behavior. - Ask what the hook should do if the intent is not already clear. - Prefer the smallest deterministic script that satisfies the…