# How to Add the Long Video Clips Skill to Your AI Agent

Category: Video

Use when the inferred intent is to turn ONE long-form video (podcast, webinar, interview, livestream, lecture, sermon, long YouTube/social upload) into MULTIPLE short, self-contained social clips — AI-detected highlight moments, not a manual trim. Structural signal: a single long source video is in scope AND the desired output is several standalone shorts. Phrasing varies ("clip this podcast", "make shorts/reels from this", "find the best moments", "cut this into clips", "repurpose this long video", "what would go viral here"). Covers source intake (direct platform link vs uploaded file), the long-source minimum, frame/aspect choice per target platform, clip count, language, the optional enhancement toggles (burned-in subtitles, auto headline, silence removal, emoji, keyword highlight, b-roll), and how the returned clips array chains into downstream single-clip nodes. Delegates the tool pick to model-recommendations.

Raw file: https://spiral.ai/skills/long-video-clips/SKILL.md

## Tools Long Video Clips uses

- [FFmpeg Media Editor](https://spiral.ai/tools/spiral/ffmpeg)
- [Vizard · Long Video to Short Clips](https://spiral.ai/tools/vizard/clip_v1)

## How to add Long Video Clips to your agent

Pick the way that suits you. Each takes about two minutes.

### Save SKILL.md into your agent's skills

1. **Download the skill**: Claude Code, and other agents that read Agent Skills, load it from this folder when they start.

```bash
mkdir -p ~/.claude/skills/long-video-clips
curl -fsSL https://spiral.ai/skills/long-video-clips/SKILL.md -o ~/.claude/skills/long-video-clips/SKILL.md
```

2. **Connect Spiral**: The skill runs its tools through Spiral. Send your agent this message once to set it up.

```
set up https://spiral.ai/SKILL.md
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

2. **Read the skill**: Built-in skills are on for every organization: the CLI prints this one with all its files.

```bash
spiral agent-skills get long-video-clips --json
```

### Read it from the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Fetch the skill**: The answer holds SKILL.md and every other file of the skill, in path order.

```bash
curl https://api.spiral.ai/v1/skills/long-video-clips \
  -H "Authorization: Bearer $SPIRAL_API_KEY"
```

Then ask your agent for the task: it loads Long Video Clips when a request matches the skill's description.

## Instructions (SKILL.md)

# Long Video Clips

This is an **AI highlight-clipping** tool. It transcribes one long source video, finds the most shareable moments, cuts them into standalone short clips, reframes each to the target shape, and optionally enhances them. One call returns **several clips at once**, each with a quality/virality score and a generated title.

It is not a manual editor — you do not give it in/out points. It decides what to clip.

## When not to use it

- The user wants a single cut at a known start/end time → that's a deterministic trim with `spiral/ffmpeg` (**media-editing** Skill, "Trim"), not AI clip selection.
- The user wants to generate a video from scratch → text-to-video / image-to-video (see the **short-form-video** Skill and **model-recommendations**).
- The user only wants the raw file behind a social link → the **social-video-download** Skill.

## Model pick

Run `vizard/clip_v1`, the tool that turns one long video into several short clips (not a clip downloader, a video merger or a music-clip model). Read its input schema before the first run.

## Source intake — two ways in

1. **Direct platform link.** The model natively ingests videos from the major video hosts and several social platforms (it has a source-type selector). When the source is on a supported host, paste the link directly — this is the simplest path and avoids an extra step.
2. **Direct file URL.** A video file the user gave (a file link or a public CDN link).

Confirm the supported source types and the exact source / source-type fields when you read its input schema.

**Reach for the downloader first only when:** the source platform is NOT one the clips model accepts, OR the user separately needs the raw file as its own artifact. Otherwise the direct-link path is fewer steps and costs less. See the **social-video-download** Skill for which platforms it covers.

## Long-source minimum

The provider needs a sufficiently long source — roughly a few minutes at minimum (about a 3-minute floor). A short clip will be rejected. If the user hands you something already short, this is the wrong tool; suggest a deterministic trim or captioning instead.

## Options — what's available and when to pick

Describe choices by intent; confirm which options exist, their field names, and accepted values when you read its input schema.

| Choice                     | When to pick                                                                                                                   | Notes                                                                              |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| **Frame / aspect**         | Vertical for TikTok / Reels / Shorts (the usual ask); square for in-feed; widescreen only if repurposing to landscape YouTube. | Match it to where the user will actually post. Vertical is the default for social. |
| **Number of clips**        | Raise it for a long, dense source with many moments; lower it when the user wants a tight, hand-picked set.                    | The model returns up to the count you request, ranked by score.                    |
| **Language**               | Set to the spoken language of the source so transcription and highlight detection are accurate.                                | Defaults to English; always set it for non-English sources.                        |
| **Keywords / topic focus** | When the user cares about specific themes or products, bias clip selection toward them.                                        | Leave empty to let the model pick purely on engagement signal.                     |

**Exact clip counts.** The count is a ceiling, not a guarantee. When the user asks for an exact number of clips, tell them before running that the tool returns up to that many highlight moments, and fewer for music or low-speech videos. If the count must be exact, offer timestamp cuts you choose instead (deterministic trims with `spiral/ffmpeg`).

**Enhancement toggles** (each optional). Add-on layers (burned-in subtitles, a hook headline, emoji or keyword highlights, b-roll) follow the "only requested layers" rule: turn one on only when the user asked for it or accepted it, and offer the rest in one line. Silence removal is pacing, not a layer. The schema turns some add-on layers on by default (read its input schema): in the call, set every add-on layer toggle the user did not ask for or accept to off explicitly, so an omitted field never falls back to an enabled default.

- **Burned-in subtitles** — captions baked into each clip. Worth offering for social, where sound-off viewing is normal. Leave OFF if you plan to caption separately with a specific style downstream (see the **video-captions** Skill) — otherwise you double-caption. If they are ON, chain **video-captions** afterward only when the user wants a _different_ caption style.
- **Auto headline / title** — an on-screen hook headline. Worth offering for social; off for clean/corporate cuts.
- **Silence removal** — tightens pacing by cutting dead air. Usually on for talking-head content.
- **Auto emoji / keyword highlight** — stylistic punch-ups. Worth offering for casual/creator content; OFF for brand/corporate where it reads as noise.
- **AI b-roll** — inserts stock/AI footage over narration. Worth offering for faceless/explainer styles; off when the user wants only their own footage.

When unsure, ask the user for the target platform and vibe (casual creator vs clean corporate): it settles framing and silence removal, and tells you which add-on layers are worth offering.

## Output shape & chaining (pipeline rules)

- The model returns an **array** of clips — each is its own video URL with metadata (a quality/virality score, the reason it was chosen, a title, and a transcript). Surface the scores so the user can pick favourites.
- A downstream step that consumes a **single** video (the **video-captions** subtitler, an upscaler, a lipsync model, etc.) must target **one chosen clip**, not the whole array. Pick the clip (highest score, or let the user choose) before chaining.

## Cost & failure handling

- Cost scales with the **source length** — long sources cost more. Estimate the cost of the input before running, and tell the user the estimate for an expensive source before committing.
- Source too short, unsupported link, or a provider error → report it plainly and ask how to proceed. Do NOT silently substitute a different tool the user didn't ask for.

## More skills

- [Character Films](https://spiral.ai/skills/character-films)
- [Frame Chaining](https://spiral.ai/skills/frame-chaining)
- [Gemini Omni Video](https://spiral.ai/skills/gemini-omni-video)
- [HyperFrames Animation](https://spiral.ai/skills/hyperframes-animation)

## Questions about Long Video Clips

### Long Video Clips

**What does the Long Video Clips skill do?**

Use when the inferred intent is to turn ONE long-form video (podcast, webinar, interview, livestream, lecture, sermon, long YouTube/social upload) into MULTIPLE short, self-contained social clips — AI-detected highlight moments, not a manual trim. Structural signal: a single long source video is in scope AND the desired output is several standalone shorts. Phrasing varies ("clip this podcast", "make shorts/reels from this", "find the best moments", "cut this into clips", "repurpose this long video", "what would go viral here"). Covers source intake (direct platform link vs uploaded file), the long-source minimum, frame/aspect choice per target platform, clip count, language, the optional enhancement toggles (burned-in subtitles, auto headline, silence removal, emoji, keyword highlight, b-roll), and how the returned clips array chains into downstream single-clip nodes. Delegates the tool pick to model-recommendations.

**Which tools does Long Video Clips use?**

It runs FFmpeg Media Editor, Vizard · Long Video to Short Clips through Spiral, each at the price on its tool page.

**Does the Long Video Clips skill cost anything?**

The skill is free. The tools it runs are billed pay-as-you-go from your Spiral balance at each tool's stated price, with no plan.

**How does my agent know when to use Long Video Clips?**

An agent reads each skill's description and loads its instructions when a request matches it.

**How do I add Long Video Clips to Claude Code?**

Save its files into ~/.claude/skills/long-video-clips/ with the commands on this page; Claude Code loads it when it starts.

**Can I use Long Video Clips in other agents?**

Yes. Any agent that reads Agent Skills folders loads the same files, and any other agent reads the skill with `spiral agent-skills get long-video-clips --json` or the Spiral API.

**Is Long Video Clips on for my Spiral organization?**

Yes. Built-in skills are on for every organization; an admin can turn Long Video Clips off on the console's Skills page.

**Where is the Long Video Clips SKILL.md file?**

At https://spiral.ai/skills/long-video-clips/SKILL.md, with no key needed. On the console's Skills page, Customize saves a copy you can edit as your organization's own skill.

