AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Screenshot

skill-sawallesalfo-claude-skills-screenshot · by sawallesalfo

>

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add skill-sawallesalfo-claude-skills-screenshot

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sawallesalfo-claude-skills-screenshot)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Screenshot? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Confirm the user has provided a valid URL (must start with http:// or https://).

If no protocol is given, prepend https://.

  1. 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:// or http://
  • 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:

  1. Use the Read tool to open and visually inspect the PNG file.
  2. Tell the user the exact file path and file size.
  3. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.