edmundmiller/dotfiles/github-cli-media

Claude Code and agent skill by edmundmiller/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Attach local images or videos to GitHub issues, pull requests, and comments with GitHub CLI's repeatable --attach flag. Use when publishing screenshots, recordings, diagrams, or rendered results from local files to GitHub.

Install

npx vskill@latest install edmundmiller/dotfiles/github-cli-media

SKILL.md

GitHub CLI Media

Use --attach on supported gh issue and gh pr commands for authorized GitHub media uploads instead of committing the file or hosting it elsewhere.

Pair it with agent-browser when visual browser evidence helps: capture local before-and-after screenshots or a recording, then attach them in the same issue, pull request, or comment write.

Guardrails

  • Require gh v2.99.0 or newer and confirm the target command's help lists

--attach. Otherwise, report the required managed upgrade instead of attempting an undocumented upload flow.

  • Treat the upload as an external write. Drafting an issue, pull request, or

comment does not authorize uploading its attachments.

  • Confirm the account, repository, target item, and file contents immediately

before the command. Uploads require WRITE, MAINTAIN, or ADMIN access.

  • Use only on GitHub.com or GitHub Enterprise Cloud. GitHub Enterprise Server

and GitHub App tokens are not supported.

Attach

--attach <path> works on gh issue create, gh issue edit, gh issue comment, gh pr create, gh pr edit, and gh pr comment. Repeat the flag for multiple files:

bash
gh issue comment 12 --repo OWNER/REPO --body 'Reproduction:' \
--attach '/tmp/agent-browser-before.png#Before the change' \
--attach '/tmp/agent-browser-after.png#After the change'
  • A matching local path in the Markdown body is rewritten to the uploaded URL

in place and keeps its existing alt text. Otherwise, attachments are appended in flag order.

  • For an image, quote <path>#<alt text> so the shell does not treat # as a

comment. The filename is the fallback alt text. Videos do not accept alt text.

  • Supported extensions are PNG, JPG/JPEG, GIF, WebP, SVG, MP4, MOV, and WebM.

One invocation accepts at most 50 attachments.

  • Images and GIFs are limited to 10 MB. Video is limited to 10 MB on Free plans

and 100 MB on paid plans.

Uploads stop at the first failure. Earlier files may still be attached while the command exits nonzero, so re-read the user-visible body or comment before retrying. After success, verify that referenced local paths were replaced or unreferenced media was appended, and that it renders in the intended position.

Sources: GitHub announcement, GitHub CLI docs, and the official `gh` skill.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/edmundmiller/dotfiles/github-cli-media/badge)](https://verified-skill.com/skills/edmundmiller/dotfiles/github-cli-media)

Something wrong with this skill or its page? Tell us.