VS

vscode-screenshots

Capture and save VSCode window screenshots with standardized instructions and settings.

Install

mkdir -p .claude/skills/vscode-screenshots && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10536" && unzip -o skill.zip -d .claude/skills/vscode-screenshots && rm skill.zip

Installs to .claude/skills/vscode-screenshots

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Captures VSCode window screenshots using a semi-automated workflow. Use this when asked to capture, document, or screenshot VSCode, terminal output, or other desktop application states.
185 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Capture screenshots of the active VSCode window
  • Document VSCode UI elements like Source Control or Extensions
  • Take screenshots of terminal output within VSCode
  • Capture any desktop application window (macOS/Linux)
  • Specify output file paths for screenshots
  • Set custom delays and suggested window dimensions

How it works

The skill displays setup instructions, waits for user confirmation, then captures the active VSCode window using platform-specific tools (`screencapture` on macOS, `gnome-screenshot`/`scrot`/`import` on Linux).

Inputs & outputs

You give it
Output file path, instructions for setup, optional delay, width, and height
You get back
A screenshot image file of the active VSCode window or other desktop application

When to use vscode-screenshots

  • Documenting UI workflows
  • Capturing terminal outputs
  • Creating project visual documentation

About this skill

VSCode Screenshot Capture

Capture screenshots of Visual Studio Code using a semi-automated workflow. This skill displays setup instructions to the user, waits for confirmation, then captures the active VSCode window.

When to Use

Use this skill when the user asks you to:

  • Capture a screenshot of VSCode in a specific state
  • Document VSCode UI elements (Source Control, Extensions, Copilot Chat, etc.)
  • Take screenshots of terminal output
  • Capture any desktop application window (not just browsers)

For web pages and browser content, use the browser-screenshots skill instead.

How to Capture

Use the capture script located at .github/skills/vscode-screenshots/scripts/capture.cjs.

Basic Usage

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-welcome.png \
  --instructions "Show the VSCode Welcome tab"

The script will:

  1. Display the setup instructions in a formatted box
  2. Wait for the user to press Enter
  3. Capture the active VSCode window
  4. Save to the specified output path

Options

OptionDescriptionDefault
--outputOutput file path (required)-
--instructionsSetup instructions for the user"Set up VSCode as needed"
--delaySeconds to wait after Enter before capture (with countdown)5
--widthSuggested window width (displayed in instructions)1280
--heightSuggested window height (displayed in instructions)800

Examples

Capture the Source Control panel:

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-source-control.png \
  --instructions "Open Source Control panel: Cmd+Shift+G (Mac) or Ctrl+Shift+G (Linux/Windows)"

Capture Extensions marketplace:

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-extensions.png \
  --instructions "Open Extensions: Cmd+Shift+X (Mac) or Ctrl+Shift+X (Linux/Windows)"

Capture Copilot Chat panel:

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-copilot-chat.png \
  --instructions "Open Copilot Chat: Cmd+Shift+I (Mac) or Ctrl+Shift+I (Linux/Windows)"

Capture a specific file open:

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-readme.png \
  --instructions "Open README.md in the editor"

Capture with custom dimensions reminder:

node .github/skills/vscode-screenshots/scripts/capture.cjs \
  --output static/screenshots/week-1/vscode-wide.png \
  --width 1440 \
  --height 900 \
  --instructions "Resize window to approximately 1440x900, then show the file explorer"

Common VSCode Keyboard Shortcuts

Include these in your instructions to help users:

ActionMacLinux/Windows
File ExplorerCmd+Shift+ECtrl+Shift+E
Source ControlCmd+Shift+GCtrl+Shift+G
ExtensionsCmd+Shift+XCtrl+Shift+X
Copilot ChatCmd+Shift+ICtrl+Shift+I
TerminalCmd+`Ctrl+`
ProblemsCmd+Shift+MCtrl+Shift+M
Command PaletteCmd+Shift+PCtrl+Shift+P
Markdown PreviewCmd+Shift+VCtrl+Shift+V

Saving Screenshots

Save to /static/screenshots/week-{week}/ with descriptive kebab-case filenames.

Naming convention:

  • vscode-source-control.png
  • vscode-readme-preview.png
  • vscode-copilot-response.png
  • VSCodeSourceControl.png

Directory structure:

static/screenshots/
  week-1/
    vscode-welcome.png
    vscode-source-control.png
    github-homepage.png  (from browser-screenshots)
  week-2/
    ...

Embedding in Tutorials

When embedding in .svx files, use the Screenshot component without browser chrome:

<script>
  import Screenshot from '$lib/components/Screenshot.svelte';
</script>

<Screenshot 
  src="/screenshots/week-1/vscode-source-control.png" 
  alt="VSCode Source Control panel showing staged changes"
  showChrome={false}
/>

Note: VSCode screenshots should use showChrome={false} since they already have the VSCode window frame.

Platform Support

PlatformScreenshot Method
macOSscreencapture with window ID from AppleScript
Linuxgnome-screenshot, scrot, or ImageMagick import
WindowsNot yet supported (manual screenshots required)

The script auto-detects the platform and uses the appropriate tool.

Linux Dependencies

On Linux, ensure one of these tools is installed:

  • gnome-screenshot (GNOME desktop)
  • scrot (sudo apt install scrot)
  • import from ImageMagick (sudo apt install imagemagick)
  • xdotool for active window detection (sudo apt install xdotool)

Limitations

  • Semi-automated: Requires user interaction (cannot run unattended)
  • Active window only: Captures whichever window is focused
  • Cannot capture: OS dialogs, authentication popups, tooltips
  • Windows: Not yet supported

Troubleshooting

"No screenshot tool found": Install one of the supported tools (see Linux Dependencies)

Screenshot shows wrong window: Make sure VSCode is the active/focused window when the countdown finishes

Window dimensions wrong: The script shows suggested dimensions; manually resize VSCode before capturing

Workflow Tips

When running from Cline (VSCode integrated terminal):

  1. Run the capture command - the instruction box appears
  2. Press Enter to start the 5-second countdown
  3. Quickly navigate away from the terminal tab (click on an editor tab or use Cmd+1)
  4. Set up the VSCode view you want during the countdown
  5. When the interactive capture triggers, click on the VSCode window

The 5-second default delay gives you time to switch away from the terminal output before the screenshot is taken. You can adjust with --delay 10 for more time or --delay 0 to capture immediately.

When not to use it

  • When capturing web pages or browser content (use `browser-screenshots` instead)
  • When running on Windows (not yet supported)
  • When needing to capture OS dialogs, authentication popups, or tooltips

Limitations

  • Semi-automated: Requires user interaction
  • Captures only the active window
  • Cannot capture OS dialogs, authentication popups, or tooltips

How it compares

This skill provides a semi-automated workflow for capturing VSCode screenshots with configurable parameters and platform-specific tools, offering more control and consistency than manual screenshot methods.

Compared to similar skills

vscode-screenshots side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
vscode-screenshots (this skill)05moReviewBeginner
positron-abstract-svg01moNo flagsIntermediate
ckm:brand04moReviewBeginner
ux-design02moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry