Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add drogers0/gh-image --skill github-image-uploadgit clone --depth 1 https://github.com/drogers0/gh-imageWrote 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.
[](https://agentmods.dev/skills/drogers0/gh-image/github-image-upload)<a href="https://agentmods.dev/skills/drogers0/gh-image/github-image-upload"><img src="https://agentmods.dev/badge/skills/drogers0/gh-image/github-image-upload/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.
<a href="https://agentmods.dev/skills/drogers0/gh-image/github-image-upload"><img src="https://agentmods.dev/badge/skills/drogers0/gh-image/github-image-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk warn
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 51 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00135 | $0.02065 |
| Opus 5.5 | $0.00054 | $0.00826 |
| Sonnet 5.5 | $0.00027 | $0.00413 |
| Haiku 4.5 | $0.00014 | $0.00206 |
Grade A, and why
github-image-upload 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.
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.
How it starts
The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upload images and files to GitHub (gh-image)
gh-image (MIT, same author as this skill)
uploads files through the internal endpoint GitHub's web UI uses — there is no public
API — and prints a ready-to-paste reference: an  embed for images, a
bare URL for videos, a [name](url) link for anything else. This skill runs it and
embeds the result.
Follow these steps exactly unless they conflict with security policies you have been given; if they do, stop and present the conflict rather than resolving it yourself.
Prerequisites
Check these first. Report failures — do not install or authenticate for the user.
-
gh auth status— if it fails, tell the user to rungh auth login. -
gh extension list | grep 'drogers0/gh-image' && gh image --versionNeeds v1.4.0+, the release that added the
--form used below (--versionprintsgh-image 1.4.0; compare semantically, so1.10.0≥1.4.0). Missing → the user runsgh extension install drogers0/gh-image. Older → the user runsgh extension upgrade gh-image.dev→ a local build, warn and continue. Never run install or upgrade yourself. -
A session credential, needed for files other than images and video, and for repositories you cannot push to (everything else uploads with the
ghtoken, or goes throughgh --attachwhen you post with--). It is theuser_sessioncookie, fromGH_SESSION_TOKEN(CI / headless) or a logged-in browser (Chrome/Brave/Chromium/Edge/Firefox/Opera/Safari — the local default; macOS may prompt for Keychain access, click Always Allow).That cookie grants full account access — it is not scoped like a PAT, and GitHub offers nothing narrower for this endpoint. Never print, log, or store its value; prefer
GH_SESSION_TOKENover--token, which is visible inps aux.
Step 1 — Resolve the path
Absolute paths, quoted (spaces and Unicode are fine). Resolve globs first. Stop and ask if a glob matches nothing or more files than the user meant, or if the repo is neither inferable from the git remote nor named — an upload publishes the file and there is no undo.
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.
- 1mo ago Changed · +20 lines 75567b86e6f3
- 1mo ago First seen · 155 lines · 135 tokens per session scan A efe1cbe6ff0b
github-image-upload is a skill published in the GitHub repository drogers0/gh-image (277 stars, last pushed 1mo ago), licensed MIT. It adds 135 tokens to every session and 2,065 once invoked, about $0.0005 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-08-30.
Other skills, from other repositories
gh-pr-release
Operate GitHub pull requests and releases with gh CLI: create/draft PRs, publish confirmed reviews, merge safely, reply/resolve threads, apply selected feedback, fix PR checks, prepare release PRs with version bumps/changelogs, tag merged commits, publish GitHub Releases with verified assets, and diagnose release…
mk:ghpm
GitHub project management via the gh CLI — create and triage issues, manage GitHub Projects v2 boards (add items, update status fields), manage labels and milestones, and generate handoff-status summaries. Use when "create a GitHub issue", "add to project board", "update sprint status", "create label/milestone", or…
create-pr
Create GitHub pull requests with Conventional Commits-formatted titles and structured PR bodies. Use when creating PRs, submitting changes for review, or when the user says /pr or asks to create a pull request.
github-release-management
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.
github-multi-repo
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration.
github-pr-workflow
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.