The agent starts
The panel drops
You send the agent a prompt and the game panel drops from the notch. IdlePal's hook answers {"continue": true}, so your prompt always goes through.
IdlePal for Cursor adds two hooks to ~/.cursor/hooks.json with one install command. Send Cursor's agent a prompt and a game panel from IdlePal, a Mac app with short games and Pip, a desktop pet, drops from your MacBook notch. When the agent stops, the panel tucks away.
Signals from Cursor: started and finished. Nothing else leaves the hook.
Install it with one command in Terminal
curl -fsSL https://raw.githubusercontent.com/initiums/idlepal-integrations/main/cursor/install.sh | shIt adds two hooks to ~/.cursor/hooks.json and keeps your other hooks. Quit Cursor with ⌘Q and open it again so it loads them.
Full setup guideThe installer uses Cursor's own hooks file in your home folder. Setup takes about a minute.
Paste the command above into Terminal. It adds two hooks and keeps your other ones. Then quit Cursor with ⌘Q and open it again so it loads them.
Once the first hook fires, IdlePal asks "Open when your agent works?". Answer Yes. You can change it later in Settings → AI agents.
Send Cursor's agent a prompt and the panel drops from the notch. When the run ends, it tucks away again.
Every step and file, for when you want the details or something doesn't work.
Install IdlePal from the Mac App Store.
IdlePal is a Mac app. Open this page on your Mac, or send yourself the link.
Run in Terminal.
curl -fsSL https://raw.githubusercontent.com/initiums/idlepal-integrations/main/cursor/install.sh | shThat's it.
It adds two hooks to ~/.cursor/hooks.json and keeps your other hooks. Quit Cursor with ⌘Q and open it again so it loads them.
Each Cursor event runs open -g "idlepal://…" on your Mac with one signal and a conversation ID. Nothing goes over the network, and the hook never reads your prompts, code or output.
| Cursor event | IdlePal hears | What happens |
|---|---|---|
beforeSubmitPrompt | started | You sent the agent a prompt. IdlePal's hook answers {"continue": true}, so your prompt always goes through. |
stop | finished | The agent's run ended. If you never clicked the panel, it closes. If you did, a green banner says Cursor finished. |
Cursor has no needs-you signal in IdlePal. When the agent stops to ask you to approve a command, Pip stays awake and the panel stays where it is. Keep an eye on Cursor for approvals.
~/.cursor/hooks.json~/.cursor/hooks.json.bak-idlepal~/.cursor/hooks/idlepal-signal.shIf ~/.cursor/hooks.json isn't valid JSON, the installer stops and leaves it unchanged. Fix the file, then run the command again.
The hook passes Cursor's conversation_id, so each agent chat counts as its own session, whether it's a second chat in one window or another Cursor window. The panel stays down until the last one stops. The hooks live in your home folder, so they apply to every project you open in Cursor.
curl -fsSL https://raw.githubusercontent.com/initiums/idlepal-integrations/main/cursor/install.sh | sh -s uninstallIdlePal keeps working without it: press ⌥⌘G or click the menu bar icon and Pip is there.
Cursor's hooks give IdlePal two signals. Here is what each one does, and the one thing it can't tell you.
The agent starts
You send the agent a prompt and the game panel drops from the notch. IdlePal's hook answers {"continue": true}, so your prompt always goes through.
The agent needs approval
Cursor has no needs-you signal in IdlePal. When the agent waits for you to approve a command, Pip stays awake and the panel stays where it is. Keep an eye on Cursor.
The agent stops
If you never clicked the panel, it closes. If you were playing, a green banner says Cursor finished, and your game waits where you left it.
The minutes between sending a prompt and reviewing the changes.

The panel drops from the notch the moment you hand the agent a task.

The agent edits file after file. Play a round instead of watching the diff grow.

The panel tucks away, or shows a green banner if you were mid-game.

Each agent chat counts on its own, so the panel stays down until the last one stops.
The hook reads Cursor's input only to find the conversation_id, runs one command on your Mac and exits.
Each agent's hooks give IdlePal different signals. Cursor gives the fewest.
| Cursor | Claude Code | Codex | |
|---|---|---|---|
| Install | One command | Two plugin commands | One command, then trust in /hooks |
| Started | Yes | Yes | Yes |
| Finished | Yes | Yes | Yes |
| Needs you | No | Yes | Yes |
| Hears interrupts | No | No | Yes |
| Hooks live in | ~/.cursor/hooks.json | The plugin's hooks/hooks.json | ~/.codex/hooks.json |
IdlePal sits in your menu bar or MacBook notch. The hooks are only the trigger: the games, Pip and the banners are all in the app, and they work without an agent too.
No. IdlePal listens to Cursor's beforeSubmitPrompt and stop hooks only, so it hears started and finished. When Cursor's agent waits for you to approve a command, you'll see that in Cursor, not in the notch.
No. It adds two entries and keeps every other hook. Before each change it saves a copy as ~/.cursor/hooks.json.bak-idlepal, and if the file isn't valid JSON it leaves it alone.
Yes. Each agent chat has its own conversation_id, so IdlePal tracks them separately and keeps the panel down until the last Cursor agent stops.
No. The hook reads Cursor's input only to find the conversation_id, then runs open -g on your Mac. Your prompts, files and the agent's answers never reach IdlePal.
Yes. The hooks live in ~/.cursor/hooks.json in your home folder, so they apply to every project you open in Cursor.
Yes. The installer is free and open source, in the initiums/idlepal-integrations repository on GitHub. IdlePal itself is free with five games, and the unlock opens all ten.
A small plugin with five hooks, including a needs-you banner.
One command and a one-time trust in /hooks.
Quick browser games with short rounds that close with one key.
Five ways to know Claude Code is done: built-in alerts, the bell, sounds and banners.
Five games are free for good. One $9.99 unlock opens the rest, plus every game we add later.
IdlePal is a Mac app. Open this page on your Mac, or send yourself the link.
macOS 14 or later. No subscription, no account.
Last updated .