Claude starts
The panel drops
You send a prompt and the game panel drops from the notch. It doesn't take your keyboard, so you can keep typing in the terminal.
IdlePal for Claude Code is a small plugin that connects Claude Code to IdlePal, a Mac app with short games and Pip, a desktop pet. Send Claude a prompt and a game panel drops from your MacBook notch. When Claude needs you, a banner says so. When Claude stops, the panel tucks away.
Signals from Claude Code: started, finished and needs you. Nothing else leaves the hook.
Install it with two commands in Terminal
claude plugin marketplace add initiums/idlepal-integrationsclaude plugin install idlepal@idlepalStart a new Claude Code session. Hooks load when a session starts, so the next prompt you send wakes Pip up.
Full setup guideThe plugin uses Claude Code's own hooks. Setup takes about a minute.
Add the IdlePal marketplace and install the plugin with the two commands above. Then start a new Claude Code session, because hooks load when a session starts.
Once the first hook fires, IdlePal asks "Open when your agent works?". Answer Yes. You can change it later in Settings → AI agents.
Send a prompt and the panel drops from the notch without taking your keyboard. Pop some bubble wrap until Claude is done.
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.
Add the plugin marketplace.
claude plugin marketplace add initiums/idlepal-integrationsInstall the plugin.
claude plugin install idlepal@idlepalThat's it.
Start a new Claude Code session. Hooks load when a session starts, so the next prompt you send wakes Pip up.
Each Claude Code event runs open -g "idlepal://…" on your Mac with one signal and a session ID. Nothing goes over the network, and the hook never reads your prompts, code or output.
| Claude Code event | IdlePal hears | What happens |
|---|---|---|
UserPromptSubmit | started | You sent Claude a prompt. The panel drops from the notch without taking your keyboard. |
PostToolUse | working | Claude used a tool and is still going, for example after you approved a permission prompt. Sent in the background, it clears the orange banner and keeps a long run from looking stuck. |
Stop | finished | Claude finished its reply. If you never clicked the panel, it closes. If you did, a green banner says Claude Code finished. |
SessionEnd | finished | The session ended, for example after /exit, so a closed terminal doesn't stay marked as working. |
Notification (permission prompt, question, needs input) | needs you | Claude is waiting on you. If the panel is open, an orange banner appears. It never opens the panel just for this. |
hooks/hooks.jsonhooks/idlepal-signal.shNothing elseEvery Claude Code session has its own session_id, and the hook passes it along. Two terminals running Claude Code count as two agents: the panel stays down until the last one sends Stop. If you interrupt Claude and no Stop event arrives, IdlePal treats that session as working for up to 2 hours, or until it finishes or ends.
claude plugin uninstall idlepal@idlepalIdlePal keeps working without it: press ⌥⌘G or click the menu bar icon and Pip is there.
Claude Code sends IdlePal three signals. Here is what each one does on your Mac.
Claude starts
You send a prompt and the game panel drops from the notch. It doesn't take your keyboard, so you can keep typing in the terminal.
Claude needs you
A permission prompt, a question or a request for input. If the panel is open, an orange banner appears. It never opens the panel just for this.
Claude finishes
If you never clicked the panel, it closes. If you were playing, a green banner says Claude Code finished, and your game waits where you left it.
The minutes between sending a prompt and reading the reply.

Claude works through a big change. Play a round instead of watching the terminal scroll.

Claude stops to ask before running something. The orange banner tells you to go back to the terminal.

Claude stops and the panel tucks away, or shows a green banner if you were mid-game.

Each session counts on its own, so the panel stays down until the last one finishes.
The hook reads its input only to find the session_id, runs one command on your Mac and exits.
Claude Code already sends a desktop notification in some terminals. Here is how that compares with the IdlePal plugin.
| Claude Code's built-in notification | IdlePal plugin | |
|---|---|---|
| Setup | None in Ghostty or Kitty, one setting in iTerm2 | Install the app and the plugin |
| Fires on | Done or needs you, when you appear to be away | Started, finished and needs you |
| What you get | A macOS notification | A game panel, Pip and a banner |
| Works in | Ghostty, Kitty and iTerm2, also over SSH | Any terminal on your Mac, not over SSH |
| Use both? | Yes. Hooks run alongside the built-in notification. | Yes. It doesn't turn the notification off. |
IdlePal sits in your menu bar or MacBook notch. The plugin is only the trigger: the games, Pip and the banners are all in the app, and they work without an agent too.
No. The hook reads its JSON input only to pull out the session_id. It never looks at your prompt, your files or Claude's output, and it sends nothing over the network: it runs open -g on your Mac and exits.
No. The script runs one command and always exits 0, so it can't fail or block a prompt. Claude Code gives it at most 5 seconds, and in practice it returns right away.
Only as a banner. If the panel is already open, an orange banner says Claude Code needs your input. If the panel is closed, IdlePal leaves it closed so the prompt in your terminal is the only thing asking for attention.
Yes. Each session sends its own session_id, so IdlePal counts them separately and keeps the panel down until the last Claude Code session finishes.
No. The hook runs open on the machine where Claude Code runs. On a remote machine that open can't reach the IdlePal app on your Mac. Press ⌥⌘G to open the panel by hand instead.
Yes. The plugin 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.
One install command adds two hooks to ~/.cursor/hooks.json.
One command and a one-time trust in /hooks.
Five ways to know Claude is done: built-in alerts, the bell, sounds and banners.
Where Codex hooks live, how trust works and a sound when done.
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 .