Screenshots

Capture browser-rendered pages or DOM elements as PNG images.

1.4k|316|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/agent0ai/space-agent --skill screenshots-agent0ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Screenshots
Source: https://github.com/agent0ai/space-agent/tree/main/app/L0/_all/mod/_core/skillset/ext/skills/screenshots
Command: npx skills add https://github.com/agent0ai/space-agent --skill screenshots-agent0ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of taking screenshots to document what you see on a web page, especially when you need a specific element rather than the whole screen.

Core Features & Use Cases

  • Full-page or element screenshots: Capture document.body by default or target a specific DOM element via a selector.
  • Multiple output formats: Download a PNG (or chosen image type) or return base64 for inline use in other UI/requests.
  • Configurable capture behavior: Customize html2canvas options for background, CORS, and rendering details.

Use case: When you’re debugging a UI, take a screenshot of the exact panel that’s misaligned, download it as panel.png, and share it with teammates.

Quick Start

Use this Skill to take a full-page screenshot by asking it to download page-content.png from the current workspace.

Frequently Asked Questions about Screenshots

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a specific DOM element as a PNG screenshot?

To capture a specific DOM element as a PNG, you target the element using a CSS selector and render it via html2canvas. This isolates exact UI components for documentation rather than capturing the entire page.

Can I get a base64 image string instead of downloading a file?

Yes, you can return a base64 image string instead of downloading a file. This enables inline use of the captured DOM screenshot in other UI components or HTTP requests without saving a physical PNG asset.

Do I need a browser environment to capture page screenshots with html2canvas?

Yes, you need a running browser environment to capture page screenshots with html2canvas. The Skill resolves DOM targets and generates visual evidence of the UI state by relying on active browser rendering.

What is the best way to document UI bugs using screenshots?

The best way to document UI bugs using screenshots is capturing the exact misaligned panel as a PNG file. This provides visual evidence of the element-level UI state for bug reports shared with teammates.

How do I configure html2canvas options for background and CORS issues?

You can configure html2canvas options for background and CORS issues by passing custom settings during capture. This resolves rendering details and cross-origin image problems when generating DOM screenshots.