Screenshots

From agent0ai/space-agent · View interactive version

Screenshots is an AI agent skill from the GitHub repository agent0ai/space-agent. Capture the current page or a DOM target as a PNG

How to use this skill

Skill file

Use this skill when the user wants a browser screenshot.

load helper

helpers

target

guidance

examples

Taking a low-level screenshot result

_javascript

const screenshots = await import("/mod/_core/skillset/ext/skills/screenshots/screenshots.js")

return await screenshots.takeScreenshot()

Downloading a full-page screenshot

_javascript

const screenshots = await import("/mod/_core/skillset/ext/skills/screenshots/screenshots.js")

return await screenshots.screenshotDownload("page-content.png")

Capturing a specific panel

_javascript

const screenshots = await import("/mod/_core/skillset/ext/skills/screenshots/screenshots.js")

return await screenshots.screenshotDownload("panel.png", {

target: "[data-panel]"

})

Getting base64 image data

_javascript

const screenshots = await import("/mod/_core/skillset/ext/skills/screenshots/screenshots.js")

return await screenshots.screenshotBase64()

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.