github-screenshots

Installation
SKILL.md

Capturing screenshots and embedding them in GitHub

Why this skill exists

GitHub's native image hosting (github.com/user-attachments/…) only works from an authenticated browser session. There is no gh CLI or REST API for it. Any image URL in a PR/issue body written with gh … --body-file must already point at something publicly hosted.

This skill covers two steps agents need:

  1. Capture a reliable PNG of a live page (Playwright), with a known local path.
  2. Host that file (or any local image) and get a public URL + markdown snippet.

Hosting prefers the uploads CLI when it is installed and a token is configured (stable PR keys, image optimize, managed attachment comments). If not, it falls back to a Cloudflare R2 bucket you configure (S3-compatible API or wrangler).

One-time setup

Installs
6
GitHub Stars
1
First Seen
Jun 22, 2026
github-screenshots — buildinternet/skills