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
.toml files are native Gemini CLI commands, not Agent Skills.
The standard installer also writes Plannotator’s shared core skills under ~/.agents/skills for hosts that read that location. Before you copy or remove either file type, read Install and Manage Plannotator Skills.
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.
