smithery/dwmkerr

GitHub Attach Images

Attach images to GitHub PRs and issues via a scratch repo

Installation

$ npx skills add smithery/dwmkerr --skill github-attach-images

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/dwmkerr · top by installs.

npx skills add smithery/dwmkerr

Browse all from smithery/dwmkerr

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,807 B
  • docs SUMMARY.md 85 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

GitHub Attach Images

Attach images to GitHub PRs or issues by hosting them in a scratch repo.

When to use

  • Adding screenshots to PR comments
  • Attaching images to issue comments
  • Any GitHub comment needing embedded images

Setup scratch repo

  1. Clone or create scratch repo

``bash git clone [email protected]:<USERNAME>/scratch.git /tmp/scratch ` If it doesn't exist, create a public repo called scratch` first.

  1. Folder structure

`` scratch/ └── github-attachments/ └── <org><repo><pr-or-issue>/ ├── 01-screenshot.png └── 02-screenshot.png ``

Add images

  1. Copy images to scratch repo

``bash mkdir -p /tmp/scratch/github-attachments/<org><repo><number> cp /path/to/screenshots/*.png /tmp/scratch/github-attachments/<org><repo><number>/ ``

  1. Push to GitHub

``bash cd /tmp/scratch git add . git commit -m "chore: images for <org>/<repo>#<number>" git push ``

Attach to PR or issue

Comment on PR:

gh pr comment <NUMBER> --repo <org>/<repo> --body "$(cat <<'EOF'
## Screenshots

![Description of screenshot](https://raw.githubusercontent.com/<USERNAME>/scratch/main/github-attachments/<org>_<repo>_<number>/01-screenshot.png)

This shows...
EOF
)"

Comment on issue:

gh issue comment <NUMBER> --repo <org>/<repo> --body "$(cat <<'EOF'
![Description](https://raw.githubusercontent.com/<USERNAME>/scratch/main/github-attachments/<org>_<repo>_<number>/image.png)
EOF
)"

Image URL format

https://raw.githubusercontent.com/<USERNAME>/scratch/main/github-attachments/<org>_<repo>_<number>/<filename>