SKILL

gh-image

Attach local images or videos to GitHub issues, pull requests, and comments using native gh --attach. Use for screenshot uploads, before/after evidence, gh image requests, or reusing user-attachments URLs in GitHub markdown. For finding macOS screenshots, use the screenshots skill first.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • gh-image
  • Verify support
  • Choose the destination
  • Place images in the body
  • Verify the result and recover
  • Troubleshooting

Use native --attach on gh pr and gh issue commands. GitHub CLI uploads the files and inserts their hosted references into the body. This skill keeps its name for existing callers; its workflow uses the built-in flags. --attach requires GitHub CLI 2.99.0 or newer. Check the target command's help for the flag; upgrade gh if it is absent. Uploads use normal gh authentication, including OAuth and personal access tokens. Browser cookies and the gh-image extension are unnecessary. The authenticated account needs write access to the target repository. GitHub.com and GitHub Enterprise Cloud support attachments; GitHub Enterprise Server does not. Inspect each image before uploading and keep only files that explain the change. For files in /screenshots/, use the screenshots skill to find candidates. Run inside the target repository, or pass --repo OWNER/REPO explicitly. | Destination | Command | |---|---| | New PR | gh pr create --title "Fix login error" --body-file /tmp/pr-body.md --attach ./login.png | | Existing PR body | gh pr edit 123 --attach './login.png#Login error state' | | PR comment | gh pr comment 123 --body "Verified login fix." --attach ./login.png | | New issue | gh issue cre

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
magnusrodseth/dotfiles
Source file
.claude/skills/gh-image/SKILL.md
Fixed revision
fffe161bc20f46cc955ddfe352b13ac028c404f9
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: magnusrodseth/dotfiles · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T18:01:30.532Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.