Get a notification when Gemini CLI finishes
Agent Checklist pushes to your iPhone, Android phone, Mac or Windows desktop when a Gemini CLI session finishes its turn or stops for a tool approval. One command adds the hooks to ~/.gemini/settings.json. Free for one computer and one phone.
curl -fsSL https://agent-checklist.com/install.sh | sh
Windows (PowerShell): irm https://agent-checklist.com/install.ps1 | iex. Then get the app for iPhone or Android and sign in with the same email.
What you get
| Alert | When | Gemini CLI hook |
|---|---|---|
| ✅ Finished | The agent's turn is over | AfterAgent |
| ⏳ Needs you | A tool call waits for your approval | Notification |
| Cleared | You answered at the computer, so the alert is dropped or removed from your phone | BeforeAgent, AfterTool |
Each alert names the computer, the project folder and the session, so it's clear which terminal to go back to. Agent Checklist adds its entries next to any hooks you already have and keeps a backup of the file the first time it changes it.
One thing to know: trusted folders
Gemini CLI runs hooks from settings.json only in folders you've trusted (it asks the first time you open a folder). In a folder you haven't trusted, no hook runs, so no notification arrives from any tool, Agent Checklist included.
Doing it by hand
Gemini CLI's hooks have the same shape as Claude Code's. A free version with ntfy: subscribe to a long random topic in the ntfy app, then add to ~/.gemini/settings.json:
{
"hooks": {
"AfterAgent": [{ "hooks": [{ "type": "command",
"command": "curl -s -d 'Gemini CLI finished' ntfy.sh/YOUR-RANDOM-TOPIC" }] }]
}
}
That's enough for one computer. It doesn't say which project finished, doesn't clear when you've already answered, and you repeat it on every machine and for every other agent you use.
Using Codex, opencode or Cursor too? The same install covers them: Codex, opencode and Cursor notifications.
Last updated 2026-12-03.