capture-cli

Capture screenshots, generate PDFs, and extract content from any URL using the Capture CLI. Use when the user wants to screenshot a website, create a PDF of a page, extract text content, get metadata from a URL, or record an animated GIF.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "capture-cli" with this command: npx skills add techulus/capture-skills/techulus-capture-skills-capture-cli

Capture CLI

Capture screenshots, generate PDFs, extract content, and fetch metadata from any URL using the Capture CLI.

Prerequisites

The Capture CLI must be installed and configured with environment variables:

  • CAPTURE_KEY - Your Capture API key
  • CAPTURE_SECRET - Your Capture API secret

Install via Homebrew:

brew tap techulus/tap && brew install capture

Or via Go:

go install github.com/techulus/capture-go/cmd/capture@latest

Screenshot

capture screenshot <url> -o <file.png>

Options (pass with -X key=value):

OptionDefaultDescription
vw1440Viewport width
vh900Viewport height
scaleFactor1Screen scale factor (dpr)
fullfalseCapture full page
darkModefalseDark mode screenshot
delay0Delay in seconds before capturing
waitFor-Wait for CSS selector to appear
waitForId-Wait for element ID to appear
selector-Screenshot element matching this selector
selectorId-Screenshot element matching this ID
top0Top offset for clipping
left0Left offset for clipping
widthviewportClipping width
heightviewportClipping height
blockCookieBannersfalseDismiss cookie consent banners
blockAdsfalseBlock ads
bypassBotDetectionfalseBypass bot detection / solve captchas
transparentfalseTransparent background
emulateDevice-Emulate device (iphone_14, iphone_15_pro, ipad, pixel_8, etc.)
typepngImage type: png, jpeg, or webp
resizeWidth-Resize image width
resizeHeight-Resize image height
userAgent-Custom user agent (base64url encoded)
httpAuth-HTTP Basic Auth (base64url of username:password)
freshfalseTake fresh screenshot instead of cached

Example:

capture screenshot https://example.com -X vw=1920 -X vh=1080 -X full=true -X darkMode=true -o screenshot.png

PDF

capture pdf <url> -o <file.pdf>

Options (pass with -X key=value):

OptionDefaultDescription
formatA4Paper format: Letter, Legal, Tabloid, Ledger, A0-A6
width-Custom paper width (with units, e.g., 8.5in)
height-Custom paper height (with units)
landscapefalseLandscape orientation
scale1Scale of webpage rendering
printBackgroundfalsePrint background graphics
marginTop-Top margin (with units)
marginRight-Right margin (with units)
marginBottom-Bottom margin (with units)
marginLeft-Left margin (with units)
delay0Delay in seconds before capturing
userAgent-Custom user agent (base64url encoded)
httpAuth-HTTP Basic Auth (base64url of username:password)

Example:

capture pdf https://example.com -X format=A4 -X landscape=true -X printBackground=true -o document.pdf

Content

capture content <url> --format <markdown|html>

Options (pass with -X key=value):

OptionDefaultDescription
delay0Delay in seconds before capturing
waitFor-Wait for CSS selector to appear
waitForId-Wait for element ID to appear
userAgent-Custom user agent (base64url encoded)
httpAuth-HTTP Basic Auth (base64url of username:password)

CLI options:

  • --format markdown - Output as markdown (preferred for readability)
  • --format html - Output as HTML
  • -o <file> - Save to file

Example:

capture content https://example.com --format markdown

Metadata

capture metadata <url> --pretty

CLI options:

  • --pretty - Pretty-print JSON output
  • -o <file> - Save to file

Returns JSON with: title, description, author, logo, language, image, publisher, url, and Open Graph data.

Example:

capture metadata https://example.com --pretty

Animated

capture animated <url> -o <file.gif>

Options (pass with -X key=value):

OptionDefaultDescription
duration5Recording duration in seconds (1-30)
vw1440Viewport width
vh900Viewport height
scaleFactor1Device scale factor
delay0Seconds to wait before starting (0-25)
waitFor-Wait for CSS selector to appear
waitForId-Wait for element ID to appear
darkModefalseEnable dark mode
hideScrollbarstrueHide scrollbars
blockCookieBannersfalseDismiss cookie consent banners
blockAdsfalseBlock ads
emulateDevice-Emulate device (iphone_15_pro, ipad, pixel_8, etc.)
userAgent-Custom user agent (base64url encoded)
httpAuth-HTTP Basic Auth (base64url of username:password)

Example:

capture animated https://example.com -X duration=10 -X darkMode=true -o recording.gif

Global CLI Options

OptionDescription
-oOutput file path (required for screenshot, pdf, animated)
-XPass API options (e.g., -X vw=1920)
--edgeUse edge mode for faster response
--dry-runPreview the API URL without executing

Tips

  • Use --edge for faster responses when latency matters
  • Use --dry-run to preview the API URL without executing
  • Prefer --format markdown for content extraction (more readable)
  • Always specify output file with -o for screenshot, pdf, and animated commands
  • Common devices for emulation: iphone_14, iphone_15_pro, ipad, pixel_8
  • For full-page screenshots, use -X full=true
  • For dark mode, use -X darkMode=true

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated
Coding

clawhub-rate-limited-publisher

Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.

Archived SourceRecently Updated