Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dapi/claude-code-marketplacenpx agentmods add skills/dapi/claude-code-marketplace/media-uploadWrote 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/dapi/claude-code-marketplace/media-upload)<a href="https://agentmods.dev/skills/dapi/claude-code-marketplace/media-upload"><img src="https://agentmods.dev/badge/skills/dapi/claude-code-marketplace/media-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/dapi/claude-code-marketplace/media-upload"><img src="https://agentmods.dev/badge/skills/dapi/claude-code-marketplace/media-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00385 | $0.06218 |
| Opus 5.5 | $0.00154 | $0.02487 |
| Sonnet 5.5 | $0.00077 | $0.01244 |
| Haiku 4.5 | $0.00038 | $0.00622 |
Grade B, and why
media-upload scanned grade B with 2 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 3mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 600 "$HISTORY_FILE" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
HTTP_CODE=$(curl -sI -o /dev/null -w "%{http_code}" "$public_url_full" 2>/dev/null || echo "000") How it starts
The opening of the file, as written. The whole thing — 706 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Media Upload Skill
Загрузка изображений и медиафайлов в S3-совместимое хранилище через mc (MinIO Client) с получением публичной ссылки.
⚠️ CRITICAL: Приоритет URL
ОБЯЗАТЕЛЬНО после загрузки файла:
-
Если в конфиге есть
public_urlиurl_modeНЕ равен"presigned":- СРАЗУ возвращай короткий CDN URL:
${public_url}/${remote_path} - НЕ генерируй presigned URL
- СРАЗУ возвращай короткий CDN URL:
-
Только если
url_mode: "presigned"илиpublic_urlотсутствует:- Генерируй presigned URL через
mc share download
- Генерируй presigned URL через
Пример правильного поведения:
Конфиг: { "public_url": "https://cdn.example.com", "url_mode": "public" }
Путь: 2026/02/03/screenshot.png
→ Возвращай: https://cdn.example.com/2026/02/03/screenshot.png
→ НЕ возвращай: https://s3...?X-Amz-Algorithm=...
Поддерживаемые форматы
| Тип | Расширения | MIME-type |
|---|---|---|
| Изображения | png, jpg, jpeg, gif, webp, svg | image/* |
| Документы | application/pdf | |
| Видео | mp4, webm (будущее) | video/* |
Приоритет определения источника файла
- Явный путь — пользователь указал
/path/to/file.pngв запросе - Playwright MCP — последний результат
browser_take_screenshotв текущей сессии - Glob паттерн — "загрузи все png из ./screenshots/"
- Спросить пользователя — если ничего не найдено
Интеграция с Playwright MCP
ВАЖНО: Этот скилл должен активироваться АВТОМАТИЧЕСКИ после создания скриншота через Playwright MCP.
Паттерны запросов пользователя
Когда пользователь просит:
- "открой сайт X и сделай скриншот"
- "сделай скриншот страницы Y"
- "take a screenshot of Z"
Алгоритм:
- Загрузить инструменты Playwright MCP через ToolSearch
- Открыть браузер и перейти на страницу (
browser_navigate) - Сделать скриншот (
browser_take_screenshot) - АВТОМАТИЧЕСКИ загрузить скриншот в S3 (этот скилл)
- Вернуть пользователю публичную ссылку
Формат ответа Playwright
Playwright MCP при вызове browser_take_screenshot возвращает:
Took the viewport screenshot and saved it as /tmp/page-2024-01-31-143052.png
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.
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.
- 3mo ago First seen · 706 lines · 385 tokens per session scan B 1e6dfd89cc31
media-upload is a skill published in the GitHub repository dapi/claude-code-marketplace (17 stars, last pushed 3mo ago), licensed MIT. It adds 385 tokens to every session and 6,218 once invoked, about $0.0015 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
media-upload compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-uploaddapi/claude-code-marketplace | Skill | 17 | 3mo ago | MIT | B | 385 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| cloud-operator-admin-setupgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 118 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 26k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 26k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | today | MIT | A | 78 | Claude Code |