unghost.
clears ghost claude icons from the dock
Agents in Claude and T3 Code open a headless browser, and macOS files it under the app that opened it. The Dock then fills with extra Claude or T3 Code icons that never leave.
Unghost counts the extras in the menu bar and clears them in one click. Your pinned Claude icon stays. An optional guard stops new ones from appearing.

install
brew install ndre-dev/tap/unghostHomebrew installs the app and lets it open straight away. You can also download the latest release or build it from source.
To stop new icons from appearing, install the guard from the source repository. Its README explains how.
needs
macOS 13 Ventura or later.