screenshot

Capture screenshots and screen recordings from terminals on Linux, macOS, and WSL.

30|5|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/phuetz/code-buddy --skill screenshot-phuetz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screenshot
Source: https://github.com/phuetz/code-buddy/tree/main/.codebuddy/skills/bundled/screenshot
Command: npx skills add https://github.com/phuetz/code-buddy --skill screenshot-phuetz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables quick capture of terminal screens and sessions as images or recordings, across Linux, macOS, and WSL, making it easier to document steps, share tutorials, and create demonstrations without manual screenshot toil.

Core Features & Use Cases

  • Full screen, active window, and region captures across Linux and macOS using standard CLI tools.
  • Screen recording workflows leveraging common desktop tools to produce quick video demos.
  • Use Case: Imagine you need to document a multi-step terminal session; capture screenshots and a short recording to share with your team.

Quick Start

Use the skill to capture a full-screen screenshot on Linux: scrot /tmp/screenshot.png On macOS: screencapture /tmp/screenshot.png To begin a quick recording, use a compatible tool like ffmpeg to record the desktop to /tmp/recording.mp4.

Frequently Asked Questions about screenshot

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

FAQPage Schema
How do I take a screenshot from the terminal on macOS and Linux?

To take a terminal screenshot on macOS and Linux, you can use standard CLI tools like screencapture and scrot. This skill automates these commands to capture full screens, active windows, or specific regions directly.

Can I record my terminal session as a video using CLI tools?

Yes, you can record a terminal session as a video using CLI tools like ffmpeg. This skill provides workflows to execute deterministic shell commands for quick screen recording and desktop capture to output video files.

Does CLI screenshot automation work inside Windows Subsystem for Linux?

CLI screenshot automation works inside Windows Subsystem for Linux (WSL). This skill supports capturing screenshots and recordings across WSL environments using standard Linux tools and deterministic shell commands.

What is the best way to automate region capture for terminal documentation?

The best way to automate region capture for terminal documentation is using CLI tools like scrot or gnome-screenshot. This skill executes deterministic shell commands to grab specific screen areas quickly without manual toil.

Do I need to install scrot or screencapture to use terminal screenshot automation?

You need standard CLI tools like scrot, gnome-screenshot, screencapture, or ffmpeg installed to use this terminal screenshot automation. The skill relies on these existing dependencies to execute captures without requiring new components.