A native macOS backdrop for clean screenshots and recordings. Stagehand does not capture anything: position its window behind VS Code (or any app) and use your existing capture tools.
Requires macOS 14+ and Xcode command-line tools with Swift 6+.
bash scripts/build-app.sh
open -g build/Stagehand.appStagehand lives in the menu bar, with no Dock icon. It initially opens behind your existing windows, without taking focus. Use Show Backdrop in its menu to bring it forward.
- Use the menu-bar Settings… to select a solid color, two-color gradient, or image.
- Drag an exposed part of the backdrop to position it, even when another app is active. Drag an edge or corner to resize freely, or enter exact dimensions in Settings. Sizes are in macOS points, not Retina pixels. Right-click or Control-click the backdrop to open the same menu as the menu-bar icon.
- Use Show Backdrop, then Cmd+[ to move it backward one overlapping, normal-level window at a time until your target is visible.
- Cmd+] moves it forward one overlapping window. The target application stays active when using global shortcuts.
- Take your screenshot or recording with your usual tool.
The backdrop is intentionally unadorned: no title bar, controls, shadow, or recording UI. Background settings, imported images, and canvas placement persist between launches. Images are copied locally to ~/Library/Application Support/Stagehand/, so the original can move afterward.
- Global Cmd+[ / Cmd+] override those combinations in other apps while enabled. Toggle them off in Settings or quit Stagehand to restore VS Code's normal shortcuts. Menu actions work without global shortcuts.
- Shortcuts use the physical US-layout bracket keys. No Accessibility, screen-recording, or automation permissions are requested; Stagehand uses public window-list, ordering, and hotkey APIs.
- Layer steps consider overlapping, on-screen windows at the normal application level. Menus, floating panels, the Dock, and desktop elements are not reordered. Nothing happens (with an audible boundary cue) when there is no further overlapping window.
- Use an ordinary desktop Space. Full-screen apps, Stage Manager, and floating/always-on-top windows have macOS-managed ordering that a normal backdrop cannot override.
- Clicking the backdrop can bring it forward normally. Position and resize it first, then step it behind the target. It does not attach to, move, or resize the target.
- If another app owns a shortcut, Stagehand reports the failure in the menu and Settings. Resolve the conflict and use Retry Shortcuts.
The local build is ad-hoc signed for development, not notarized for distribution.
swift testTo verify real cross-process window ordering and shortcut registration in a logged-in macOS GUI session:
bash scripts/test-window-ordering.shThis briefly creates small fixture windows behind existing apps, checks both layer directions and unchanged active-app focus, then closes the fixtures. It does not activate or rearrange your apps.