ローカルの画像ファイル(スクリーンショット等)をGitHubにアップロードし、PR/Issue本文にMarkdownで埋め込める公開URLを取得するスキル。 使用タイミング: (1) この画像をPRに貼りたい (2) スクリーンショットをissueに追加したい (3) gh CLIでPR/Issue本文に画像を含めたい トリガーキーワード: 画像アップロード、スクショ貼って、PR本文に画像、gh upload image
Ships in gh-upload-image. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
gh auth token の認証情報を使い、GitHubの user-attachments アップロードAPI(Web UIのドラッグ&ドロップ添付と同じ内部API)に画像をPOSTして公開URLを取得する。取得したURLは  としてPR/Issue本文にそのまま埋め込める。
bash ${CLAUDE_PLUGIN_ROOT}/skills/gh-upload-image/scripts/upload.sh <owner/repo> <file-path> [name]
成功すると {"url":"https://github.com/user-attachments/assets/<uuid>"} が返る。この url をそのままMarkdown画像として本文に貼る。
uploads.github.com は多くのサンドボックス環境でネットワーク許可リストに含まれていないため、実行にはサンドボックス無効化が必要になることがある。TLS証明書検証エラーが出た場合もサンドボックス起因のことが多い。What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
No slash command · from gh-upload-image
npx claudepluginhub iemong/agent-skills --plugin gh-upload-image