uploads: Instructions file for Codex

AGENTS.md

uploads AGENTS.md is an instructions file for Codex, OpenCode from buildinternet/uploads. It costs 4,818 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for uploads.sh, a public file-hosting service running on Cloudflare Workers with a command-line tool and storage providers.

In plain words
What is it for?
Use them when changing the uploads backend, command-line tool, screenshot workflows, or release files and when validating or publishing changes.
Why use it?
They explain the repository layout, development commands, release process, and related skills so changes stay consistent across the service and tools.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions subagents.

This is buildinternet/uploads's own configuration. It tells Codex and OpenCode how to work on uploads itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything uploads configures →

Reuse

Borrowing it

Nothing to install: this file belongs to buildinternet/uploads. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/buildinternet/uploads/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/buildinternet/uploads

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/buildinternet/uploads/agents-md"><img src="https://agentmods.dev/badge/instructions/buildinternet/uploads/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,818 This file is loaded in full into every session.
When invoked 4,818 The same file — it is already loaded in full.
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.04818 $0.04818
Opus 5.5 $0.01927 $0.01927
Sonnet 5.5 $0.00964 $0.00964
Haiku 4.5 $0.00482 $0.00482

Measured 6d ago against content hash 59435374b194, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uploads AGENTS.md 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 6d 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.

AGENTS.md · 334 lines

How it starts

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

uploads

File-hosting backend for uploads.sh. Provider-agnostic storage via files-sdk, deployed to Cloudflare Workers with Wrangler. The service is public: anyone can sign up, create a workspace, and use the CLI, and paid plans are live.

Layout

The path-by-path inventory lives in the README's What's in this repo table — one copy, so it can't drift. packages/uploads also ships uploads mcp, a stdio MCP server mirroring the CLI commands.

Three agent skills are checked in at the repo root so they're installable via the npx skills add convention (and by uploads install): skills/github-screenshots is the thin workflow skill (when a screenshot or recording should go into a PR/issue or be shared as a link — the in-repo successor to the external github-screenshots skill's bundled R2 scripts), skills/annotate-screenshots covers callouts and redaction (uploads annotate / screenshot --annotate), and skills/uploads-cli is the full CLI reference the others defer to. Keep all three in sync when the CLI's commands or flags change.

The agent plugin in plugins/claude/uploads/ uses the common plugin layout (listed in the Claude Code marketplace; submitted to the xAI plugin marketplace as uploads, pending review). It is self-contained so the Claude plugin directory validates only that folder, not the whole monorepo. .claude-plugin/marketplace.json points source at it. .mcp.json wraps the hosted server in mcpServers (Claude Code also loads the flat form; xAI's catalog scanner reads mcpServers). Its skills/ is a generated copy of the root skills/, because a plugin can't reference files outside its folder and the directory rejects symlinks. Edit the root skills/, then run pnpm plugin-skills:sync; CI runs pnpm plugin-skills:check. The root skills/ stays canonical because the Agent Plugins spec, Codex, npx skills add, and the web worker read it there. Don't move .claude-plugin/plugin.json back to the repo root: that makes the whole repo the plugin again.

Read the full file on GitHub · 334 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. 6d ago Changed · +4 lines · +87 tokens per session 59435374b194
  2. 19d ago Changed · +4 lines · +68 tokens per session 959672f6a57b
  3. 1mo ago Changed · +11 lines · +172 tokens per session c4b6e6b46331
  4. 1mo ago Changed · +9 lines · +117 tokens per session 1175f4d421c6
  5. 1mo ago Changed · +10 tokens per session 36282ef44714
  6. 1mo ago Changed · +1 lines · +15 tokens per session 8c0dfec5859c
  7. 1mo ago Changed · +11 lines · +182 tokens per session bf30da874cbc
  8. 1mo ago First seen · 294 lines · 4,167 tokens per session scan A c958f4554b72

Subscribe to this mod's changes

uploads AGENTS.md is an instructions file published in the GitHub repository buildinternet/uploads (19 stars, last pushed today), licensed Apache-2.0. It adds 4,818 tokens to every session, about $0.0193 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.

Related

Other instructions, from other repositories