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/ancoleman/ai-design-componentsnpx agentmods add skills/ancoleman/ai-design-components/managing-mediaWrote 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/ancoleman/ai-design-components/managing-media)<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.
<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>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.00088 | $0.02806 |
| Opus 5 | $0.00044 | $0.01403 |
| Sonnet 5 | $0.00018 | $0.00561 |
| Haiku 4.5 | $0.00009 | $0.00281 |
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.
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.
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
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.
- assets/upload-config.json 1.8 KB
- examples/audio-player.tsx 3.0 KB
- examples/audio-waveform.tsx 1.3 KB
- examples/basic-upload.tsx 1.5 KB
- examples/carousel.tsx 2.2 KB
- examples/chunked-upload.tsx 2.7 KB
- examples/gallery-react-image.tsx 3.0 KB
- examples/image-gallery.tsx 1.2 KB
- examples/image-upload-crop.tsx 2.0 KB
- examples/pdf-react.tsx 2.9 KB
- examples/pdf-viewer.tsx 1.4 KB
- examples/responsive-gallery.tsx 2.0 KB
- examples/s3-direct-upload.tsx 2.5 KB
- examples/video-js-player.tsx 1.1 KB
- examples/video-player.tsx 1.8 KB
- outputs.yaml 11 KB
- README.md 4.5 KB
- references/accessibility-audio.md 2.0 KB
- references/accessibility-images.md 1.4 KB
- references/accessibility-patterns.md 7.8 KB
- references/accessibility-video.md 1.3 KB
- references/advanced-upload.md 2.9 KB
- references/audio-player.md 3.3 KB
- references/carousel-patterns.md 2.3 KB
- references/cloud-storage.md 2.1 KB
- references/gallery-patterns.md 1.8 KB
- references/image-optimization.md 2.9 KB
- references/image-upload.md 4.5 KB
- references/implementation-guide.md 1.4 KB
- references/library-comparison.md 6.4 KB
- references/office-viewer.md 1.5 KB
- references/pdf-viewer.md 2.4 KB
- references/performance-optimization.md 6.8 KB
- references/responsive-media.md 1.7 KB
- references/upload-patterns.md 1.8 KB
- references/video-optimization.md 1.8 KB
- references/video-player.md 3.2 KB
- scripts/generate_mock_images.py 2.7 KB runs code
- scripts/optimize_images.py 2.1 KB runs code
- scripts/validate_media_accessibility.js 2.2 KB runs code
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.
- 9d ago First seen · 475 lines · 88 tokens per session scan A 0ef6e58a4b4d
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.
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.
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…
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…
threejs-r3f
Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.
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.
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…