skills/screenshot/SKILL.md
Find and display recent screenshots. Triggers: screenshot, check screenshot, show screenshot, recent screenshot, last screenshot.
npx skillsauth add 0xDarkMatter/claude-mods screenshotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quickly find and display recent screenshots from common screenshot directories.
/screenshot # Show last 5 screenshots (default)
/screenshot 1 # Show only the most recent
/screenshot 10 # Show last 10 screenshots
Auto-detect screenshot locations - Checks common directories in this order:
Pictures\Screenshots, ShareX, Greenshot, OneDrive\Screenshots~/Desktop, ~/Screenshots~/Pictures, ~/DesktopFind recent screenshots - Uses Glob to find image files (png, jpg, jpeg, gif, webp) sorted by modification time
Display visually - Uses Read tool to show screenshots so you can analyze and discuss them
Check common locations and use the first one that exists:
Windows:
# Priority order
1. %USERPROFILE%\Pictures\Screenshots # Windows 11 native
2. %USERPROFILE%\Documents\ShareX\Screenshots # ShareX
3. %USERPROFILE%\Pictures\Greenshot # Greenshot
4. %USERPROFILE%\OneDrive\Pictures\Screenshots # OneDrive sync
5. %USERPROFILE%\Pictures # Fallback
macOS:
1. ~/Desktop # Default macOS location
2. ~/Screenshots # Custom folder
3. ~/Pictures # Fallback
Linux:
1. ~/Pictures/Screenshots # GNOME/KDE
2. ~/Pictures # Fallback
3. ~/Desktop # Alternative
Use Glob to find image files, sorted by modification time:
# Find all image files in screenshot directory
fd -e png -e jpg -e jpeg -e gif -e webp . "$SCREENSHOT_DIR" --max-depth 1 -t f --exec stat --format="%Y %n" {} \; | sort -rn | head -n $COUNT
Or using native tools:
Windows (PowerShell):
Get-ChildItem "$env:USERPROFILE\Pictures\Screenshots" -File |
Where-Object {$_.Extension -match '\.(png|jpg|jpeg|gif|webp)$'} |
Sort-Object LastWriteTime -Descending |
Select-Object -First $COUNT
Unix (Bash):
find "$SCREENSHOT_DIR" -maxdepth 1 -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.webp" \) -printf '%T@ %p\n' | sort -rn | head -n $COUNT | cut -d' ' -f2-
For each screenshot found, use Read tool to display it visually:
Found 3 screenshots in C:\Users\...\Pictures\Screenshots
1. Screenshot_2026-01-28_14-32-10.png (45 KB, 2 minutes ago)
[Read tool displays image visually]
2. Screenshot_2026-01-28_14-15-03.png (128 KB, 19 minutes ago)
[Read tool displays image visually]
3. Screenshot_2026-01-28_13-58-22.png (67 KB, 36 minutes ago)
[Read tool displays image visually]
| Argument | Default | Description |
|----------|---------|-------------|
| count | 5 | Number of screenshots to show |
Examples:
/screenshot - Show last 5/screenshot 1 - Show only most recent/screenshot 10 - Show last 10Screenshots from [directory]
## Screenshot 1 of N
**File**: [filename]
**Size**: [size] KB
**Modified**: [time ago]
[Visual display of screenshot via Read tool]
## Screenshot 2 of N
...
No screenshot directory found.
Checked locations:
- C:\Users\...\Pictures\Screenshots (not found)
- C:\Users\...\Documents\ShareX\Screenshots (not found)
- C:\Users\...\Pictures\Greenshot (not found)
To use this skill, either:
1. Take a screenshot (Win+Shift+S on Windows)
2. Specify a custom directory: /screenshot --dir="C:\path\to\screenshots"
No screenshots found in C:\Users\...\Pictures\Screenshots
Directory exists but contains no image files (.png, .jpg, .jpeg, .gif, .webp)
Found 3 screenshots (requested 10)
Showing all 3:
[displays all available screenshots]
To use a non-standard directory:
/screenshot 5 --dir="C:\Custom\Path"
Or create a project-specific config in .claude/screenshot.json:
{
"directory": "C:\\Custom\\Screenshots",
"default_count": 3,
"file_extensions": ["png", "jpg", "webp"]
}
Works well with:
/explain - Explain what's in the screenshot/review - Review UI/code in screenshottools
Behavioural-first software supply chain defense - catches poisoned npm/PyPI packages in the publish-to-advisory window that CVE tools miss. Use BEFORE every install or version bump (not only when an attack is suspected) - the 7-day cooldown gate + behavioural score catches freshly-published malware that CVE tools won't see for days. Socket.dev integration (free CLI + GitHub app + depscore MCP for Claude Code), stale-OIDC audit, dependency cooldown policy, publish-token rotation, VS Code extension audit, and a self-integrity scan that detects worm persistence hooks injected into Claude Code / VS Code settings. Triggers on: pip install, uv add, uv tool install, npm install, pnpm add, yarn add, cargo add, go get, composer require, gem install, upgrade dependency, dependency upgrade, version bump, bump version, bump package, adding dependency, new dependency, vetting a dependency, vet package, is this package safe, safe to install, should I install, before installing, pre-install check, preinstall scan, preinstall-check, PyPI cooldown, npm cooldown, release cooldown, minimumReleaseAge, score a package, package score, depscore, socket score, supply chain, supply chain attack, malicious package, poisoned dependency, npm worm, Shai-Hulud, behavioural scanning, Socket.dev, socket scan, dependency security, postinstall malware, OIDC token theft, compromised maintainer, typosquat, dependency confusion, package provenance, SLSA, persistence hook, malicious VS Code extension.
testing
GitHub remote operations — repo creation, metadata (description/homepage/topics), releases, README 'Recent Updates' enforcement, and issue / PR management with preview-before-send discipline. Companion to git-ops (local) and push-gate (pre-push safety). Three modes: new (first publish), update (subsequent release), audit (read-only checklist), plus atomic operations for issues and PRs. Triggers on: push to github, publish repo, ship release, cut release, gh release, set topics, repo description, github metadata, recent updates section, audit github repo, repo visibility, make repo public, gh repo create, gh issue, gh pr, create issue, comment on issue, close issue, triage issue, create PR, review PR, merge PR, pre-merge check, pr checks.
tools
Defend the agent's instruction surface against adversarial content - hidden-Unicode prompt injection (Trojan Source bidi reordering, U+E0000 tag-block ASCII smuggling, zero-width text), homoglyph confusables, and poisoned context that a human reviewer can't see but the model obeys. Scan CLAUDE.md / AGENTS.md / SKILL.md / .cursorrules and MCP tool descriptions; sanitize fetched web pages, issue/PR bodies, and dependency READMEs before they enter context. Triggers on: prompt injection, hidden unicode, invisible characters, zero-width space, bidi override, Trojan Source, ASCII smuggling, tag characters, homoglyph, confusable, unicode steganography, poisoned CLAUDE.md, malicious tool description, MCP tool poisoning, instruction injection, jailbreak in file, is this file safe, sanitize untrusted content, scan for hidden text.
tools
Set tool permissions for Claude Code. Configures allowed commands, rules, and preferences in .claude/ directory. Triggers on: setperms, init tools, configure permissions, setup project, set permissions, init claude.