# Browser Screenshot

> Capture a screenshot of a URL using a headless Chromium service (Browserless)

- **Type:** Skill
- **Install:** `agentstack add skill-mrtrenchtrucker-contak-browser-skills-browser-screenshot`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MrTrenchTrucker](https://agentstack.voostack.com/s/mrtrenchtrucker)
- **Installs:** 0
- **Category:** [Web & Browser](https://agentstack.voostack.com/c/web-and-browser)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MrTrenchTrucker](https://github.com/MrTrenchTrucker)
- **Source:** https://github.com/MrTrenchTrucker/contak-browser-skills/tree/main/skills/browser-screenshot

## Install

```sh
agentstack add skill-mrtrenchtrucker-contak-browser-skills-browser-screenshot
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Browser Screenshot

When invoked, capture a screenshot of the given URL via a Browserless Chromium service running locally or in your environment.

## Inputs
- `url` -- target page (required)
- `viewport` -- `{width, height}`, default `{1920, 1080}`
- `output_path` -- local file path for the resulting PNG, default `/tmp/screenshot.png`
- `full_page` -- boolean, default `false`

## Steps
1. POST to `http://:/screenshot` with the URL and viewport in the request body.
2. Save the returned PNG bytes to `output_path`.
3. Reference the saved path in your reply to the user.

## Output
- File path to the PNG screenshot.

## Example invocation
```bash
curl -s -X POST http://localhost:30001/screenshot \
  -H 'Content-Type: application/json' \
  -d '{
        "url": "https://example.com",
        "options": {"type": "png", "fullPage": false},
        "viewport": {"width": 1920, "height": 1080}
      }' \
  -o /tmp/screenshot.png
```

## Notes
- Browserless `/screenshot` endpoint requires no authentication by default.
- For the full setup guide (cross-host usage, troubleshooting, generating an SOP), see `sops/SOP_Headless_Browser_Screenshot.md`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MrTrenchTrucker](https://github.com/MrTrenchTrucker)
- **Source:** [MrTrenchTrucker/contak-browser-skills](https://github.com/MrTrenchTrucker/contak-browser-skills)
- **License:** MIT

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mrtrenchtrucker-contak-browser-skills-browser-screenshot
- Seller: https://agentstack.voostack.com/s/mrtrenchtrucker
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
