Templates · Photo & Video
Trim a video clip
Cut a video down to the part that matters, by start and end times.
Example template for a hypothetical photo library app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Find Video
- Trim Video
SKILL.md
Skills.skillsbundle/Skills/video-trim/SKILL.md
---
name: video-trim
description: Trim a video clip to a shorter length by start and end times. Use when the user asks to cut a video down, keep only part of a clip, or remove the start or end of a recording. Not for making a slideshow or a still photo album.
---
# Trim a video clip
Use the Find Video tool with the clip the user named, or the most recent recording if they didn't name one.
Ask the user for the start and end times if they didn't give them. If they only said how long to keep, keep that much from the start.
Use the Trim Video tool with the start and end times. Tell the user the new length and confirm the original clip is kept unchanged. Or install it into your bundle: npx siriskills add video-trim --bundle MyApp/Skills.skillsbundle