BeforeTool hook, and Plannotator commands when it detects ~/.gemini.
Requirements and installation
Use Gemini CLI 0.36.0 or later. Then run the standard Plannotator installer. The installer adds:~/.gemini/policies/plannotator.toml, which allowsexit_plan_modewithout a separate terminal confirmation- a
BeforeToolhook in~/.gemini/settings.json /plannotator-reviewand/plannotator-annotatecommand files under~/.gemini/commands
Review a plan
Run/plan in Gemini CLI. When the agent calls exit_plan_mode, the hook reads the plan and opens Plannotator. Approval lets the agent continue. Feedback returns your annotations for revision.
