/agent-skills:curlshotfrom agent-skills
Captures web pages as PNG/JPEG/WebP screenshots, PDFs, or scrolling videos via the CurlShot API. Also renders raw HTML or Markdown to images/PDFs. Requires CURLSHOT_API_KEY.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
CurlShot renders a page in a real browser and returns the result as an image (PNG, JPEG, WebP), a PDF, or a video of the page scrolling (MP4, WebM, GIF). One HTTP request does it: GET https://curlshot.com/api/v1/screenshot?url=… for a public URL, or a POST with a JSON body for raw HTML or Markdown. Agents with MCP support can use the hosted server https://curlshot.com/api/mcp (tools take_screenshot, list_devices) instead of curl.
Check the key without printing it: test -n "$CURLSHOT_API_KEY". If it is missing, ask the user for one. A free key (100 screenshots a month, no card) comes from https://curlshot.com/register.
Capture a URL. Send the key in the X-Access-Key header, never in a link you show the user:
curl -sS -G "https://curlshot.com/api/v1/screenshot" \
-H "X-Access-Key: $CURLSHOT_API_KEY" \
--data-urlencode "url=https://example.com" \
-d format=png -d full_page=true -d block_cookie_banners=true \
-o shot.png -w '%{http_code}\n'
Add options as extra -d name=value pairs: viewport_device=<preset> (list: https://curlshot.com/docs/devices.md), viewport_width/viewport_height, dark_mode=true, selector=<css>, format=jpeg|webp|pdf|mp4|webm|gif, block_ads=true, wait_until=networkidle, delay=<seconds>, cache=true. Every option: https://curlshot.com/docs/options.md
Render raw HTML or Markdown with a POST:
curl -sS -X POST "https://curlshot.com/api/v1/screenshot" \
-H "X-Access-Key: $CURLSHOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Hello</h1>", "format": "png", "viewport_width": 1200, "viewport_height": 630}' \
-o card.png
Use "markdown": "..." instead of html for Markdown, and "format": "pdf" for a PDF.
Check the result. HTTP 200 with an image/*, video/* or application/pdf content type means success. Any status of 400 or above returns a JSON error body. Branch on its error_code:
400/413/422 (invalid_options, invalid_url, selector_not_found, ...): do not retry. Fix the request using the errors field.401: the key is missing or invalid. 402 quota_exceeded: tell the user and show upgrade_url. 403 host_not_allowed: send HTML instead of a private URL.429: wait Retry-After seconds, then retry once. 5xx: retry once. For timeout, drop wait_until=networkidle or lower delay.
Every code: https://curlshot.com/docs/errors.md| Rationalization | Reality |
|---|---|
| "curl exited 0, so the file is an image." | A failed render writes a JSON error into the output file. Check the HTTP status and content type first. |
| "Putting the key in the URL is simpler." | Links get logged and shared. Use the X-Access-Key header. |
| "Retrying will fix a 400." | 4xx errors are deterministic. Read errors and fix the request. |
"localhost will work if I try again." | Private addresses are always refused. POST the HTML instead. |
| "A misspelled option will just be ignored." | Unknown options are rejected with invalid_options and a hint. Use the suggested name. |
.png or .pdf is a few hundred bytes of JSON.4xx errors or ignores Retry-After.CURLSHOT_API_KEY was checked without printing its value.200 and the content type matched the requested format.error_code, with at most one retry for 429 or 5xx.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
screenshot, pdf-generation, html-rendering, markdown-rendering, curlshot
34 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./ax-extract-workflowReconstructs the workflow behind a shipped artifact from ax session evidence, commits, and PR context. Use when asking what made a feature, fix, demo, or PR work, or when turning a past success into a repeatable recipe./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.Generated from the plugin's indexed repository (ishandutta2007/awesome-agent-skills) — no native marketplace selected
npx claudepluginhub p/ishandutta2007-agent-skillsOther plugins' skills for the same job