upload-photo

Installation
SKILL.md

Upload Photo

Use GitHub CLI 2.99 or newer. Check and upgrade it if needed:

gh --version
brew upgrade gh

Attach a file to a new comment, putting alt text after #:

gh pr comment <n> --attach './shot.png#Alt text'
gh issue comment <n> --attach './shot.png#Alt text'

gh pr create, gh pr edit, gh issue create, and gh issue edit also accept repeatable --attach flags, with at most 50 files.

To place an image in the body, reference the same path:

Installs
13
GitHub Stars
24.0K
First Seen
Jul 12, 2026