explaingit

duperez/crab-companion

Analysis updated 2026-05-18

0SwiftAudience · developerComplexity · 2/5Setup · easy

TLDR

Crab Companion puts a pixel-art crab on your Mac screen that shows Claude Code's status and lets you answer its permission prompts from a speech bubble.

Mindmap

mindmap
  root((Crab Companion))
    What it does
      Shows Claude Code status
      Answers permission prompts
      Tracks subagents
    Tech stack
      Swift
      macOS
    Use cases
      Session monitoring
      Permission handling
      Multi session scoreboard
    Features
      Speech bubble API
      Phone alerts via ntfy
      Custom sprite packs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See at a glance whether a long-running Claude Code task is idle, working, or waiting for your attention.

USE CASE 2

Approve or deny Claude Code's permission requests from a speech bubble instead of switching to the terminal.

USE CASE 3

Track multiple parallel Claude Code sessions and jump to whichever one needs input.

USE CASE 4

Get a phone notification via ntfy if Claude Code needs you while you're away from your Mac.

What is it built with?

SwiftmacOS

How does it compare?

duperez/crab-companionaiduckman/claudeusage_latest_may2026arnabau/thermalpulse
Stars000
LanguageSwiftSwiftSwift
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires macOS 13+, jq, and an existing Claude Code installation, installable via Homebrew in one command.

No license information is stated in the README.

In plain English

Crab Companion is a macOS app that puts a tiny pixel art crab named Craby on your screen to show you what Claude Code, an AI coding assistant, is doing at any moment. Instead of alt-tabbing back to the terminal to check whether a long task has finished, you glance at the corner of your screen where Craby is idle, working at a tiny laptop, celebrating with sparkles when done, or waving with an exclamation mark when it needs your attention. The most useful feature is that Craby can answer Claude Code's questions for you. When Claude asks for permission to run a command, a speech bubble opens under the crab showing what it wants to do, with Allow, Deny, and Terminal buttons, and risky commands like deleting files or force pushing get a red border as a warning. There is also a local HTTP API that lets Claude, or any script, ask multiple choice or free text questions through the same speech bubble, falling back to the normal terminal prompt if nobody answers in time. If you run several Claude Code sessions at once, Craby shows the most important status across all of them and lets you click to jump to the project that needs you. When Claude spawns subagents, each one appears as a small baby crab below Craby, hatching when it starts and turning into sparkles when it finishes, so you can tell at a glance, or even by sound, how many subtasks are running and whether they succeeded. The app also tracks daily stats like tasks finished and a day streak, and Craby levels up the more you use it. Craby works by having Claude Code's built-in hooks send small messages to a local server running on your Mac, and the crab reads those events to decide how to react. It can be installed through Homebrew, built from source, or downloaded as a prebuilt app, and it requires macOS 13 or later plus Claude Code itself to be useful. Every install method adds Claude Code hooks to your existing settings file, keeping a backup of your previous configuration.

Copy-paste prompts

Prompt 1
Walk me through installing Craby with Homebrew and connecting it to my existing Claude Code setup.
Prompt 2
Explain how Craby's PermissionRequest hook intercepts and answers Claude Code's terminal prompts.
Prompt 3
How do I create a custom sprite pack to reskin Craby with my own character?
Prompt 4
Show me how to use the craby CLI to ask a multiple-choice question from a script.

Frequently asked questions

What is crab-companion?

Crab Companion puts a pixel-art crab on your Mac screen that shows Claude Code's status and lets you answer its permission prompts from a speech bubble.

What language is crab-companion written in?

Mainly Swift. The stack also includes Swift, macOS.

What license does crab-companion use?

No license information is stated in the README.

How hard is crab-companion to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is crab-companion for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.