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 agentmods add skills/dapi/claude-code-marketplace/media-uploadnpx skills add dapi/claude-code-marketplace --skill media-uploadgit clone --depth 1 https://github.com/dapi/claude-code-marketplaceWrote 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.svg" alt="Measured on agentmods" 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 | $0.00385 | $0.06218 |
| Opus 5 | $0.00192 | $0.03109 |
| Sonnet 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 4d 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.
- 4d 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 (16 stars, last pushed 3d ago), licensed MIT. It adds 385 tokens to every session and 6,218 once invoked, about $0.0019 per session on Opus 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.
Other skills, from other repositories
use-agent-browser-for-airi
Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…
opencli-sitemap-author
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
interactive-login
How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
web-browser
Automate and interact with web pages through Chrome or Chromium using the Chrome DevTools Protocol (CDP): navigate, click, fill forms, inspect content, take screenshots, and debug console or network activity. Use when an agent needs a real browser. Prefer headless Chrome unless visible browser interaction is required.
traceway-setup
Analyze and instrument repositories for Traceway observability. Use when the user wants to plan, add, migrate, or verify Traceway or OpenTelemetry monitoring for backend, browser, full-stack, mobile or iOS, or AI-agent software, including project topology and user-approved setup-plan creation. Backends use OTLP/HTTP…