Skip to content
Projekte

Über uns

Claude Buddy: a free, open-source companion for Claude Code on Mac and Windows. Live status, every slash command one click away, and plan usage, on the Touch Bar, at the top of your screen, or above the Windows taskbar.

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+1
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Claude Buddy

Claude Buddy is a free, open-source companion app for Claude Code on Mac and Windows. A little Claude guy shows what Claude Code is doing, puts every slash command one click away, and keeps your plan usage in view.

On Mac and Windows. It lives on the Touch Bar, at the top of the screen, or just above the Windows taskbar, and works with Claude Code in Terminal, VS Code and the Claude desktop app.

Claude Buddy on a real MacBook Touch Bar: the mascot at work, with the Status, / and Stats buttons on the right
Mac, at the top of the screen Windows, above the taskbar
Claude Buddy at the top of a Mac screen, open Claude Buddy above the Windows taskbar, open
Mac Windows (beta)
git clone https://github.com/SyedAliAsghar-512/claude-buddy.git && cd claude-buddy && ./install.sh --login · details ⬇ Download ClaudeBuddy.exe and open it · details

Website: https://syedaliasghar-512.github.io/claude-buddy/

Formerly Touchbar Claude+ (repo touchbar-claude). Old GitHub links, git clone and git pull still work: GitHub forwards them here.

Built on Touchbar Claude by Janelle Tan (MIT). The mascot, its animations and the session tracking are hers.


Where it lives

Your computer Where Claude Buddy shows up
MacBook Pro with a Touch Bar (13", 15", 16", 2016–2022) On the Touch Bar, with a mascot in the Control Strip. Prefer the screen? Menu bar icon → Show at top of screen instead
MacBook with a notch (MacBook Pro 14"/16" from 2021, MacBook Air from 2022) Around the notch: the mascot on its left, the status on its right
Any other Mac (MacBook Air up to 2020, MacBook, iMac, Mac mini, Mac Studio, Mac Pro) A black pill at the top centre of the screen
Windows 10 or 11 (64-bit) A pill just above the taskbar. Drag it anywhere you like, or hang it from the top of the screen

Closed, the pill shows the mascot, what Claude is doing and for how long (! when Claude needs you, ✓ when it's done). Hover or click it to open the pages. It opens by itself while Claude asks for permission, and for a moment when Claude is done. It never takes your keyboard, so commands always go to Claude.

Mac, closed Windows, closed
Closed on a Mac: the mascot, Stewing, 10m Closed on Windows, above the taskbar: the mascot, Thinking, 2m

The pages

Three buttons on the right switch pages: mascot (Status), / (Commands) and bars (Stats).

Status

What Claude is doing right now, with its own animation for building, reading, writing, running commands, searching, browsing and subagents.

Mac Windows
Mac status page: the mascot and Running a command Windows status page: the mascot, Thinking, Running a command

Needs you: ✓ Yes / ✕ No

When Claude asks for permission it pulses amber and shows ✓ Yes and ✕ No. They bring that session to the front and press Return (Yes) or Esc (No), exactly as if you'd answered it yourself.

Mac Windows
Mac: Needs you, with Yes and No buttons Windows: Needs you, with Yes and No buttons

/ Commands

Every slash command: Claude Code's built-ins (/compact, /clear, /context, /usage, /model...), your commands and skills, the project's .claude/commands, and the skills of the plugins you've turned on. Click one and it's typed into the window running Claude; you press Return, or turn on Run slash commands right away to send it too. Where there's no terminal (the Claude app, the VS Code panel), terminal-only commands are left out.

Mac Windows
Mac commands page: compact, clear, context, usage, model, rewind, resume Windows commands page: every slash command as a button

Colours: white for built-ins, gold for the project's, coral for yours, blue for plugins.

Stats

5-hour and weekly plan usage (with a bar that turns yellow, then red, and when each resets), how full the context is, and today's tokens, prompts and sessions across every session. Plan usage is account-wide, so it shows even when you work in the Claude app. Usage limits only exist for Claude subscriptions, not API keys.

Mac Windows
Mac stats page: 5 hours 3 percent, week 23 percent, context 234k of 1M, 11.6M tokens today, 4 prompts Windows stats page: 5 hours, week, context, tokens today, prompts, sessions

Mac and Windows side by side

Mac Windows (beta)
Live status and the mascot's animations ✓ ✓
Status, Commands and Stats pages ✓ ✓
✓ Yes / ✕ No when Claude asks ✓ ✓
Opens by itself when Claude needs you ✓ ✓
Comes and goes with Claude ✓ ✓
Checks for updates, updates after you say yes ✓ ✓
Touch Bar ✓ –
Drag it anywhere – ✓
Tells you sounds notifications

Install on a Mac

You need macOS 12 or later and the Xcode Command Line Tools (xcode-select --install) or Xcode.

git clone https://github.com/SyedAliAsghar-512/claude-buddy.git
cd claude-buddy
./install.sh --login

This builds Claude Buddy, copies it to /Applications, adds the Claude Code hooks to ~/.claude/settings.json (a backup is saved next to it as settings.json.claudebar-backup), and starts it, now and every time you log in. From then on it appears whenever Claude is running. Leave off --login to start it yourself. Sessions you already had open in Terminal pick up the status line when you restart them.

Allow typing commands (one time). The first time you click a command or ✓ Yes / ✕ No, macOS asks to let Claude Buddy control your computer: turn it on in System Settings → Privacy & Security → Accessibility, then click again. If you have an Apple Development certificate (any Xcode sign-in gives you one), the build is signed with it, so you only allow it once. Without one, run ./make-signing-cert.sh once before ./install.sh.

Already have a status line? The installer leaves yours in place, so the context limit and usage won't show. To get both, add this near the top of your status line script:

input=$(cat)
[ -x "$HOME/.claude/claudebar/claudebar-statusline.sh" ] && printf '%s' "$input" | "$HOME/.claude/claudebar/claudebar-statusline.sh"

If your script already has a line like input=$(cat), add only the second line below it, using your own variable name. Thanks to @TheIrrelevant for the tip!


Install on Windows

You need Windows 10 or 11 (64-bit) and Claude Code.

  1. Download ClaudeBuddy.exe (about 70 MB, no .NET install needed).
  2. Open it. Windows may say "Windows protected your PC" because the beta isn't code-signed yet: click More info → Run anyway.
  3. Click Yes to install. It copies itself to %LOCALAPPDATA%\ClaudeBuddy, connects to Claude Code (it adds hooks to %USERPROFILE%\.claude\settings.json, with a backup saved next to it) and starts when you log in.
  4. Start a new Claude Code session and look above your taskbar.

The Windows version is a beta: it's tested on Windows with simulated Claude Code sessions (test script), but hasn't been used much with real ones yet. Please open an issue with a screenshot if something looks off.


Everyday use (๑'ᵕ'๑)⸝*

Mac (menu bar icon) Windows (tray icon, right-click)
Show or hide it Show / Hide Show / Hide Claude Buddy
Where it sits Show at top of screen instead (Touch Bar Macs) Position, or just drag it
Send commands without pressing Return Run slash commands right away Run slash commands right away
Only while Claude is running Only while Claude is running Only while Claude is running
Get told Sound when Claude needs you / finishes Notifications
See the animations Preview animation Preview animation
Updates Check for Updates…, Check for updates automatically Check for Updates…, Check for updates automatically
Quit Quit Claude Buddy Quit Claude Buddy

Comes and goes with Claude. Claude Buddy shows up when you open the Claude desktop app or start claude in a terminal or editor. A few seconds after they've all closed it goes away completely, and sleeps at about 0.1% CPU until Claude starts again.


Updating 〜⁠(⁠꒪⁠꒳⁠꒪⁠)⁠〜

Claude Buddy checks GitHub once a day and asks before updating:

  • Mac: a dot appears on its menu bar icon, with Update Claude Buddy… in the menu. It pulls the new version, rebuilds and restarts after you confirm. By hand: cd claude-buddy && git pull && ./install.sh --login (installed as Touchbar Claude+? use your touchbar-claude folder: it still works, and installs Claude Buddy in place of the old app).
  • Windows: a notification and Update to … in the tray menu. It downloads the new ClaudeBuddy.exe, checks it against the release's SHA-256, and restarts after you say yes. (0.1.0 can't update itself: download the latest once and open it.)

To hear about new versions, click Watch → Custom → Releases at the top of the GitHub page.


What the mascot does (╭ರ_•́)

Ready

Ready

Building

Building

Needs you

Needs you

Done

Done

It also takes a coffee break on long jobs, celebrates a git push, commit or passing tests, and sleeps at night. On Windows the animations are rendered from the same Mac drawing code, so the buddy looks the same everywhere.

  • Click the mascot to jump back to your Claude session.
  • Hold it (Mac) for details: model and effort, context, usage, project and branch.

Uninstall (•́ ᴖ •̀)

  • Mac: ./install.sh --uninstall removes the app, the hooks, the status line, the login item and its files in ~/.claude/claudebar.
  • Windows: right-click the tray icon → Uninstall Claude Buddy… removes the hooks (your other Claude Code settings stay), the login item and the app.

You can also turn Claude Buddy off in Privacy & Security → Accessibility on the Mac.


How it works

  • Claude Code's hooks tell Claude Buddy what each session is doing: hooks/claudebar-hook.sh on the Mac, ClaudeBuddy.exe --hook on Windows. Both write the same files to ~/.claude/claudebar.
  • A status line saves what Claude Code gives status lines (plan usage, context window). It prints nothing.
  • The app reads those files, the session transcripts in ~/.claude/projects and the Claude app's own files. Its only network use is checking GitHub for updates once a day, which you can switch off.
Where What's in it
Sources/ The Mac app (Swift): main.swift (Touch Bar, pages, menu), Island.swift (top of the screen), Mascot.swift (the mascot), Commands.swift, Stats.swift, Details.swift, Desktop.swift, Presence.swift, Updater.swift
hooks/, install.sh, build.sh The Mac hooks and installer
windows/ClaudeBuddy/ The Windows app (C#, WPF): Pill.cs, TrayApp.cs, Hook.cs, StatusModel.cs, Commands.cs, Stats.cs, Updater.cs, Setup.cs
windows/tools/export-sprites.sh Renders the Mac mascot's animations into sprite sheets for Windows
windows/tests/test.ps1, .github/workflows/windows.yml Builds and tests the Windows app on a real Windows machine on every change

Building the Windows app yourself: dotnet publish windows/ClaudeBuddy/ClaudeBuddy.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true (on Windows, a Mac or Linux with the .NET 9 SDK).


Questions

What is Claude Buddy? A free, open-source companion app for Claude Code. A little animated mascot shows what Claude Code is doing right now, every slash command is one click away, and your 5-hour and weekly plan usage is always in view. It works with Claude Code in Terminal, VS Code and the Claude desktop app.

Does it work on Windows? Yes, in beta: on Windows 10 and 11 it's a small pill just above the taskbar that you can drag anywhere. Download ClaudeBuddy.exe and open it.

Do I need a Touch Bar? No. On MacBooks with a Touch Bar it lives on the Touch Bar; on every other Mac it sits at the top of the screen, around the notch if there is one.

Is it free? Yes, MIT-licensed. It runs on your computer and only goes online to check GitHub for updates.

Is it made by Anthropic? No. Claude Buddy is an independent open-source project, built on Touchbar Claude by Janelle Tan, and not affiliated with Anthropic.


License

Original Touchbar Claude made by Janelle Tan. Claude Buddy by @SyedAliAsghar-512. Released under the MIT License.

If you share or build on this, please keep the copyright notice and link back to both.

Ähnliche Projekte entdecken

Wird geladen…