uploads-cli

uploads-cli is a skill for Claude Code from buildinternet/uploads. It costs 226 tokens per session (19,448 once invoked), scanned A, original, Apache-2.0.

A reference for the uploads CLI and its hosted MCP tools, which put files on uploads.sh and provide public links for them. It also documents attaching those files to GitHub pull requests and issues.

In plain words
What is it for?
Use it to upload files, capture screenshots, create stable pull-request or issue attachment keys, search metadata, and produce ready-to-paste GitHub Markdown.
Why use it?
It solves the problem of sharing local or generated files when GitHub’s built-in image links require an authenticated browser session.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the uploads plugin — 3 skills shipped together

Good fit Use it to upload files, capture screenshots, create stable pull-request or issue attachment keys, search metadata, and produce ready-to-paste GitHub Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildinternet/uploads/uploads-cli
Install

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.

Any agent
npx skills add buildinternet/uploads --skill uploads-cli
Clone the repo
git clone --depth 1 https://github.com/buildinternet/uploads

Made for: Claude Code.

Or install uploads, 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 uploads-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildinternet/uploads/uploads-cli/github.svg)](https://agentmods.dev/skills/buildinternet/uploads/uploads-cli)
Your own site
<a href="https://agentmods.dev/skills/buildinternet/uploads/uploads-cli"><img src="https://agentmods.dev/badge/skills/buildinternet/uploads/uploads-cli/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 uploads-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildinternet/uploads/uploads-cli"><img src="https://agentmods.dev/badge/skills/buildinternet/uploads/uploads-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 64 findings, up to medium

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 →

  • medium Memory Poisoning · line 42
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 48
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 49
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 318
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 472
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 474
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 475
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 476
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 477
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 478
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 479
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 482
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 486
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 487
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 490
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Prompt Injection · line 42
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 44
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 334
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 46
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 47
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00226 $0.19448
Opus 5.5 $0.00090 $0.07779
Sonnet 5.5 $0.00045 $0.03890
Haiku 4.5 $0.00023 $0.01945

Measured today against content hash 4264164903fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uploads-cli scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| File on a sandbox disk, shell but no CLI | Hosted MCP `sign_upload_url` | Returns one URL + `curl -T` line per file (15 min, up to the plan's upload limit). The PUT response is `put`'s JSON. With `pr`/`issue`, call `co
plugins/claude/uploads/skills/uploads-cli/SKILL.md · 1,269 lines

How it starts

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

Uploading files to uploads.sh and embedding in GitHub

What this does and why

GitHub's native image hosting (github.com/user-attachments/…) is reachable from a browser session and, since GitHub CLI 2.99 (September 2026), from gh … --attach on an existing PR or issue with push access. There is still no public REST endpoint, and the hosted file is private to GitHub. Any other image URL you put in a PR/issue body written with gh … --body-file must already point at something publicly hosted. The github-screenshots skill says when gh --attach alone is enough.

This skill covers both transports: the uploads CLI (local files, git, localhost) and the hosted MCP at https://agents.uploads.sh/mcp (bytes you already have, or a public HTTPS URL to fetch, no checkout). Both PUT to the uploads.sh API and return a stable public URL plus ready-to-paste markdown. For PRs and issues the managed attachments comment is available on both. The CLI can fall back to local gh. Hosted MCP is bot-only.

MCP vs CLI

Same product, two transports. Skills do not install a binary.

Need Use Why
Bytes already in context (ChatGPT attachment, base64) Hosted MCP put files: [{ filename, contentBase64 }]. Pass repo + (pr | branch). No git inference.
File on a sandbox disk, shell but no CLI Hosted MCP sign_upload_url Returns one URL + curl -T line per file (15 min, up to the plan's upload limit). The PUT response is put's JSON. With pr/issue, call comment once after. Sandbox must allow agents.uploads.sh.
File already at a public HTTPS URL CLI put --url or hosted MCP put CLI: uploads put --url https://… --pr 123. Hosted: { contentUrl } (filename optional when the URL path has a leaf). Worker/CLI fetches; no auth headers. Hosted rejects private/internal hosts. CLI (and stdio MCP) also fetch http://localhost / 127.0.0.1 / *.localhost. LAN and link-local stay rejected.
List, find, metadata, comment, promote Either Hosted: list, find_files, get_metadata / set_metadata, comment, promote. CLI: uploads list / find / meta / comment / attach --promote.
Recent tagged files, by pull request or by repo Hosted MCP list_activity / list_repo_files Hosted only. list_activity groups by pull (default) or repo. list_repo_files needs repo. Times are tag metadata, not upload time. Does not publish a feed.
Live page of this PR's (or repo's) screenshots Either CLI uploads feed create or MCP feed_create. Repo-wide: repo only. One PR: repo + pr, or github (owner/repo#123 / a GitHub URL). Same product — not a curated gallery. feed_get / uploads feed show opens an existing feed.
Local path or current-branch attach CLI Hosted server has no filesystem and no attach tool. Use put instead.
localhost / private-network screenshot CLI uploads screenshot --via local Remote render cannot reach your machine.
Selector annotate on a live page CLI uploads screenshot --annotate --via local Remote backend rejects selector-bearing specs.
Neither transport Stop Do not treat npm install -g as the ChatGPT path. OAuth on https://agents.uploads.sh/mcp is the published remote path.

Read the full file on GitHub · 1,269 lines

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. today Changed · +1 lines 4264164903fd
  2. yesterday Changed · +7 lines 9a402468336d
  3. 3d ago Changed · +38 lines d9d2c84f1fa2
  4. 4d ago Changed · +44 lines f383b5595972
  5. 10d ago Changed · +17 lines 84f8e9372903
  6. 19d ago Changed · +1 lines 29207882c32b
  7. 25d ago Changed 1afa41c49707
  8. 28d ago Changed · +1 lines 91236a230554
  9. 29d ago Changed · +2 lines 6882c5177de4
  10. 1mo ago First seen · 1,158 lines · 226 tokens per session scan A bde712ddf3e1

Subscribe to this mod's changes

uploads-cli is a skill published in the GitHub repository buildinternet/uploads (19 stars, last pushed today), licensed Apache-2.0. It adds 226 tokens to every session and 19,448 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.