Back to list
dwmkerr

github-attach-images

by dwmkerr

Run Claude Code as an isolated and containerized A2A agent - orchestrate multiple sessions with full visibility on Claude operations and messages. Configure marketplaces, plugins, MCP servers and more.

0🍴 1📅 Jan 23, 2026

SKILL.md


name: GitHub Attach Images description: Attach images to GitHub PRs and issues via a scratch repo

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

    git clone git@github.com:<USERNAME>/scratch.git /tmp/scratch
    

    If it doesn't exist, create a public repo called scratch first.

  2. Folder structure

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

Add images

  1. Copy images to scratch repo

    mkdir -p /tmp/scratch/github-attachments/<org>_<repo>_<number>
    cp /path/to/screenshots/*.png /tmp/scratch/github-attachments/<org>_<repo>_<number>/
    
  2. Push to GitHub

    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>

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon