Launch VS Code OSS in isolation for automation and multi-process debugging.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "launch" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/vscode/main/.agents/skills/launch/SKILL.md 2. Save it as ~/.claude/skills/launch/SKILL.md 3. Reload skills and tell me it's ready
Use the launch skill to open Code OSS with an isolated profile. Then use Playwright to open the chat panel and send a test message, while allowing me to attach a debugger to the renderer and extension host processes.
A running Code OSS session where chat UI flows can be automated and relevant processes can be debugged simultaneously.
Launch a temporary Code OSS session with the launch skill, open a target workspace, reproduce a sidebar rendering issue, capture screenshots during the flow, and let me set breakpoints in the main process to investigate.
An isolated reproducible session with automated steps, captured screenshots, and debugger attachment for breakpoint-based investigation.
Start Code OSS with the launch skill and assign unique debug ports. Then run a Playwright flow to install and enable my extension, trigger a command palette action, and attach to the extension host to inspect execution.
A running session that supports extension installation, UI automation testing, and extension host debugging together.
You're working on VS Code itself and you want to:
@playwright/cli over CDP (UI automation).This skill provides a launcher that clones an authenticated user-data-dir to a throwaway temp folder, picks free ports for every debug surface, and prints them as JSON so you can pick them up programmatically.
The clone is slim: workspace storage, browser caches, file history, cached VSIX backups, and old logs are excluded by default. Auth tokens themselves live in the OS keychain (shared automatically) plus small files inside User/globalStorage - both of which are preserved.
rsync, curl, nohup, and Node on PATH. The example caller snippets below also use jq (parse the JSON output) and lsof (kill-by-port fallback) — install those if you plan to use them, but the launcher itself does not require them.node_modules/ installed (npm install if missing — do not symlink from a sibling worktree; that breaks builds in subtle ways).npm run compile once (one-shot) or npm run watch for incremental rebuilds. Both build the full client and all built-in extensions under extensions/. You must build the full product to run successfully, building just the client is not enough.~/.vscode-oss-dev, which is the user-data-dir the repo's launch.json configs use - if the user has ever signed in to Copilot in a dev build, this should work. Only pass --source-user-data-dir <path> (or set $CODE_OSS_DEV_AUTHED_USER_DATA_DIR) when you specifically want to seed from a different profile (e.g. your regular ~/Library/Application Support/Code install).
@playwright/cli available (it's a devDependency in the vscode repo - npm install then use npx @playwright/cli).dap-cli on PATH. If debugger support would be useful but the dap-cli skill is not present, prompt the user to install it from https://github.com/roblourens/dap-cli.eval stops working, take a fresh snapshot, inspect the current DOM, and update the selector rather than assuming an old one still applies.The launcher copies the source profile to a temp dir and never mutates the original. Each launch gets its own isolated
--user-data-dirand--extensions-dir.
The launcher always sets
files.simpleDialog.enable: truein the launched profile'sUser/settings.json. This is required for automation: VS Code's native OS file dialogs cannot be driven via@playwright/cliover CDP and are completely unreachable over SSH on headless macOS. The simple (quick-input) dialog can be navigated withpressand clipboard paste. The override is per-launch and only affects throwaway profiles.
The launcher script lives next to this SKILL.md at scripts/launch.sh. Resolve it relative to wherever this skill file is installed - do not hardcode an absolute path.
# LAUNCH=<dir-of-this-SKILL.md>/scripts/launch.sh
"$LAUNCH" # default: workbench
"$LAUNCH" --agents # Agents window
"$LAUNCH" -- <workspace-path> # forward extra args to code.sh
"$LAUNCH" --source-user-data-dir <path> # pick a specific authed profile
…
Validate Azure DevOps pipeline changes and troubleshoot builds and YAML faster.
Upgrade Anthropic SDKs, migrate versions, and fix dependency or typing issues.
Generate or update chat customization files for AI coding agents.
Find and read Code OSS dev build logs for faster debugging.
Merge session branch changes back into the base branch cleanly.
Create and maintain screenshot test fixtures for UI components effectively.
Let AI control VS Code for coding, debugging, screenshots, and test automation.
Automate VS Code performance and memory investigations with repeatable evidence capture.
Give your VS Code agent real debugging with breakpoints, stepping, and inspection.
Interactively debug code in many languages through MCP and VS Code.
Use a real Python debugger to inspect code, find bugs, and verify fixes.
Run vscode.dev locally to test the VS Code workbench and Agents window.