# Screenshot

> View recent screenshots from ~/Downloads. Use when the user mentions "last screenshot", "see screenshot", "recent screenshot", "show screenshot", "last N screenshots", or references viewing screenshots from Downloads. Automatically finds and displays the most recent screenshot images sorted by creation time.

- Skill: `drn/screenshot` (Agent Skill)
- Install (CLI): `npx skillmds@latest add drn/screenshot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/drn/screenshot/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: drn (https://skillmd.com/u/drn)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/drn/screenshot

---


# Screenshot Viewer

Show the user their most recent screenshots from ~/Downloads.

## Arguments

- `$ARGUMENTS` - Optional count of screenshots to show (e.g., "last 4 screenshots")

## Context

Recent image files in ~/Downloads (sorted newest first):

!`/bin/ls -1t ~/Downloads/*.png ~/Downloads/*.jpg ~/Downloads/*.jpeg ~/Downloads/*.webp ~/Downloads/*.gif 2>/dev/null | head -20`

## Instructions

### Step 1: Determine Count

Parse how many screenshots the user wants from their message:
- "last screenshot" or "see screenshot" = 1
- "last 3 screenshots" or "last N screenshots" = N
- Default to 1 if unclear

### Step 2: Select Files

From the context list above, take the first N file paths (they are already sorted newest-first).

If the list is empty, tell the user no image files were found in ~/Downloads.

### Step 3: Display

Use the Read tool on each selected file path to display the images. The Read tool renders images visually.

Present them in order from most recent to oldest. State the filename for each.

