Skip to Content
CLI reference

CLI reference

agentping is the command the installer puts in ~/.local/bin (macOS and Linux) or your user folder (Windows). agentping --help prints the same list.

Set up

CommandWhat it does
agentping login [--name NAME] [--email EMAIL] [--pair CODE]Connects this computer. It prints a short code and waits while you approve it at agent-checklist.com/activate  or from the push on your phone, then saves a token for this computer. --pair CODE uses a code from a link in the app instead, and needs no approval.
agentping install [--no-test] [--no-watch]Adds the hooks to every coding agent it finds, starts agentping watch in the background and sends a test alert. Run it again after installing another agent.
agentping uninstallRemoves the hooks, stops agentping watch and removes the desktop app.
agentping desktop-app [install|uninstall|status]The Mac and Windows app: your alerts in a window, with a count in the menu bar or tray.

Every day

CommandWhat it does
agentping run [--link URL] -- CMD [ARGS...]Runs a command and alerts you when it finishes, or failed if it exits non-zero.
agentping testSends a test alert.
agentping statusShows the account, the hooks and any queued alerts.
agentping doctor [--test]Checks everything alerts need and says what to fix.
agentping checklist list [--all]Open items on this project’s checklist (or every project’s).
agentping checklist add "TITLE" [--description "TEXT"]Adds an item and puts the current session on it.
agentping update [--check]Installs the latest version now. Updates also install by themselves.

The watcher

agentping watch reads Claude Code’s and Codex’s session logs to catch the turns and prompts their hooks miss. The installer sets it up as a background service that starts at login (launchd on macOS, a systemd user service on Linux, the Run key at login on Windows), so you don’t run it yourself. agentping watch --install, --uninstall and --stop manage the service; plain agentping watch runs in the foreground.

Settings

agentping config shows them all. The common ones:

SettingDefaultWhat it does
desktop-notifications on|offonShow alerts on this computer as well as your phone.
alert-details on|offonInclude the session’s title and what it’s waiting on. Off sends neither.
session-names on|offonName sessions for their work.
session-link [--tool claude|codex|cmd] URLClaude’s ownWhere Open session goes, e.g. https://viewer.example/s/{session_id}. See Chat from your phone.
auto-update on|offonInstall new versions by itself.
remote-prompts on|offoffLet the app start Claude Code sessions here. See Start a session from your phone.

What the installer changes

  • Claude Code: ~/.claude/settings.json gets hooks on Stop (finished), PermissionRequest and Notification (needs you), and UserPromptSubmit, PostToolUse and SessionEnd (to clear an alert once you’ve answered).
  • Codex: notify and hooks in ~/.codex. Gemini CLI: ~/.gemini/settings.json. opencode: ~/.config/opencode/plugins/agentping.js. Cursor: ~/.cursor/hooks.json.
  • Your own hooks are kept: agentping merges its entries in, and running it twice changes nothing. The first time it changes a file it saves the original next to it as <file>.agentping.bak.

Installing with a coding agent

An agent can do every step except one: approving the computer, which needs you.

  1. curl -fsSL https://agent-checklist.com/install.sh | sh (Windows: irm https://agent-checklist.com/install.ps1 | iex)
  2. agentping login prints a code and waits. You approve it at agent-checklist.com/activate or on your phone. To skip this, get a pairing link from the app and have the agent run agentping login --pair CODE.
  3. agentping install adds the hooks and sends a test alert.
  4. agentping doctor confirms everything works.

To get the alerts, install the iPhone  or Android  app and sign in with the same email.

Last updated on