# Download and Trim Media Assets

Finding usable images and clips across different sources takes time. This skill searches stock libraries, downloads selected media, and trims video clips from one workflow.

## Install

```bash
npx skillstore add yizhiyanhua-ai/media-downloader
```

## Metadata

- Status: approved
- Slug: yizhiyanhua-ai-media-downloader
- Skillstore revision: r1
- Version status: missing
- Tree hash: abc5cfcb6514a2808f96a66ae54969927a05a7087b3c228b2d336a3053cfb0b4
- Author: yizhiyanhua-ai
- GitHub username: yizhiyanhua-ai
- License: MIT
- Repository: https://github.com/yizhiyanhua-ai/media-downloader/tree/main/
- Ref: 64ca8af0f54a325752f08bd54e52151061ea659a
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/yizhiyanhua-ai-media-downloader
- Manifest: https://skillstore.pages.dev/api/skills/yizhiyanhua-ai-media-downloader/manifest

## Capabilities

- Searches Pexels, Pixabay, and Unsplash for images when API keys are configured.
- Searches Pexels and Pixabay for stock video clips.
- Downloads YouTube videos or audio through yt-dlp when the tool is installed.
- Trims videos by start time, end time, or target duration with ffmpeg.
- Saves downloads to a default folder or a user-selected output folder.
- Reports configured API keys and required local tools through a status command.

## Use Cases

- Collect Project Visuals: Download several candidate images for a presentation, article, or mockup.
- Prepare Short Video Clips: Find stock footage and trim it to a requested duration for editing work.
- Build Reference Libraries: Search multiple media sources and save examples for later review.

## Prompt Templates

### Download Images

```
Download five high quality images of modern office desks to my media folder.
```

### Find Stock Video

```
Find three stock video clips of ocean waves under 20 seconds and save them to my project folder.
```

### Trim a Video Segment

```
Download this YouTube video and keep only the section from 60 seconds to 90 seconds.
```

### Search Before Downloading

```
Search for city night media across image and video sources, then show the best options before downloading.
```

## Limitations

- Most image and stock video sources require user-provided API keys.
- Video download and trimming require yt-dlp and ffmpeg on the local system.
- The skill does not verify copyright, licensing, or platform terms for downloaded media.
- The current implementation does not fully sandbox output paths or download sizes.

## Best Practices

- Use a visible, project-specific output folder for each download task.
- Confirm media licenses and platform terms before using downloaded assets.
- Store API keys securely and rotate them if they may have been exposed.

## Anti Patterns

- Downloading copyrighted videos or audio without permission.
- Using broad writable folders as output locations for automated downloads.
- Requesting large media batches without size limits or review steps.

## Security Audit

- Audited at: 2026-07-08T12:18:31.472\+00:00
- Summary: The skill performs the advertised media search, download, and trimming workflow, but it uses external services, yt-dlp, ffmpeg, environment API keys, and local file writes. Several static alerts are documentation or placeholder false positives, while user-controlled filenames, unbounded downloads, and broad video download support remain real risks. No prompt injection attempt was found in the reviewed files.

## Stats

- Views: 322
- Downloads: 60
- Favorites: 1
- Popularity score: 0
