Skip to content
Development
Command

/screenshot

Capture screenshots on macOS and analyze the images.

From plugin
claude-code-cookbook
1.1k39 skills9 agents39 commands8 MCP
> /plugin marketplace add wasabeef/claude-code-cookbook

Command definition

screenshot.md

Capture and analyze macOS screenshots

Capture screenshots on macOS and analyze the images.

Usage

/screenshot [options]

Options

  • None: Select window (Claude will confirm options)
  • `--window`: Capture a specific window
  • `--full`: Capture the entire screen
  • `--crop`: Select a region to capture

Basic Examples

# Capture and analyze a window
/screenshot --window
"Analyze the captured screen"

# Select a region and analyze
/screenshot --crop
"Explain the content of the selected region"

# Capture full screen and analyze
/screenshot --full
"Analyze the overall screen composition"

Collaboration with Claude

# No specific problem - situation analysis
/screenshot --crop
(Claude will automatically analyze screen content, explaining elements and composition)

# UI/UX problem analysis
/screenshot --window
"Propose problems and improvements for this UI"

# Error analysis
/screenshot --window
"Tell me the cause and solution for this error message"

# Design review
/screenshot --full
"Evaluate this design from a UX perspective"

# Code analysis
/screenshot --crop
"Point out problems in this code"

# Data visualization analysis
/screenshot --crop
"Analyze trends visible in this graph"

Detailed Examples

# Analysis from multiple perspectives
/screenshot --window
"Analyze this screen regarding:
1. UI consistency
2. Accessibility issues
3. Improvement proposals"

# Multiple captures for comparative analysis
/screenshot --window
# (Save before image)
# Make changes
/screenshot --window
# (Save after image)
"Compare before and after images, analyzing changes and improvement effects"

# Focus on specific elements
/screenshot --crop
"Evaluate whether the selected button design harmonizes with other elements"

Prohibited Items

  • **Prohibited to say "captured" when no screenshot was taken**
  • **Prohibited to attempt analysis of non-existent image files**
  • **The `/screenshot` command does not actually capture screenshots**

Notes

  • If no option is specified, please present the following choices:
  "How would you like to capture the screenshot?
  1. Select window (--window) → screencapture -W
  2. Full screen (--full) → screencapture -x
  3. Select region (--crop) → screencapture -i"
  • Start image analysis after the user has executed the screencapture command
  • Specifying specific problems or perspectives enables more focused analysis
Read more
@wasabeef
Ships withclaude-code-cookbook

A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.

1.1k39 skills9 agents8 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.1k
Star history of wasabeef/claude-code-cookbook on GitHub, a chart by star-history.com

Other commands on claude-code-cookbook.

check-prompt

check-prompt

Command

A comprehensive collection of best practices for evaluating and improving the quality of prompts for AI Agents. It systematizes…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command