Blog and posts

Claude Code on the Touch Bar: how Clawdbar works

Claude Code works best when you let it run. The catch is knowing what it's doing without switching windows every few minutes: is it still working, is it waiting for you to approve something, and how close are you to your plan limit? On a MacBook Pro with a Touch Bar, that answer can sit right above the keyboard.

Clawdbar is a free, open-source menu-bar app that puts Claude Code on the Touch Bar.

The Touch Bar showing Clawd, the mic, 'Editing LimitBarView.swift' and the two limit rings
Live status, with the 5-hour and weekly limits as two rings.

What's on the bar

The Touch Bar showing 'Allow Bash?' with Allow Once, Always Allow and Reject buttons
A permission prompt becomes three real buttons.

How it works

Claude Code has hooks: it runs a command on events such as “about to use a tool”, “needs permission” and “finished”. Clawdbar's hook is a short shell script that forwards three things to a Unix socket on your Mac: the event, the tool and a file name. Nothing else. The app draws the bar from those, and reads your usage from the numbers Claude Code already caches on your Mac.

There is no network code in the app at all. A check in CI fails any change that adds networking, reads transcripts or touches credentials, and you can run the same check yourself with make privacy.

While your agent works, Clawd keeps you company

Version 1.1 adds Clawd's side project. Once a task has run for 30 seconds, Clawd walks in between the status and the timer and starts building a little town: one block for every step Claude takes. A hammer while Claude edits, a blueprint while it reads, “…” while it thinks. When Claude finishes, the lights come on and he hands back: “Your turn!”

Clawd building a pixel town on the Touch Bar, saying 'In this town, everyone parties…'
Now and then, the town parties while Clawd works.

The point is the wait itself: a glance down shows progress, the bar calls you back the moment Claude needs you, and you stay at your desk instead of reaching for your phone. When Claude goes quiet, short pixel-art cutscenes play instead.

Your own mascot

Mascots act out every mood: thinking, building, asking for you, done. You don't need to write code to add one: open a New mascot issue with one to three pictures of your character, and three pixel versions come back for you to pick from, credited to you.

Try it

The website has a clickable copy of the whole bar, so you can try it without a Touch Bar. Clawdbar needs a MacBook Pro with a Touch Bar (2016–2022) on macOS 12 or later, and Claude Code with a Claude plan. It's MIT-licensed, written in Swift with no dependencies, and built from source on your Mac.

Clawdbar: Claude Code on your MacBook Pro Touch Bar. Free, open source, offline.

Try the live demoInstallGitHub

Clawdbar is fan-made and not affiliated with or endorsed by Anthropic.