screenshot

Capture desktop, application, or region screenshots on macOS, Linux, and Windows.

4|Updated Jan 12, 2017
One-click install
npx skills add https://github.com/brandon-fryslie/dotfiles --skill screenshot-brandon-fryslie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screenshot
Source: https://github.com/brandon-fryslie/dotfiles/tree/main/config/codex/skills/screenshot
Command: npx skills add https://github.com/brandon-fryslie/dotfiles --skill screenshot-brandon-fryslie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scrot, gnome-screenshot, import, xdotool, powershell, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of capturing screenshots, offering flexibility to capture full screens, specific applications, or window regions, and provides an OS-level solution when tool-specific capture is unavailable.

Core Features & Use Cases

  • Screenshot Capture: Offers full-screen, specific app or window, or pixel region capture.
  • OS-Level Capture: Acts as a fallback when tool-specific capture is not available.
  • Multi-Platform Support: Supports macOS, Linux, and Windows with dedicated scripts and helpers.
  • Use Case: When a user needs to capture a specific part of the desktop or a window for documentation or troubleshooting.

Quick Start

To capture a screenshot of the active window, simply use the 'screenshot' skill followed by the name of the application.

Frequently Asked Questions about screenshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a screenshot of a specific application window across different operating systems?

Capturing a screenshot of a specific application window across different operating systems requires multi-platform desktop capture tools. This Skill handles OS-level screenshot capabilities by utilizing tool-specific fallbacks like PowerShell on Windows and scrot on Linux to grab active windows.

Does desktop capture work on Linux if gnome-screenshot is not installed?

Desktop capture on Linux does not strictly require gnome-screenshot. If gnome-screenshot is unavailable, the system utilizes fallback tools like scrot or ImageMagick's import command to execute OS-level screenshot capture.

What is the best way to automate system capture for desktop troubleshooting?

The best way to automate system capture for troubleshooting is using a multi-platform screenshot script. It handles full-screen or region capture and automatically falls back to OS-level capabilities when tool-specific capture fails, ensuring reliable documentation.

Do I need to configure macOS permissions before taking a desktop screenshot?

Yes, you need to configure macOS permissions before taking a desktop screenshot. The system requires preflight checks for macOS permissions to ensure the application is authorized to capture the screen, preventing authorization errors during the screenshot process.

Can I use PowerShell to capture a specific pixel region on Windows?

Yes, you can use PowerShell to capture a specific pixel region on Windows. The Skill includes a dedicated PowerShell script providing OS-level screenshot capabilities, allowing you to target full screens, specific applications, or window regions efficiently.