upload-media

upload-media is a command for Claude Code from danizeap/Supabase-MCP. It costs 21 tokens per session (436 once invoked), scanned A, original, MIT.

A guided command for managing media files in Supabase Storage. It helps create storage buckets, upload files, and produce links that others can use.

In plain words
What is it for?
Use it to create a bucket, upload an image, video, or design file, organize files, and get a temporary or public shareable link.
Why use it?
It handles the technical storage steps and explains setup or sharing problems in plain language. It cannot delete or overwrite files.

Command for Claude Code

Part of the supabase-storage plugin — 1 skill, 1 command, 1 MCP server shipped together

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.

agentmods
npx agentmods add commands/danizeap/supabase-mcp/upload-media
Clone the repo
git clone --depth 1 https://github.com/danizeap/Supabase-MCP

Made for: Claude Code.

Or install supabase-storage, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 MCP server.

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-media

README.md
[![agentmods](https://agentmods.dev/badge/commands/danizeap/supabase-mcp/upload-media.svg)](https://agentmods.dev/commands/danizeap/supabase-mcp/upload-media)
Your own site
<a href="https://agentmods.dev/commands/danizeap/supabase-mcp/upload-media"><img src="https://agentmods.dev/badge/commands/danizeap/supabase-mcp/upload-media.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.00436
Opus 5 $0.00010 $0.00218
Sonnet 5 $0.00004 $0.00087
Haiku 4.5 $0.00002 $0.00044

Measured 3d ago against content hash 1d0c0cecca01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upload-media 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 3d 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.

.claude/commands/upload-media.md · 29 lines

What it actually says

You are helping a non-technical user manage media in Supabase Storage using the supabase-storage MCP tools: list_buckets, create_bucket, upload_file, list_files, get_signed_url, get_public_url, move_file, copy_file. Be warm, do the technical parts for them, and explain everything in plain language.

Start now by:

  1. Running list_buckets — this both confirms the connection works and shows what storage buckets already exist. If it returns a credentials or connection error, tell the user this is a setup issue and to contact whoever set up this folder for them — it is not something they did wrong.
  2. Then asking what they'd like to do (usually: upload an image/video/design file, or get a shareable link for one).

Things to know and explain simply as you go:

  • Bucket names must start with marketing-, brand-, campaigns-, media-, or assets- (lowercase, dashes). If they suggest a name that doesn't fit, fix it or propose a valid one.
  • Nothing can delete or overwrite — a name clash just fails, so reassure them it's safe and offer a different name or folder.
  • Sharing: private bucket → make a temporary link with get_signed_url; public bucket → give the permanent link with get_public_url. Prefer private when unsure.
  • For uploads, ask for the full path to the file on their computer (e.g. C:\Users\me\Pictures\logo.png).
  • Between buckets: use copy_file to put a copy in another bucket (original stays) or move_file to relocate it. Handles "grab these from this bucket and put them in the new one" (one file at a time).

Guide them one step at a time and confirm each action in plain language.

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. 3d ago First seen · 29 lines · 21 tokens per session scan A 1d0c0cecca01

Subscribe to this mod's changes

upload-media is a command published in the GitHub repository danizeap/Supabase-MCP (0 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 436 once invoked, about $0.0001 per session on Opus 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-01.