github-screenshots
Installation
SKILL.md
Screenshots and recordings in GitHub PRs and issues
Why this exists
GitHub's native image hosting (github.com/user-attachments/…) is reachable
from a browser and, since GitHub CLI 2.99 (September 2026), from
gh issue|pr create|edit|comment --attach <file>. There is still no public REST
endpoint (the CLI uses an undocumented upload host), the upload needs push access, and the hosted file is private to
GitHub. Any other image URL in a PR/issue body written with gh … --body-file
must already point at something publicly hosted. The uploads CLI and the
hosted MCP at https://agents.uploads.sh/mcp both host the file on uploads.sh
and return a stable public URL plus ready-to-paste markdown.
When gh --attach is enough
Use plain gh pr comment --attach ./shot.png (or create/edit) when ALL
of these hold: