One click from vibe coding to gaming, and back.
If you build with AI tools on the same Windows PC you game on, you've probably had this happen: you launch a game and it stutters. Claude, ChatGPT, Cursor, a local model, a handful of MCP servers and maybe Docker or WSL are still running in the background, holding several gigabytes of RAM between them.
VibeShift closes the ones you choose in one click and shows how much memory you got back. When you're done playing, one more click reopens everything it closed.
- Download VibeShift.exe from the latest release.
- Run it. There's no installer, and you don't need to install anything else. Windows 10 or 11, 64-bit.
The first time you run it, Windows may show "Windows protected your PC". Click More info, then Run anyway. This appears because the app isn't code-signed, which costs money every year. All the source code is in this repo, and you can build the exe yourself (see Build from source).
Start gaming
- Asks each app you've switched on to close and gives them 5 seconds (you can change this). An app that asks a question instead, such as Save changes?, is left open. Anything else still running is force-closed.
- Stops leftover MCP servers.
- Shuts down WSL and Docker, if you've switched them on.
- Pauses a couple of Windows background services, if you've turned on Extra boost.
- Shows how much RAM was freed, and how much graphics memory (VRAM) with it. A local model in Ollama or LM Studio can hold most of your graphics card.
Back to vibe coding
- Reopens the apps VibeShift closed, in the order it closed them, plus your vibe apps: anything with its Vibe switch on, on the Apps page (Claude and ChatGPT, say) opens every time you come back, even if it wasn't open before. Apps that are already running are skipped.
- Switch back when my game closes (on by default) does this for you about 10 seconds after your game exits, even if you clicked Start gaming yourself. A Windows notification tells you how long you were in gaming mode, what you played, and what opened.
- Microsoft Store apps (like Claude and ChatGPT) reopen through Windows, the same way the Start menu opens them.
- If VibeShift crashes or your PC restarts in the middle of a game, it opens in gaming mode next time, so Back to vibe coding still knows what to reopen.
- Shut down or signed out while in gaming mode? With Switch back when my game closes on, VibeShift switches back by itself a few seconds after it next starts, since that game is certainly closed. (It leaves this to you if Extra boost paused services, because restarting those needs an admin prompt.)
- Still in gaming mode 2 hours after your last game (the setting is off, say, or you played something VibeShift doesn't recognise)? A Windows notification reminds you, once. It waits until nothing is running full screen.
Play button
- ▶ Play Deadlock (or whichever game you played last) sits under Start gaming: one click closes your apps for gaming, opens your game-time apps, then launches the game through Steam or Epic. Pick a different game under Settings → Play button; your own games from My games are listed too. For a one-off, the tray icon's menu has Play another game with your other games, the most recently played first.
- With Switch back when my game closes on, that's the whole loop: one click to play, and your AI apps are back when you quit.
Game-time apps
- The Apps page has three switches per app: Close (closed when you start gaming), Game (opened when you start gaming, like Discord, OBS or Spotify) and Vibe (opened when you're back to vibe coding). An app can't be both closed and opened for gaming, so Game and Close turn each other off. To have the Game apps closed again when you switch back, turn on Close game apps when you're back in Settings. Only the ones VibeShift opened are closed: one you already had open stays open, and none is closed while a game is still running.
Keyboard shortcuts (work from anywhere, even mid-game; turn them off in Settings)
| Shortcut | Does |
|---|---|
| Ctrl+Alt+G | Start gaming / back to vibe coding |
| Ctrl+Alt+V | Open all AI apps |
| Ctrl+Alt+P | Play your game |
If another app already uses one of these, Settings says so. A shortcut is also left off when your keyboard types a character with it: Ctrl+Alt is the same as AltGr, so on a Hungarian or Czech keyboard Ctrl+Alt+V is how you type @. Settings says which ones are off.
Command line (for a Stream Deck button, an AutoHotkey script or a scheduled task)
| Command | Does |
|---|---|
VibeShift.exe --gaming |
Switches to gaming mode (does nothing if you're already in it) |
VibeShift.exe --coding |
Switches back to vibe coding |
VibeShift.exe --toggle |
Switches to the other mode |
VibeShift.exe --play |
Switches to gaming mode, then starts the Play button's game (nothing, if no game is known) |
VibeShift.exe --open-all |
Opens all your AI apps (the ⚡ page's Open all) |
VibeShift.exe --close-all |
Closes all your AI apps (Close all): everything on the ⚡ page, whatever its Close switch says. It doesn't switch modes |
If VibeShift is already running, the command is passed to it and returns straight away. If it isn't, VibeShift starts in the tray and then runs the command.
Vibe page (quick on/off)
- The ⚡ page lists your AI apps (Claude, ChatGPT, Cursor, Windsurf, Copilot, Ollama, LM Studio, plus anything you add; Antigravity, Kiro and Zed once you switch their row on) with a live switch each: on opens the app right now, off closes it right now. Open all and Close all do the whole list at once.
- It doesn't switch modes or touch MCP servers, WSL or services; it's for quickly starting or stopping your tools while you work.
- The same controls are in the tray's right-click menu: Open all AI apps, Close all AI apps, and an AI apps submenu where a ✓ means running. Click an app to open or close it, without opening the window.
- VibeShift learns how to start an app the first time it sees it running, so an app shows up on the Vibe page once you've opened it once (or added it yourself).
Power plan
- Under Settings → Power plan, pick a plan to use while you game: Windows' High performance, or your PC maker's own (a Lenovo Legion's Performance Mode, say). VibeShift switches to it when you start gaming and back to the plan you had when you're done, even after a crash. Switching plans needs no admin permission.
Stats
- Home shows how long you've been in gaming mode, and in vibe coding mode, your last 7 days: sessions, RAM freed and time spent gaming.
Updates
- Settings → About → Check for updates asks GitHub for the latest release. If there's a newer one, one click downloads it, checks it against the SHA-256 GitHub publishes for it, swaps it in and restarts VibeShift. Your settings and any gaming session carry over. After an update, Home shows What's new in 1.x until you click it or VibeShift next starts: it opens that version's release notes on GitHub in your browser.
- Turn on Check for updates automatically to have VibeShift check when it starts and once a day after that. It's off until you turn it on, and VibeShift never updates without your click.
Closing the window keeps VibeShift running as a small icon by the clock, with a green dot in vibe coding mode and a purple one while gaming. The first time you close it, a notification says so. Hover over it while gaming to see what you're playing and how much RAM was freed. Right-click it to switch modes, change When a game starts or Pause for 1 hour (nothing switches or asks for an hour, then it comes back on by itself; a game started meanwhile is left alone until it closes, as long as VibeShift keeps running) or quit. Quitting in gaming mode asks first, since the apps it closed would stay closed: Reopen and quit brings them back. Windows 11 tucks new icons under the ^ arrow; drag it onto the taskbar to keep it in sight, and turn on Start with Windows in Settings so it's always there.
| App | Switched on by default | Reopened afterwards |
|---|---|---|
| Claude (desktop) | Yes | Yes |
| ChatGPT (desktop) | Yes | Yes |
| Cursor | Yes | Yes |
| Windsurf | Yes | Yes |
| Antigravity, Kiro, Zed | No | Yes |
| Microsoft Copilot | Yes | Yes |
| Microsoft 365 Copilot | Yes | Yes |
| Ollama | Yes | Yes |
| LM Studio | Yes | Yes |
| MCP servers | Yes | They come back when their app restarts |
| VS Code | No | Yes |
| Visual Studio | No | Yes |
| Docker / WSL | No | Docker Desktop yes. WSL starts again by itself the next time something uses it |
| Command-line AI agents (Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, including npm installs) | No | No. Closing one ends what it was doing, and it can't be reopened inside your terminal |
| Web browsers (Firefox, Chrome, Edge, Brave, Opera, Vivaldi) | No | Yes, with your tabs (see below) |
| Wallpaper Engine | No | Yes |
| PowerToys | No | Yes |
| Windows Widgets | No | Windows starts them again when needed |
- When apps show up. An app appears in VibeShift once it has seen it running. Use + Add app to add any other program.
- MCP servers. VibeShift spots these by their command line (
mcp,modelcontextprotocol,desktop-commander). Other Node or Python processes, such as language servers, dev servers and your own scripts, are left alone. With the MCP row switched on, every MCP server stops, including ones used by apps you keep open. Those apps get their tools back when they restart. - Using the most memory. The Apps page lists other apps using a lot of RAM or graphics memory right now, each with an + Add button. Windows itself, games and game launchers like Steam are never listed.
- Browsers and your tabs. The Web browsers row ends the browser rather than asking it to close, because that's what makes it restore every tab when it reopens. Want to keep a music tab playing while you game? Leave this row off and let the browser sleep idle tabs instead: Firefox does this on its own when memory runs low, Chrome has Memory Saver, Edge has Sleeping tabs, and the free Auto Tab Discard extension lets you choose exactly what stays awake. A browser that a test or an agent is driving (Playwright, Puppeteer, Selenium) is closed with the rest but not reopened: it wasn't yours to bring back.
- What it never closes. Windows' own processes, the game you're playing (or anything it started), game stores like Steam, Epic or Battle.net (even when an app you close started them), and VibeShift itself.
- Separate apps stay open. A browser opened from a link in Claude, or an app whose row you switched off, survives even if a closed app started it.
- Started VibeShift from an app's terminal? If that's an app VibeShift closes (Claude Code, an AI app's built-in terminal), VibeShift restarts itself through Windows first. Closing the app for gaming then can't take VibeShift down with it. If it can't move out (it was started with
--tray, say), that app is left running instead, since VibeShift can't close part of it and reopen it afterwards.
VibeShift asks an app to close the way its X button does, then waits (5 seconds unless you change it under Settings → Closing apps).
- An app that asks a question stays open. If an app answers with Save changes? or anything else it wants you to decide, VibeShift leaves it running, with everything it started. When you start gaming, Home says which app (Still open: Visual Studio. It asked a question instead of closing.), and so does a notification when you switched with the window closed. Closed from the ⚡ page, the app's switch just goes back to on.
- Answer the question whenever you like. If the app then closes, VibeShift still reopens it when you're back to vibe coding.
- Frozen apps and tray apps are force-closed after the wait, as are processes with no window at all. A frozen app can't be asking anything.
- An app that always asks (some ask Are you sure you want to exit? every time) stays open every time. Turn that question off in the app, or turn off Leave an app open when it asks a question in VibeShift's settings: it then force-closes whatever is still open after the wait, as it did up to version 1.10.1.
- Web browsers and command-line agents aren't asked. A browser is ended so that it restores your tabs, and an agent in a terminal usually has no window of its own to ask. Save what matters in those before you start gaming.
Settings → When a game starts has three choices. It starts on Off: VibeShift only switches when you tell it to.
- Automatic (Auto mode): VibeShift switches to gaming mode by itself when a game starts. First a notification says Gaming mode in 10 seconds: click it to keep your apps open (it wasn't a game, or you're not done yet), and Auto mode leaves that game alone until another one starts. Apps are asked to close the same way as when you click Start gaming, so one with unsaved work stays open. It switches back 10 seconds after the game closes, so a launcher restarting the game doesn't bounce your apps.
- Ask me: when a game starts, a notification says so. Click it and VibeShift switches to gaming mode; ignore it and nothing closes. Good if you want the reminder but not apps closing by themselves.
What counts as a game:
- Any program with a window running from a Steam, Epic, GOG, EA app, Xbox app, Ubisoft Connect, Battle.net or Riot games folder, and Roblox and Minecraft (Java). VibeShift finds those folders automatically.
- Anything you add under My games.
- Launchers, crash reporters, anti-cheat services, installers and non-game Steam apps such as Wallpaper Engine are ignored. League of Legends' own client counts as the game (it's where you queue between matches).
- VibeShift also notes when it sees one of your Play button games running, so Play can offer the one you played last. It only sees games while it is looking for them: in gaming mode, or with When a game starts set to Ask me or Automatic.
- A program VibeShift doesn't know is never treated as a game by itself. But while VibeShift is looking for games (in gaming mode, or with When a game starts set to Ask me or Automatic), one that has been in front for a minute, filling the screen and holding a good deal of graphics memory (500 MB or more), is noted, and Home asks Was Hades a game? the next time you look at it in vibe coding mode. Yes, add it puts it on My games, so it counts as a game from then on; No puts it under Not games. Either way it is asked once. Programs that only run other programs (Python, Java, a game engine's editor) are never asked about, even when a game brings its own copy: add the program that actually runs full screen under My games yourself.
- While you're in gaming mode, Home shows what VibeShift sees you playing (Playing Deadlock). If that's not a game (an idle game or desktop pet you leave running all day), click Not a game and VibeShift ignores it from then on. They're listed under Not games in Settings, where you can undo it.
Your clicks always win:
- Switch back to vibe coding by hand while a game is still running, and Auto mode leaves that game alone. Home says so (Deadlock is running. Auto mode is leaving it alone until it closes.), so open apps next to a running game don't look like a fault.
- Start gaming by hand, and whether VibeShift switches you back is up to Switch back when my game closes (on by default), not Auto mode.
- Pause for 1 hour (in the tray's When a game starts menu, and under the same setting in Settings) is for an evening when your apps should stay open whatever you start: nothing switches and nothing asks, Home says until when, and it comes back on by itself. Resume ends it early.
Automatic switches never open the VibeShift window or pop anything up over your game. The 10-second notice and the Ask me question are ordinary Windows notifications, and Windows holds those back while a game runs full screen (Auto mode's switch then just happens; Ask me's question waits in the notification centre). An app that answers the switch with a question of its own (Save changes?) shows it in its own window, behind your game. If that window does come to the front, VibeShift puts your game back in front.
Off by default. When it's on, Start gaming also pauses two Windows background services: app preloading (SysMain) and search indexing (Windows Search). Back to vibe coding restarts them. Pausing and restarting services needs admin permission, so Windows asks when you click Start gaming and again when you switch back (after your apps have reopened, so they never wait on the prompt). Auto mode skips this step so nothing pops up mid-game.
If that second prompt is cancelled, or times out because you weren't at the PC when VibeShift switched back, the services stay paused. VibeShift remembers them: Settings shows which are still paused with a Restart them now link, and the next switch back asks again. Restarting your PC starts them too.
- VibeShift only goes online to check GitHub for updates: when you click Check for updates, or by itself (when it starts, then once a day) if you turn that on. No telemetry, no accounts.
- It runs as a normal app, without admin rights. Only Extra boost asks for admin: when you click Start gaming, and again when VibeShift switches back.
- Its files live in
%APPDATA%\VibeShift:settings.json: your choices, how to start each app VibeShift has seen running (so it can open it for you), when it last saw each of your games running (so the Play button knows which you played last), and any program it is waiting to ask you about (Was X a game?).session.json: what to reopen. It only exists while you're in gaming mode.stats.json: when your last 90 days of gaming sessions started and ended, and the RAM each one freed.- Settings → About → Copy details for a bug report puts the version, your Windows version, which automatic settings are on, which apps are set to close, and the log since VibeShift last started on the clipboard, with your user folder's name taken out. It is sent nowhere: you paste it yourself.
vibeshift.log: a short log of switches and the games VibeShift saw start and close, handy if you open an issue. When an app is left open because it asked a question, the log notes what kind of window it was showing, never the window's title. Settings → About → Open log folder takes you there.
- The window works from the keyboard, and the control that has the keyboard is outlined.
- With a screen reader, a switch is spoken as it goes ("Closing 3 apps...") and when it ends ("Gaming mode. Freed 3.2 GB."), along with any app that was left open or couldn't be reopened. Opening or closing apps from the Vibe page is spoken the same way ("Closed Claude."), and from the tray too while the window is open.
- VibeShift follows Windows' light, dark and high-contrast settings.
- This has been checked with Windows' own automation tools, not yet with Narrator, NVDA or JAWS themselves. If something reads wrong, please open an issue.
You need the .NET 10 SDK.
dotnet test
dotnet publish src/VibeShift -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o publish
The exe ends up in publish\VibeShift.exe. It isn't compressed on purpose: a compressed single-file build is half the download but uses about twice the RAM, and saving RAM is the point.
Every push to main is built and tested on GitHub Actions, and each run's exe can be downloaded from its Actions page for 14 days. The run also draws every page of the app in every theme, and keeps the pictures next to the exe.
Changing the window? tools\render-all.ps1 draws the same pictures on your PC, without opening anything, and fails if a page no longer draws. tools\live\live-test.ps1 runs the checks that need a real copy running: it uses its own data folder and its own stand-in apps, never your settings, and refuses to start while a game is running. tools\live\quiet-check.ps1 is the part of that which opens no window and shows no notification (only a second tray icon while it runs), for when a game is running: its copy runs with VIBESHIFT_QUIET set, which sends VibeShift's notifications to the log instead of the screen.
Releases after 1.8.0 are built the same way, on a clean GitHub runner rather than a PC: pushing a v* tag builds and tests the exe, records signed build provenance, and attaches it to a draft release. To check that a downloaded VibeShift.exe was built from this repo, run:
gh attestation verify VibeShift.exe -R bth0mp/VibeShift

