managing-media

managing-media is a skill for Claude Code from ancoleman/ai-design-components. It costs 88 tokens per session (2,806 once invoked), scanned A, original, MIT.

A collection of implementation patterns for handling files and media in applications, including images, video, audio, and documents. It covers uploading, displaying, playing, and optimizing these files.

In plain words
What is it for?
Use it to build drag-and-drop or resumable uploads, image galleries, video and audio players, PDF viewers, cloud-storage integrations, and accessible media features such as captions and transcripts.
Why use it?
It helps solve common problems such as large uploads, slow media loading, missing accessibility information, and inconsistent playback or viewing controls.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/generate_video_metadata.py --duration 300.

Part of the ui-content-skills plugin — 2 skills shipped together

Good fit Use it to build drag-and-drop or resumable uploads, image galleries, video and audio players, PDF viewers, cloud-storage integrations, and accessible media features such as captions and transcripts.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components
agentmods
npx agentmods add skills/ancoleman/ai-design-components/managing-media

Made for: Claude Code.

Or install ui-content-skills, the plugin that ships this one along with the rest of its 2 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 managing-media

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-media/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/managing-media)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/managing-media"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-media/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 managing-media

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/managing-media"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,806 The whole file, excluding the scripts and references it only reads on demand.
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.00088 $0.02806
Opus 5 $0.00044 $0.01403
Sonnet 5 $0.00018 $0.00561
Haiku 4.5 $0.00009 $0.00281

Measured 9d ago against content hash 0ef6e58a4b4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

managing-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 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/generate_mock_images.py, scripts/optimize_images.py, scripts/validate_media_accessibility.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/managing-media/SKILL.md · 475 lines

How it starts

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

Managing Media & Files

Purpose

This skill provides systematic patterns for implementing media and file management components across all formats (images, videos, audio, documents). It covers upload workflows, display patterns, player controls, optimization strategies, and accessibility requirements to ensure performant, accessible, and user-friendly media experiences.

When to Use

Activate this skill when:

  • Implementing file upload (single, multiple, drag-and-drop)
  • Building image galleries, carousels, or lightboxes
  • Creating video or audio players
  • Displaying PDF or document viewers
  • Optimizing media for performance (responsive images, lazy loading)
  • Handling large file uploads (chunked, resumable)
  • Integrating cloud storage (S3, Cloudinary)
  • Implementing media accessibility (alt text, captions, transcripts)
  • Designing empty states for missing media

Quick Decision Framework

Select implementation based on media type and requirements:

Images                  → Gallery pattern + lazy loading + responsive srcset
Videos                  → Player with controls + captions + adaptive streaming
Audio                   → Player with waveform + playlist support
Documents (PDF)         → Viewer with navigation + search + download
File Upload (<10MB)     → Basic drag-drop with preview
File Upload (>10MB)     → Chunked upload with progress + resume
Multiple Files          → Queue management + parallel uploads

For detailed selection criteria, reference references/implementation-guide.md.

File Upload Patterns

Basic Upload (<10MB)

For small files with simple requirements:

  • Drag-and-drop zone with visual feedback
  • Click to browse fallback
  • File type and size validation
  • Preview thumbnails for images
  • Progress indicator
  • Reference references/upload-patterns.md

Example: examples/basic-upload.tsx

Advanced Upload (>10MB)

For large files requiring reliability:

  • Chunked uploads (resume on failure)
  • Parallel uploads for multiple files
  • Upload queue management
  • Cancel and retry controls
  • Client-side compression
  • Reference references/advanced-upload.md

Read the full file on GitHub · 475 lines

Files

What ships with it

40 files 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.

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. 9d ago First seen · 475 lines · 88 tokens per session scan A 0ef6e58a4b4d

Subscribe to this mod's changes

managing-media is a skill published in the GitHub repository ancoleman/ai-design-components (519 stars, last pushed 9mo ago), licensed MIT. It adds 88 tokens to every session and 2,806 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

animate

Generate animated videos and motion graphics from natural language descriptions. Creates a standalone Vite + React project with Framer Motion scenes that auto-play in the browser. Use when the user wants to create animations, motion graphics, video intros, animated presentations, or product demos.

OneWave-AI/claude-skills · 55 tokens

ui-ux-laws

Priority-ordered rulebook of core UX/UI laws, cognitive-psychology principles, Nielsen's usability heuristics, and accessibility requirements that Claude must actively apply (not just cite) whenever it designs, builds, redesigns, reviews, or critiques any user interface — websites, web/mobile apps, dashboards, forms…

AmirGhl/ui-ux-laws · 203 tokens

angora-media

Process images from inbox/ into the media system — read each image visually to generate alt text under 125 characters, extract dimensions, assign a nanoid filename, move the file to public/media/, and insert a row into the media table. Trigger whenever the user wants to process, pipeline, ingest, or register images…

Aysnc-Labs/angora · 153 tokens

threejs-r3f

Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

AThevon/genjutsu · 26 tokens

3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

lingxling/awesome-skills-cn · 57 tokens

atelier-webgl

Atelier suite — 3D, WebGL & shader craft (the flagship layer). Build award-grade 3D and generative graphics: React Three Fiber + Drei scenes, hand-written GLSL/TSL shaders (fresnel, fbm noise, mesh gradients, distortion, dithering), WebGPU via WebGPURenderer, Spline integration, Gaussian splatting, faux-3D, and WebGL…

luminary19/atelier · 209 tokens