From trousse
Take screenshots to see what's on screen. Triggers on 'screenshot', 'grab a screenshot', 'have a look', 'can you see', 'what does it look like', 'check the screen', 'did that work', 'verify it worked', 'what happened'. AFTER uncertain CLI operations (backgrounded processes, nohup, visual changes), consider capturing to verify state. Captures windows or full screen to files. (user)
npx claudepluginhub spm1001/batterie-de-savoir --plugin trousseThis skill is limited to using the following tools:
Take screenshots to see what's on screen. Captures persist as files (unlike browsermcp snapshots which only exist in context).
Captures desktop screenshots (full screen, app/window, region) on macOS/Linux via Python/Bash scripts. Use for explicit requests or when tool-specific capture unavailable.
Captures OS-level desktop screenshots on macOS/Linux: full screen, app/window, pixel region. Use for explicit requests or fallback from tool-specific captures.
Automates desktop control on macOS, Windows, Linux using Midscene vision from screenshots. Handles mouse, keyboard for native apps and Electron without DOM access.
Share bugs, ideas, or general feedback.
Take screenshots to see what's on screen. Captures persist as files (unlike browsermcp snapshots which only exist in context).
# Capture specific app window
${CLAUDE_SKILL_DIR}/scripts/look.py --app Ghostty
# Capture window by title match
${CLAUDE_SKILL_DIR}/scripts/look.py --app Chrome --title "LinkedIn"
# Capture full screen
${CLAUDE_SKILL_DIR}/scripts/look.py --screen
# List available windows
${CLAUDE_SKILL_DIR}/scripts/look.py --list
# List windows grouped by category
${CLAUDE_SKILL_DIR}/scripts/look.py --categories
# List only browser windows
${CLAUDE_SKILL_DIR}/scripts/look.py --category browsers
# Native resolution (skip resize)
${CLAUDE_SKILL_DIR}/scripts/look.py --app Safari --native
Categories: browsers, terminals, editors, communication, documents, media, other
Reactive (user asks):
Proactive (verify state):
Documentation:
| Pattern | Problem | Fix |
|---|---|---|
| Capture without purpose | Clutters context | Only screenshot when you need the visual |
| Skip --list first | Wrong window captured | List windows to find exact app/title |
| Native on large screens | Huge files, slow upload | Use default 1568px resize |
Default: 1568px max dimension (~1,600 tokens, optimal for API)
| Option | Tokens | Use case |
|---|---|---|
| Default (1568px) | ~1,600 | Full detail, no resize penalty |
--max-size 735 | ~500 | Quick look, text readable |
--native | varies | When original resolution needed |
Why 1568px: Images larger than this get resized server-side anyway. Pre-resizing avoids upload latency while getting the same visual fidelity.
Ephemeral (no path): Screenshots go to /tmp/claude-screenshots/ — auto-cleaned by OS, won't clutter project directories:
/tmp/claude-screenshots/2025-12-15-143022-chrome.png
Persistent (explicit path): For documentation workflows, specify where screenshots should live:
look.py --app Chrome ./docs/step3.png
Design rationale: Quick looks are ephemeral by default. Documentation requires intentional placement. If a subagent is documenting, it should think about where artifacts belong.
screencapture -l<windowid> for windows, screencapture -x for screensips --resampleHeightWidthMax for efficient scalingKey capability: Can capture windows even when covered or minimized.
Scrollback: Only captures visible viewport. If content scrolled off screen, it won't be in the screenshot. Workaround: increase window size or pipe output to file.
Multiple monitors: Untested. --screen with -m flag captures main monitor only.
Window selection: Takes first match when multiple windows match filters. No "frontmost" heuristic yet.
browsermcp's browser_screenshot injects images directly into context but doesn't persist them as files. Use this skill when you need:
Requires Screen Recording permission in System Preferences > Privacy & Security.
If capture fails with "check Screen Recording permissions", the user needs to grant permission to the terminal app (Ghostty, Terminal, iTerm, etc.).