Token导航 LogoToken导航

Agent Skill · 研究检索

managing-media(管理媒体)

managing-media 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

managing-media 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 51,212。

总安装 588周安装 24GitHub Stars 350下载 188核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:managing-media(管理媒体)
来源仓库:https://github.com/ancoleman/ai-design-components
仓库路径:skills/managing-media
安装命令:
npx skills add https://github.com/ancoleman/ai-design-components --skill managing-media
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ancoleman/ai-design-components --skill managing-media

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于需要根据关键词或任务场景进行信息检索的场景,如媒体资源管理。通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和是否触发联网操作。

建议结合原始 README 核验具体用法,注意检查维护状态和潜在的文件读写行为。安装前应评估是否需要执行外部命令或访问敏感数据,避免误改生产环境。

来源仓库内路径:skills/managing-media

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ancoleman/ai-design-components --skill managin…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

managing-media 怎么安装?

在终端执行 npx skills add https://github.com/ancoleman/ai-design-components --skill managing-media。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

managing-media 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

managing-media 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

managing-media 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

managing-media 用的人多吗?

公开数据是累计安装 588 次,近一周安装 24 次,下载 188 次,GitHub 350 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

managing-media 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
managing-media

管理媒体 · 本页

588350需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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

Example: examples/chunked-upload.tsx

Image-Specific Upload

For image files with editing requirements:

  • Crop and rotate tools
  • Client-side resize before upload
  • Format conversion (PNG → WebP)
  • Alt text input field (accessibility)
  • Reference references/image-upload.md

Example: examples/image-upload-crop.tsx

Image Display Components

Image Gallery

For collections of images:

  • Grid or masonry layout
  • Lazy loading (native or custom)
  • Lightbox on click
  • Zoom and pan controls
  • Keyboard navigation (arrow keys)
  • Responsive design
  • Reference references/gallery-patterns.md

Example: examples/image-gallery.tsx

Carousel/Slider

For sequential image display:

  • Auto-play (optional, pausable for accessibility)
  • Dot or thumbnail navigation
  • Touch/swipe support
  • ARIA roles for accessibility
  • Infinite loop option
  • Reference references/carousel-patterns.md

Example: examples/carousel.tsx

Image Optimization

Essential optimization strategies:

  • Responsive images using srcset and sizes
  • Modern formats (WebP with JPG fallback)
  • Progressive JPEGs
  • Blur-up placeholders
  • CDN integration
  • Reference references/image-optimization.md

Video Components

Video Player

For custom video playback:

  • Custom controls or native
  • Play/pause, volume, fullscreen
  • Captions/subtitles (VTT format)
  • Playback speed control
  • Picture-in-picture support
  • Keyboard shortcuts
  • Reference references/video-player.md

Example: examples/video-player.tsx

Video Optimization

Performance strategies for video:

  • Adaptive streaming (HLS, DASH)
  • Thumbnail preview on hover
  • Lazy loading off-screen videos
  • Preload strategies (metadata, auto, none)
  • Multiple quality levels
  • Reference references/video-optimization.md

Audio Components

Audio Player

For audio playback:

  • Play/pause, seek, volume controls
  • Waveform visualization (optional)
  • Playlist support
  • Download option
  • Playback speed control
  • Visual indicators for accessibility
  • Reference references/audio-player.md

Example: examples/audio-player.tsx

Document Viewers

PDF Viewer

For PDF document display:

  • Page navigation (prev/next, jump to page)
  • Zoom in/out controls
  • Text search within document
  • Download and print options
  • Thumbnail sidebar
  • Reference references/pdf-viewer.md

Example: examples/pdf-viewer.tsx

Office Document Preview

For DOCX, XLSX, PPTX files:

  • Read-only preview or editable
  • Cloud-based rendering (Google Docs Viewer, Office Online)
  • Local rendering (limited support)
  • Download option
  • Reference references/office-viewer.md

Performance Optimization

File Size Guidelines

Validate client-side before upload:

  • Images: <5MB recommended
  • Videos: <100MB for web, larger for cloud
  • Audio: <10MB
  • Documents: <25MB
  • Provide clear error messages
  • Suggest compression tools

Image Optimization Checklist

# Generate optimized image set
python scripts/optimize_images.py --input image.jpg --formats webp,jpg,avif

Strategies:

  • Compress before upload (client or server)
  • Generate multiple sizes (thumbnails, medium, large)
  • Use responsive srcset for device targeting
  • Convert to modern formats (WebP, AVIF)
  • Serve via CDN with edge caching

Reference references/performance-optimization.md for complete guide.

Video Optimization Checklist

Strategies:

  • Transcode to multiple qualities (360p, 720p, 1080p)
  • Implement adaptive bitrate streaming
  • Use CDN with edge caching
  • Lazy load videos outside viewport
  • Provide poster images

Accessibility Requirements

Images

Essential patterns:

  • Alt text required for meaningful images
  • Empty alt (alt="") for decorative images
  • Use <figure> and <figcaption> for context
  • Sufficient color contrast for overlays
  • Reference references/accessibility-images.md

Videos

Essential patterns:

  • Captions/subtitles for all speech
  • Transcript link provided
  • Keyboard controls (space, arrows, M for mute)
  • Pause auto-play (WCAG requirement)
  • Audio description track (if applicable)
  • Reference references/accessibility-video.md

Audio

Essential patterns:

  • Transcripts available
  • Visual indicators (playing, paused, volume)
  • Keyboard controls
  • ARIA labels for controls
  • Reference references/accessibility-audio.md

To validate accessibility:

node scripts/validate_media_accessibility.js

For complete requirements, reference references/accessibility-patterns.md.

Library Recommendations

Image Gallery: react-image-gallery

Best for feature-complete galleries:

  • Mobile swipe support
  • Fullscreen mode
  • Thumbnail navigation
  • Lazy loading built-in
  • Responsive out of the box
npm install react-image-gallery

See examples/gallery-react-image.tsx for implementation. Reference /xiaolin/react-image-gallery for documentation.

Alternative: LightGallery (more features, larger bundle)

Video: video.js

Best for custom video players:

  • Plugin ecosystem
  • HLS and DASH support
  • Accessible controls
  • Theming support
  • Extensive documentation
npm install video.js

See examples/video-js-player.tsx for implementation.

Audio: wavesurfer.js

Best for waveform visualization:

  • Beautiful waveform display
  • Timeline interactions
  • Plugin support
  • Responsive
  • Lightweight
npm install wavesurfer.js

See examples/audio-waveform.tsx for implementation.

PDF: react-pdf

Best for PDF rendering in React:

  • Page-by-page rendering
  • Text selection support
  • Annotations (premium)
  • Worker-based for performance
npm install react-pdf

See examples/pdf-react.tsx for implementation.

For detailed comparison, reference references/library-comparison.md.

Design Token Integration

All media components use the design-tokens skill for theming:

  • Color tokens for backgrounds, overlays, controls
  • Spacing tokens for padding and gaps
  • Border tokens for thumbnails and containers
  • Shadow tokens for elevation
  • Motion tokens for animations

Supports light, dark, high-contrast, and custom themes. Reference the design-tokens skill for theme switching.

Example token usage:

.upload-zone {
  border: var(--upload-zone-border);
  background: var(--upload-zone-bg);
  padding: var(--upload-zone-padding);
  border-radius: var(--upload-zone-border-radius);
}

.image-gallery {
  gap: var(--gallery-gap);
}

.video-player {
  background: var(--video-player-bg);
  border-radius: var(--video-border-radius);
}

Responsive Strategies

Image Galleries

Four responsive approaches:

  1. Grid layout - CSS Grid with auto-fit columns
  2. Masonry layout - Pinterest-style with variable heights
  3. Carousel - Single image on mobile, multiple on desktop
  4. Stack - Vertical list on mobile, grid on desktop

See examples/responsive-gallery.tsx for implementations.

Video Players

Responsive considerations:

  • 16:9 aspect ratio container
  • Full-width on mobile
  • Constrained width on desktop
  • Picture-in-picture for multitasking
  • Touch-friendly controls (larger hit areas)

Reference references/responsive-media.md for patterns.

Cloud Storage Integration

Client-Side Direct Upload

For AWS S3, Cloudinary, etc.:

  1. Request signed URL from backend
  2. Upload directly to cloud storage
  3. Notify backend of completion
  4. Display uploaded media

Benefits:

  • Reduces server load
  • Faster uploads (direct to CDN)
  • No file size limits on your server

See examples/s3-direct-upload.tsx for implementation. Reference references/cloud-storage.md for setup.

Testing Tools

Generate mock media:

# Generate test images
python scripts/generate_mock_images.py --count 50 --sizes thumb,medium,large

# Generate test video metadata
python scripts/generate_video_metadata.py --duration 300

Validate media accessibility:

node scripts/validate_media_accessibility.js

Analyze performance:

node scripts/analyze_media_performance.js --files images/*.jpg

Working Examples

Start with the example matching the requirements:

basic-upload.tsx              # Simple drag-drop upload
chunked-upload.tsx            # Large file upload with resume
image-upload-crop.tsx         # Image upload with cropping
image-gallery.tsx             # Grid gallery with lightbox
carousel.tsx                  # Image carousel/slider
video-player.tsx              # Custom video player
audio-player.tsx              # Audio player with controls
audio-waveform.tsx            # Audio with waveform visualization
pdf-viewer.tsx                # PDF document viewer
s3-direct-upload.tsx          # Direct upload to S3
responsive-gallery.tsx        # Responsive image gallery patterns

Resources

Scripts (Token-Free Execution)

  • scripts/optimize_images.py - Batch image optimization
  • scripts/generate_mock_images.py - Test image generation
  • scripts/validate_media_accessibility.js - Accessibility validation
  • scripts/analyze_media_performance.js - Performance analysis

References (Detailed Documentation)

  • references/upload-patterns.md - File upload implementations
  • references/gallery-patterns.md - Image gallery designs
  • references/video-player.md - Video player features
  • references/audio-player.md - Audio player patterns
  • references/pdf-viewer.md - Document viewer setup
  • references/accessibility-patterns.md - Media accessibility
  • references/performance-optimization.md - Optimization strategies
  • references/cloud-storage.md - Cloud integration guides
  • references/library-comparison.md - Library analysis

Examples (Implementation Code)

  • See examples/ directory for working implementations

Assets (Templates and Configs)

  • assets/upload-config.json - Upload constraints and settings
  • assets/media-templates/ - Placeholder images and icons

Cross-Skill Integration

This skill works with other component skills:

  • Forms: File input fields, validation, submission
  • Feedback: Upload progress, success/error messages
  • AI Chat: Image attachments, file sharing
  • Dashboards: Media widgets, thumbnails
  • Design Tokens: All visual styling via token system

Next Steps

  1. Identify the media type (images, video, audio, documents)
  2. Determine upload requirements (size, quantity, editing)
  3. Choose display pattern (gallery, carousel, player, viewer)
  4. Select library or implement custom solution
  5. Implement accessibility requirements
  6. Apply optimization strategies
  7. Test performance and responsive behavior
  8. Integrate with cloud storage (optional)

平台分布

Codex

32.93%
按下载量换算62

Claude

32.72%
按下载量换算62

Cursor

19.72%
按下载量换算37

Gemini CLI

10.2%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills