Show HN: CodeInbox – A CLI to send Claude notifications to Slack

4 months ago 2

CodeInbox sends notifications from AI tools like Claude (using hooks) to Slack and other channels.

It's built by and uses MagicBell to deliver notifications.

Install it with Homebrew.

brew install codeinbox/homebrew-tap/codeinbox
  1. Login with your email to receive an auth token and enter it in the prompt.
  1. Setup Slack by generating your setup URL
  1. Follow the link and click "Enable" on the page to authenticate with Slack.

Open Claude and enter the /hooks prompt to add the notification hook.

claude > /hooks │ ❯ 3. Notification - When notifications are sent ❯ 1. + Add new hook… codeinbox hook claude notification

The command you want to register is codeinbox hook claude notification

  • Check Claude's transcript with CTRL+r
  • Try a manual trigger echo '{"session_id":"test","transcript_path":"/tmp/test.md","message":"Test message"}' | codeinbox hook claude notification

Want another hook, tool, or channel?

Please create an issue if you'd like to see a different Claude hook, AI tool, or channel.

Read Entire Article