DEV Community

Aaron Sun
Aaron Sun

Posted on

I run 8 Claude Code sessions in VS Code, so I built a menu bar app to find the one waiting for me

I usually have six to eight VS Code windows open, each with a Claude Code session. The slow part is no longer the model. It is me: one session has been waiting for a tool approval for twenty minutes, and I had no idea, because its window was behind another one.

So I built Hopback, a small free menu bar app for the Mac. It shows which session each VS Code window is on, tells you when a session is waiting for you, and gets you back to any session, open or past, with a hotkey or a search.

Hopback's session search: sessions waiting for you are listed first

What it does

The menu bar shows a short summary, for example ⚠1 ⚙2 · ▢8: one session needs you, two are working, eight windows show a session.

  • ⚠️ waiting to approve a tool call
  • ❓ waiting for an answer or a plan review
  • ⚙️ working
  • 💤 finished its turn

A banner appears when a session starts waiting; click it and the right window comes to the front, even from another Space. ⌃⌥0 jumps to the next session that needs you, ⌃⌥1…9 go to window 1 to 9, and ⌃⇧⌘C searches the history of every past session by title, folder or text.

How it works

A tiny Claude Code plugin listens to the hook events (a session working, waiting, finished) and writes one small status file per session to ~/.claude/hopback/. The app is Rust and Tauri; it reads those files, uses the macOS Accessibility API to list and raise VS Code windows, and nothing leaves the machine except the update check.

Try it

brew install --cask aaronsuns/tap/hopback
Enter fullscreen mode Exit fullscreen mode

Or grab the dmg from the releases page. It is not notarized (I don't have an Apple developer account), so the dmg route needs one xattr command; the Homebrew cask does it for you. MIT licensed, source on GitHub, more at hopback.zexa.se.

It supports VS Code with the Claude Code extension; Cursor is not supported yet. What would you want it to do next?

Disclosure: I built Hopback together with Claude Code, and this post was drafted with its help. Hopback is independent and not affiliated with Anthropic.

Top comments (0)