
Github Images
- 43 installs
- 15 repo stars
- Updated August 1, 2026
- connorads/dotfiles
Downloads images from GitHub issues and PRs, including private repos, using authenticated signed URLs via the ghimg command or gh api.
About
Downloads image attachments from GitHub issues and pull requests, including private repos that require authentication via signed URLs. A developer uses it to grab screenshots from an issue or PR for viewing.
- Uses authenticated signed URLs to fetch images from private repos
- Falls back to gh api with application/vnd.github.full+json to read body_html
Github Images by the numbers
- 43 all-time installs (skills.sh)
- Ranked #1,132 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/connorads/dotfiles --skill github-imagesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 43 |
|---|---|
| repo stars | ★ 15 |
| Last updated | August 1, 2026 |
| Repository | connorads/dotfiles ↗ |
What it does
Downloads images from GitHub issues and PRs, including private repos, using authenticated signed URLs via the ghimg command or gh api.
Files
github-images
Download image attachments from GitHub issues and pull requests, including private repos that require authentication.
When to use
- User shares a GitHub issue/PR URL and you need to view screenshots or images from it
- You need to download image attachments from a private repo
- User asks to "grab the screenshots from that issue" or similar
Usage
# From a full GitHub URL
ghimg https://github.com/owner/repo/issues/39
# From a PR URL
ghimg https://github.com/owner/repo/pull/42
# Using owner/repo and number separately
ghimg owner/repo 39
# Custom output directory
ghimg owner/repo 39 -o ./screenshots
# Print signed URLs only (pipe-friendly)
ghimg owner/repo 39 --urls-onlyDefault output: /tmp/ghimg/<owner>/<repo>/<number>/
After downloading, use Read to view the images (Claude Code supports image files).
Manual fallback
If ghimg is unavailable, use gh api directly:
# Fetch body_html with signed image URLs (valid ~5 min)
gh api repos/owner/repo/issues/39 \
-H "Accept: application/vnd.github.full+json" \
--jq '.body_html'
# Fetch comment images too
gh api repos/owner/repo/issues/39/comments \
-H "Accept: application/vnd.github.full+json" \
--paginate --jq '.[].body_html'
# Download a signed URL
curl -sL -o image.png "https://private-user-images.githubusercontent.com/..."The key insight: application/vnd.github.full+json returns body_html containing JWT-signed URLs for private image attachments. These URLs expire after ~5 minutes.