Install
$ agentstack add skill-sawallesalfo-claude-skills-screenshot ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Screenshot Skill
Capture full-page screenshots of any public URL using Playwright's headless Chromium browser. Save as PNG and describe the visual content. No API key or external service required.
Prerequisites
- Node.js installed
- Playwright available via
npx playwright - Chromium browser downloaded for Playwright
If Playwright browsers are not installed, run:
npx playwright install chromium
Workflow
Step 1 — Validate inputs
- Confirm the user has provided a valid URL (must start with
http://orhttps://).
If no protocol is given, prepend https://.
- Quick-check that Playwright is available:
``bash npx playwright --version ` If this fails, tell the user to install it: `bash npm install -g playwright npx playwright install chromium ``
Step 2 — Derive the output filename
Strip the URL to create a clean filename:
- Remove
https://orhttp:// - Remove
www.prefix if present - Remove trailing slashes
- Replace all dots, slashes, and special characters with underscores
- Truncate to 60 characters max
- Append
.png
Examples: | URL | Filename | |-----|----------| | https://github.com/anthropics/claude-code | github_com_anthropics_claude-code.png | | https://hub.docker.com | hub_docker_com.png | | https://news.ycombinator.com | news_ycombinator_com.png | | https://dev.to | dev_to.png |
Step 3 — Take the screenshot
Run this command, substituting the URL and derived filename:
npx playwright screenshot --full-page --wait-for-timeout 3000 "URL" "FILENAME"
Options to use depending on context:
--full-page— captures the entire scrollable page (always use)--wait-for-timeout 3000— wait 3 seconds for JS to load (default)--ignore-https-errors— add if the site has SSL issues--block-service-workers— add if the page is slow or uses service workers
If the default screenshot fails (e.g., timeout, rendering issues), retry with extended options:
npx playwright screenshot --full-page --wait-for-timeout 5000 --block-service-workers --ignore-https-errors "URL" "FILENAME"
After running, verify the file was created and is non-empty:
[ -s "FILENAME" ] && echo "Success: $(wc -c < FILENAME) bytes" || echo "Failed"
Common errors: | Error | Cause | Fix | |-------|-------|-----| | Executable doesn't exist | Chromium not installed | Run npx playwright install chromium | | Timeout | Page takes too long | Increase --wait-for-timeout to 10000 | | Empty file | Page blocked rendering | Try with --block-service-workers | | Navigation error | Invalid URL or DNS failure | Check URL is correct and accessible |
Step 4 — View and describe the screenshot
After a successful capture:
- Use the Read tool to open and visually inspect the PNG file.
- Tell the user the exact file path and file size.
- Write a single sentence describing what is visible in the screenshot.
Response format
Screenshot captured!
Location: /path/to/FILENAME.png
Size: XXX KB
What's in it: [One-sentence visual description]
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: sawallesalfo
- Source: sawallesalfo/claude-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.