---
name: "download-clips"
description: "Use this skill when the task matches: Expose rendered MP4 download URLs for completed Opal jobs."
---
# Download Clips

## Purpose

Expose rendered clip downloads for a completed Opal Job.

## Install from SKLx

This skill is published on SKLx and can be installed locally or on an Opal server:

```bash
skl add "download clips" --registry https://sklx.one
```

## Current API

```txt
GET /api/jobs/:jobId/downloads
GET /api/files/:jobId/:fileName
```

## Inputs

```json
{
  "jobId": "string"
}
```

## Outputs

```json
{
  "jobId": "string",
  "downloads": [
    {
      "clipId": "string",
      "title": "string",
      "fileName": "string",
      "url": "string"
    }
  ]
}
```

## Steps

1. Load job clips.
2. Select clips with rendered outputs.
3. Return stable file URLs.
4. Download files through `/api/files/:jobId/:fileName`.

## Rules

Never list missing output metadata.
Keep URLs job-scoped.
Use direct MP4 download URLs.
