/github:attachfrom github
Uploads local images and videos to GitHub's user-attachments store for inline rendering in issues, PRs, comments, and reviews. Supports both the gh --attach flag and the underlying API endpoint.
Ships in github. 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.
None: SKILL.md is the whole skill.
Images and video in issues and pull requests are served from a user-attachments store. gh 2.99.0 added a repeatable --attach flag that uploads to it from gh issue create, gh issue edit, gh issue comment, gh pr create, gh pr edit, and gh pr comment. Everything else uploads through the endpoint the flag wraps: review comments and pending reviews, discussions, releases, gists, and any gh older than 2.99.0. Content on a repository the token can't write to also takes the endpoint, the usual case being a pull request from a fork (--repo upstream/repo --head you:branch). Both paths exist on GitHub.com and Enterprise Cloud only. Enterprise Server has no attachment store.
--attach on this build: !gh issue comment --help 2>/dev/null | grep -q -- '--attach' && echo present || echo absent
Absent means this gh predates 2.99.0. Upgrade it or use the endpoint.
Write the body with the local path in the markdown, then name each file on the command. gh uploads it and rewrites the reference in place. The image lands where the prose put it. The alt text written in the body wins.
gh pr create --title "..." --body-file tmp/pr-body.md --attach ./picker.png --attach ./walkthrough.mp4
gh runs in.#: --attach './picker.png#The wide layout'.gh pr edit and gh issue edit without a body flag keep the existing body and append.POST https://uploads.github.com/user-attachments/assets has no REST route and no documentation. gh api reaches it by full URL instead. A data-residency Enterprise Cloud tenant has its own upload host in place of uploads.github.com. repository_id takes the numeric REST id. gh repo view --json id returns the GraphQL node id, which fails here.
repo_id=$(gh api repos/{owner}/{repo} --jq .id)
gh api --method POST \
"https://uploads.github.com/user-attachments/assets?repository_id=$repo_id&name=picker.png&content_type=image/png" \
--input ./picker.png --jq .url
The response is {"url": "https://github.com/user-attachments/assets/<uuid>"}. The token needs write access to that repository. Read-only access also answers 404. That makes a permission problem look like a missing repository. For a pull request from a fork, upload against the fork. The asset renders in the upstream pull request.
An image is ordinary markdown, with \, [, and ] escaped in the alt text.

Video has no markdown syntax and no alt text. GitHub renders a player when a bare asset URL is the whole of a paragraph.
Both paths accept the same list, and nothing outside it uploads. Logs, archives, and PDFs are not supported. On the endpoint, the extension in name must agree with content_type.
| Extension | content_type |
|---|---|
.png | image/png |
.jpg, .jpeg | image/jpeg |
.gif | image/gif |
.webp | image/webp |
.svg | image/svg+xml |
.mp4 | video/mp4 |
.mov | video/quicktime |
.webm | video/webm |
Images cap at 10 MB. Video caps at 100 MB on a paid plan and 10 MB on a free one.
An upload cannot be undone and an asset cannot be deleted. Upload only after the body is final. An unreferenced asset stays stranded permanently. It answers 404 until something references it, unlike the write-access 404 on upload above. A 404 right after uploading does not mean the upload failed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bendrucker/claude --plugin github5 skills in this plugin
/actions-monitorgithub:actions-monitorMonitor GitHub Actions runs and extract failure diagnostics. Use when watching PR CI, branch builds, or specific workflow runs./copilotgithub:copilotGet a cross-model second opinion on a code change from GPT via the Copilot CLI, then triage what it finds. Use when the ask names GPT, Copilot, a second model, or a cross-model check, and as the cross-model pass on a change that clears the review gate./pr-commentsgithub:pr-commentsFetch, reply to, and resolve review threads on a GitHub pull request. Use when checking what review feedback needs addressing, whether threads are resolved, replying to review comments, or clearing AI-reviewer threads after acting on them./stackgithub:stackPublish and merge GitHub native stacked pull requests with the `gh stack` extension. Use when a branch is stacked on another branch rather than the default branch, when linking a chain of branches into a stack on GitHub, or when merging a PR that belongs to a stack. Load before running any `gh stack` command.Other plugins' skills for the same job