Tailor Gemini CLI to your workflow with hooks
Introducing Gemini CLI hooks (v0.26.0+). Control and customize the agentic loop to inject context, enforce security policies, and automate tasks with custom scripts.