/screenshot
Capture screenshots on macOS and analyze the images.
> /plugin marketplace add wasabeef/claude-code-cookbookHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/screenshot
Context preview
What this command does when you run it.
Capture screenshots on macOS and analyze the images.
Command definition
screenshot.mdCapture 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
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
A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.
Repo: wasabeef/claude-code-cookbook
Other commands on claude-code-cookbook.
- /analyze-dependencies
Analyzes your project's dependencies and checks architecture health.
Open command - /analyze-performance
Analyzes application performance from a user experience perspective and quantifies experience improvements from optimizations. Calculates UX scores based on Core Web Vitals and proposes prioritized optimization strategies.
Open command - /check-fact
Verifies if a statement is true by checking your project's code and documentation.
Open command - /check-prompt
A comprehensive collection of best practices for evaluating and improving the quality of prompts for AI Agents. It systematizes knowledge gained from actual prompt improvement processes, covering all important aspects such as ambiguity elimination, information integration,
Open command - /commit-message
Generates commit messages from staged changes (git diff --staged). This command only creates messages and copies them to your clipboard—it doesn't run any git commands.
Open command - /context7
Searches technical documentation using MCP's Context7.
Open command

