upload-screenshot

upload-screenshot is a skill for Claude Code from openshift-eng/ai-helpers. It costs 56 tokens per session (1,308 once invoked), scanned A, original, Apache-2.0.

A workflow for uploading screenshots or other images to GitHub and receiving URLs that can be embedded in pull-request comments and issues.

In plain words
What is it for?
Use it after capturing a screen or visual result when you need to share that image in a GitHub pull request or issue.
Why use it?
It gives reviewers stable visual evidence for interface changes, comparisons, or reported problems.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the github plugin — 3 skills shipped together

Good fit Use it after capturing a screen or visual result when you need to share that image in a GitHub pull request or issue.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openshift-eng/ai-helpers
Claude Code
/plugin install github

Made for: Claude Code.

Or install github, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upload-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/upload-screenshot/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/upload-screenshot)
Your own site
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/upload-screenshot"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/upload-screenshot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for upload-screenshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/upload-screenshot"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/upload-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01308
Opus 5.5 $0.00022 $0.00523
Sonnet 5.5 $0.00011 $0.00262
Haiku 4.5 $0.00006 $0.00131

Measured 1mo ago against content hash 83c3dd9e4459, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upload-screenshot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (upload_screenshot.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/github/skills/upload-screenshot/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Upload Screenshot

Upload images to GitHub via release assets and get back stable, embeddable URLs. This is the recommended way to share screenshots of frontend changes, UI diffs, or any visual artifacts in PR comments and issue descriptions.

Important: Always upload to the fork repo, not upstream, to avoid polluting upstream releases.

When to Use This Skill

Use this skill when you:

  • Have taken a screenshot of a frontend/UI change and need to show it in a PR
  • Need to attach visual evidence (error screenshots, UI comparisons) to a GitHub issue or PR comment
  • Want to embed an image in any GitHub markdown context (PR description, comment, issue)
  • Are working in an agentic workflow and need to share visual output

Prerequisites

  1. gh CLI: Authenticated with gh auth login
  2. Repository write access: The gh token must have permission to create releases on the target repo

Implementation

Upload a screenshot

bash "${CLAUDE_PLUGIN_ROOT}/skills/upload-screenshot/upload_screenshot.sh" \
  --file /path/to/screenshot.png \
  --repo owner/fork-repo

Upload with a custom title

bash "${CLAUDE_PLUGIN_ROOT}/skills/upload-screenshot/upload_screenshot.sh" \
  --file /path/to/screenshot.png \
  --repo owner/fork-repo \
  --title "Login page after dark mode changes"

Parameters

Parameter Required Description
--file Yes Path to the image file (png, jpg, gif, svg, webp)
--repo No Target GitHub repository in owner/repo format (defaults to $FORK_REPO env var)
--title No Alt text for the image (defaults to filename)
--token-file No Path to a file containing a GitHub token to use for auth

When --token-file is provided, the token is loaded into GITHUB_TOKEN for the duration of the script. This is useful in CI where the default GITHUB_TOKEN may not have write access to the target repo.

Read the full file on GitHub · 130 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 130 lines · 56 tokens per session scan A 83c3dd9e4459

Subscribe to this mod's changes

upload-screenshot is a skill published in the GitHub repository openshift-eng/ai-helpers (121 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 1,308 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.