agentleFS
academysimacademysim/claude-code-skills/screenshot/SKILL.md

screenshot

Skill0 starsChanged 3 months agoMITView on GitHub

Claude cannot see your screen — this gives it eyes. Captures the Windows desktop, one monitor, a named window, or a pixel region to a PNG that Claude then reads. Use when the user says "look at this", "what's on my screen", "see this error", "read this dialog", "why does my UI look wrong", "what does this say" — or whenever they are describing something visible on screen that would be faster to simply look at. Works with fullscreen Direct3D games, which most screenshot tools capture as a black frame.

54 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use spreadsheet, obsidian-vault and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JetBrainsSkill

    spreadsheet

    Use when tasks involve creating, editing, analyzing, or formatting spreadsheets (`.xlsx`, `.csv`, `.tsv`) with formula-aware workflows, cached recalculation, and visual review.

    Also in 3 projects that use this

  • simo97Skill

    obsidian-vault

    Also in 4 projects that use this

  • JetBrainsSkill

    slides

    Create and edit presentation slide decks (`.pptx`) with PptxGenJS and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.

    Also in 5 projects that use this

  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 3 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 3 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 48 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always Read the printed path afterwards — capturing alone shows Claude nothing.

    line 18
  2. Very specific:

    Never assume a layout from an earlier conversation — run --list-monitors if geometry matters.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 48 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Screenshot

The problem: Claude Code reads files and runs commands, but it cannot see your screen. So you end up typing out what an error dialog says, describing a broken layout, or transcribing a game's HUD by hand — slowly, and with transcription mistakes.

This captures the screen to a PNG that Claude reads directly.

python screenshot/shot.py [options]

Always Read the printed path afterwards — capturing alone shows Claude nothing.

Options

OptionPurpose
(none)whole desktop
--monitor Nmonitor N, 0 = primary
--window TEXTwindow whose title contains TEXT, case-insensitive
--region X,Y,W,Hexplicit pixel region
--delay SECwait before capturing, so you can alt-tab first
--list-windowsvisible windows with titles and rects
--list-monitorsmonitors with sizes and positions
--method dda|gdiforce a capture backend, default auto
--max-edge PXlong-edge downscale, default 1568

Crop, or the text will be unreadable

Claude downscales images to roughly 1568px on the long edge. On a 1920×1080 display a full-desktop grab arrives at 1568×882, which is usually fine. On an ultrawide it is far worse: a 5120×1440 desktop lands at 1568×440, enough to see which app is open and nothing like enough to read a dialog.

  • Reading text? Crop to it — --window for a titled window, --region for a panel or HUD element inside a fullscreen app.
  • General "what is going on"? Full desktop is fine.
  • Unsure what is open? --list-windows first, then crop to the rect it reports.

Any capture up to 1568px wide is sent at full resolution with no downscaling at all.

Regions inside a fullscreen game

Game HUDs and debug panels are not separate windows, so --window cannot reach them. Take a full-desktop shot first, estimate the panel's fraction of the frame, convert to pixels, then --region that box. One refinement pass is normal.

Backends, and why the order matters

auto tries ddagrab (Desktop Duplication API) first and falls back to gdigrab.

This ordering is the whole trick. ddagrab captures fullscreen Direct3D games — verified against BeamNG.drive in D3D12 fullscreen — where gdigrab commonly returns a black frame. gdigrab is the fallback for sessions where DXGI is unavailable, such as some remote-desktop connections.

ddagrab cannot capture a region spanning two monitors; the script detects that and falls back automatically.

Notes

  • Monitor layouts change between sessions on machines with docking or profile switchers. Never assume a layout from an earlier conversation — run --list-monitors if geometry matters.
  • PNGs go to ~/.claude/screenshots/, last 25 kept, older ones deleted automatically.
  • Capture costs a little GPU time. If a benchmark or stability measurement is running that is sensitive to GPU load, say so before capturing repeatedly.
  • This is a still frame on demand, not live video. Claude cannot watch you work in real time; each capture is a round trip of a few seconds. For "what happened during that run", record a clip and analyse it afterwards — see the clipwatch skill.

Requirements

Windows, Python 3.8+, and ffmpeg on PATH. No third-party Python packages.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.