Pocket Watch

Connecting Chill Out Dude to your AI

Chill Out Dude rises with every message you send to an AI tool that can run a command when you send (a hook). The command is Chill Out Dude's helper; it reads your message on your Mac computer, hands Chill Out Dude only a number, and lets your message go on unchanged. In each setting below, the helper is /Applications/Chill Out Dude.app/Contents/MacOS/p3heat.

Claude Code: in the terminal, VS Code, JetBrains and the Claude desktop app

One setting serves them all, in ~/.claude/settings.json. If the file already has a "hooks", add only the "UserPromptSubmit" part inside it. In VS Code you can also add it from the extension: type / and choose Hooks, under Customize. Claude Code on the web runs in the cloud and does not read the settings on your Mac computer.

{
  "hooks": {
    "UserPromptSubmit": [
      { "hooks": [ { "type": "command", "command": "\"/Applications/Chill Out Dude.app/Contents/MacOS/p3heat\"" } ] }
    ]
  }
}

OpenAI Codex

In ~/.codex/hooks.json. Codex asks you to review and trust a new hook before it runs it.

{
  "hooks": {
    "UserPromptSubmit": [
      { "hooks": [ { "type": "command", "command": "\"/Applications/Chill Out Dude.app/Contents/MacOS/p3heat\" --for codex" } ] }
    ]
  }
}

Gemini CLI

In ~/.gemini/settings.json.

{
  "hooks": {
    "BeforeAgent": [
      { "matcher": "*", "hooks": [ { "name": "p3", "type": "command", "command": "\"/Applications/Chill Out Dude.app/Contents/MacOS/p3heat\" --for gemini" } ] }
    ]
  }
}

Cursor

In ~/.cursor/hooks.json.

{
  "version": 1,
  "hooks": {
    "beforeSubmitPrompt": [ { "command": "\"/Applications/Chill Out Dude.app/Contents/MacOS/p3heat\" --for cursor" } ]
  }
}

ChatGPT, Gemini and Grok in their apps and web pages

These cannot run a command on your Mac computer when you send a message, so Chill Out Dude cannot hear them yet. That includes the ChatGPT app for the Mac computer: its Work with Apps reads your code and terminal apps, but it runs nothing when you send. OpenAI Codex, above, can.