# opusclip

Adopt this skill: https://proskills.md/skills/other/opus-pro-opus-skills-skills-opusclip

Page: https://proskills.md/skills/other/opus-pro-opus-skills-skills-opusclip
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: skills/opusclip/SKILL.md
size: 8034
upstream: https://github.com/opus-pro/opus-skills/blob/main/skills/opusclip/SKILL.md

````text
---
name: opusclip
description: Turn long-form videos into short clips and post them to social platforms using the OpusClip API. Use when the user wants to clip a YouTube video, upload a local video for clipping, manage clip collections, list brand templates, share projects publicly, censor profanity, post clips to social media, schedule social posts. Triggers on phrases like "clip this video", "create shorts", "opusclip", "make clips from video", "upload to opusclip", "post to youtube", "schedule post", "publish clip".
---

# OpusClip

Turn long-form videos into short clips via the OpusClip API. For reference-driven local editing of the user's footage, use the separate `copy-video-style` skill when available.

> **BETA — features and pricing are subject to change. API pricing may diverge from web pricing.**

## Prerequisites

- `OPUSCLIP_API_KEY` must be set. If the user already has an Enterprise, Pro, or Max plan, they can copy their key from https://clip.opus.pro/dashboard. Otherwise, direct them to the [pricing page](https://www.opus.pro/pricing?utm_source=cli&utm_medium=opus) — API access requires Enterprise, Pro, or Max.
- The CLI at `scripts/opusclip` requires Node.js (>=18) — it is a bundled JS file

## CLI Quick Reference

Run the bundled CLI at `scripts/opusclip`. Commands follow a **resource + verb** tree (`opusclip <resource> <verb>`); all commands output JSON.

```
opusclip project create --url URL [options]   Submit video for clipping
opusclip project create --file PATH [options] Upload local video + create project
opusclip project list [--page N]              List the org's clip projects (most recent first)
opusclip project share --project ID           Share project publicly
opusclip project transcript --project ID      Get the source-video transcript (paragraphs + word timing in ms)
opusclip project preview --project ID [--output PATH]  Generate HTML preview and open in browser
opusclip clip list --project ID               List a project's clips (preview URLs; HD via clip export)
opusclip clip get --project ID --clip CID     Get clip details (transcript, layout info)
opusclip clip export --project ID --clip CID  Get the HD download URL for one clip (ready|rendering|unavailable)
opusclip clip edit <verb> [flags]             Server-side clip edits (charged, re-renders the clip) (beta — pricing may change)
  ops             Named edit operations, applied in order, one re-render (beta — pricing may change)
  get             Fetch EditingScript JSON for round-trip edits (escape hatch) (beta — pricing may change)
  apply           Submit an edited EditingScript directly (escape hatch) (beta — pricing may change)
  censor          Profanity censor (dictionary-based; --beep adds sound effect) (beta — pricing may change)
opusclip clip duplicate --project ID --clip CID   Duplicate a clip into a "(Copy)" (free, server-side)
opusclip clip trim --project ID --clip CID --start S --end E   Local ffmpeg trim (no API call, no captions)
opusclip clip storyboard --project ID --clip CID   Generate 2x2 frame preview (requires ffmpeg)
opusclip collection <verb> [options]          Manage collections (list, clips, create, export, add-clip)
opusclip post <verb> [options]                Social posting (create, schedule, cancel)
  list            List scheduled/published posts (--project, or an --from/--to window)
  account list    List connected social accounts
  copy create     Generate AI-optimized post copy
  copy get        Poll for generated copy result
  schedule        Schedule a post for future publishing (beta — pricing may change)
opusclip thumbnail create --url URL [options] Generate YouTube thumbnails (experimental; credit-charged per call)
opusclip template list                        List brand templates
opusclip usage                                Show the org's API cap usage (monthly + concurrent, or uncapped)
```

Legacy bare-verb aliases (`submit`, `create-project`, `upload`, `list`, `get-clips`, `list-projects`, `describe`, `templates`, `transcript`, `share`, `share-project`, `collections`, `edit-clip`, `trim`, `storyboard`, `preview`, `post publish|accounts|generate-copy|copy-status`) still work, but the resource + verb forms below are canonical.

### project create

> **Copyright hint**
>
> Immediately before calling `opusclip project create`, narrate the following sentence to the user as a plain notice (not an `AskUserQuestion`, not a yes/no gate):
>
> > Using video you don't own may violate copyright laws. By continuing, you confirm this is your own original content.
>
> This mirrors the inline disclaimer the OpusClip web app shows on its submit panel. Show it verbatim on every `project create`; do not block on a confirmation.

```bash
opusclip project create --url "https://youtube.com/watch?v=..." --durations "30,60,90" [more options]
```

| Flag | Description |
|------|-------------|
| `--url` | (required unless `--file`) Video URL |
| `--file` | Upload a local video instead of a URL (handles the full 4-step GCS upload flow automatically; same remaining flags) |
| `--durations` | Target clip lengths in seconds, e.g. `"30,60,90"`. Optional — omit to let OpusClip choose. Only applies to a clipping run (not with `--skip-slicing` / `--skip-curate`). |
| `--model` | `ClipBasic` (talking-head) or `ClipAnything` (diverse) |
| `--prompt` | Custom clipping prompt (ClipAnything only) |
| `--keywords` | Comma-separated topic keywords (ClipBasic only) |
| `--aspect` | `portrait` (default), `landscape`, `square` |
| `--range-start` / `--range-end` | Clip only a portion (seconds) |
| `--template` | Brand template ID |
| `--genre` | Video genre hint |
| `--lang` | Source language code |
| `--target-lang` | Translate the rendered clips into this language code (translated text/captions). For dubbed VOICE audio use `--dubbing-language` instead — the two cannot be combined |
| `--dubbing-language` | Dub the video's voice into this language code (right-to-left languages not supported). Submits the video-dubbing quick start: the FULL video (no clipping) with dubbed audio — cannot be combined with clipping or render options. **Charges dubbing credits (10 credits per minute of source video) on top of the submit charge — tell the user before submitting** |
| `--skip-slicing` | Keep the full video instead of cutting it into clips (import / reframe / caption the whole video) |
| `--enable-auto-hook` | Add an AI-generated hook to the start of each clip. Clipping runs only — not compatible with `--skip-slicing` / `--skip-curate` |
| `--enable-caption` | Burn captions into the rendered clips (omit to inherit the brand template / org default) |
| `--title` | Video title metadata |
| `--webhook` | Webhook URL for completion notification |
| `--skip-curate` | Process original video without AI curation |
| `--remove-filler` | Remove filler words |

Incompatible combinations are rejected up front with a clear error (for example `--enable-auto-hook` with `--skip-slicing`, or `--dubbing-language` with `--target-lang`) — relay the error to the user and ask which they want instead of retrying blindly.

### clip list

```bash
opusclip clip list --project PROJECT_ID
```

| Flag | Description |
|------|-------------|
| `--project` | (required) Project ID to fetch clips for |
| `--summary` | Deprecated no-op (kept for back-compat) — scored/human-readable fields are always included now |

To list the clips in a collection, use `collection clips --id COLLECTION_ID`.

Clips already include human-readable fields (title, description, hashtags, scores) by default. Display clips with their title and description rather than just clip IDs.

The output contains `project_id` and `clip_id` as separate fields. Use `clip_id` (e.g. `0RiWBs5xuF`) for `--clip` flags, not the composite ID.

`clip list` returns the `preview_url` (the watchable low-res artifact) and thumbnail — **not** the HD download URL. To download the HD file for a clip, use `clip export` (one clip) or `collection export` 
````

## File: README.md
upstream: https://github.com/opus-pro/opus-skills/blob/main/README.md

````text
# opus-skills

A skill marketplace for [OpusClip](https://opus.pro) — adds video clipping, social posting, and more to your AI coding agent. The existing OpusClip package contains three skills: `opusclip` for clipping and publishing through the bundled API CLI; `copy-video-style` for reference-driven local editing, with optional OpusClip MCP video understanding; and `opusclip-media-generation` for generating voiceovers, music and short video clips through OpusClip MCP.

> **BETA — features and pricing are subject to change. API pricing may diverge from web pricing.**

## Install

**Install OpusClip: <https://github.com/opus-pro/opus-skills>**

Point your agent at the repo above and ask it to install the skill — most agents can fetch, zip, and wire it up from a URL. If yours needs a specific command, use the per-host shortcuts below.

<details>
<summary>Per-host install commands</summary>

| Agent | Command |
|---|---|
| **Claude Code** | `/plugin marketplace add opus-pro/opus-skills` then `/plugin install opusclip@opus-skills` |
| **Codex CLI / App** | `codex plugin marketplace add github:opus-pro/opus-skills`, then **Plugins** in TUI/App |
| **OpenClaw** | `openclaw plugins install github:opus-pro/opus-skills/skills/opusclip` |
| **Claude.ai** | Upload one skill folder per ZIP: `skills/opusclip/` for clipping, or `skills/opusclip/skills/copy-video-style/` for local editing, at Settings → Customize → Skills (Pro+). `skills/opusclip/skills/opusclip-media-generation/` needs an OpusClip MCP connection with generation, which the claude.ai directory connector does not include. |
| **Claude Cowork** | Same zip upload as Claude.ai (propagates to Cowork) |
| **Any host with `npx skills`** | `npx skills add opus-pro/opus-skills` |

</details>

For the clipping CLI, export your key (from <https://clip.opus.pro/dashboard>, Enterprise, Pro, or Max plan required) in the shell that launches your agent:

```bash
export OPUSCLIP_API_KEY=sk_...
```

`curl` and `jq` must be on PATH for the clipping CLI. Its optional `storyboard`, `trim`, and `preview` commands need `ffmpeg`. Copy Video Style needs a local renderer such as FFmpeg; styled captions need an FFmpeg build with libass and freetype (on macOS, Homebrew `ffmpeg-full`, which is keg-only, so the skill calls it by its full path), and linked references need `yt-dlp`.

## What's in the box

- **`skills/opusclip/SKILL.md`** — when and how to call OpusClip. Triggers on "clip this video", "make shorts", "post to YouTube", etc.
- **`skills/opusclip/scripts/opusclip`** — bash CLI wrapping the OpusClip REST API + ffmpeg local utilities.
- **`skills/opusclip/references/api-reference.md`** — endpoint schemas, request/response shapes.
- **`skills/opusclip/skills/copy-video-style/SKILL.md`** — reference-driven local editing, with optional video understanding through OpusClip MCP.
- **`skills/opusclip/skills/opusclip-media-generation/SKILL.md`** — voiceover, music and video generation through OpusClip MCP, with a quote and your approval before each paid call.

## Copy Video Style

Copy Video Style is a separate skill inside the existing OpusClip package, alongside the `opusclip` clipping skill and `opusclip-media-generation`. All three share one package installation; no additional plugin or marketplace is needed. Give your agent your footage and a reference video or link. It scans the reference's frames, cuts and loudness locally, shows you what defines the style, and asks once which elements to copy, whether to add OpusClip video understanding for a few credits, and where any missing music or other assets should come from. Then it creates and reviews the video locally. It does not require an OpusClip editor project.

Install or update the OpusClip package using the installation methods above. To install the skills directly (Node.js and the agent must be available):

```bash
npx --yes skills add opus-pro/opus-skills --skill opusclip copy-video-style opusclip-media-generation --agent codex --global --yes
# For Claude Code, replace codex with claude-code.
```

Connect MCP separately:

```bash
# Codex CLI/App
codex mcp add opusclip --url https://mcp.opus.pro/mcp
codex mcp login opusclip

# Claude Code
claude mcp add --transport http --scope user opusclip https://mcp.opus.pro/mcp
# Open Claude Code and run /mcp to authenticate OpusClip.
```

Complete OAuth sign-in and select your organization in the agent's connection flow. An API key for the existing clipping CLI does not authenticate this MCP connection. Restart the agent session after installing. Video understanding is optional and uses OpusClip credits; local editing uses your agent and local tools. The connected backend and account must expose `opusclip_analyze_reference_media`. If you choose understanding and authentication is required or expired, the agent should help you sign in and retry. If understanding stays unavailable, the agent explains the blocker and continues from its local scan, noting that sound and music were not analyzed.

**Anonymous usage events.** The skill's `scripts/telemetry.mjs` sends two events to OpusClip per run: `run_started` after the local scan (whether preflight passed, which tool was missing, file or link reference) and `delivered` each time the agent hands over a video (feedback rounds, output length bucket, aspect ratio, the chosen elements, whether you chose understanding, the generation budget and whether OpusClip generated assets). Both carry a random run ID, the skill version, the agent's name and a random install ID kept in `~/.opusclip/telemetry.json`. When you used OpusClip understanding, `delivered` also sends that job's ID, which links the run to the analysis on your OpusClip account. It never sends file paths, file names, URLs, prompts, captions, transcripts or media, and your IP address is not stored. It is off in CI and with `NODE_ENV=development`; turn it off anywhere with `OPUSCLIP_NO_TELEMETRY=1`, `DO_NOT_TRACK=1` or `node <skill folder>/scripts/telemetry.mjs disable`.

Example request:

> Use copy-video-style with my footage and this reference. Borrow its caption treatment, pacing and framing, keep my message intact, and deliver a local MP4 plus an editable project.

## OpusClip Media Generation

`opusclip-media-generation` generates a voiceover or narration (Gemini 3.8 Flash TTS), a music track (Lyria 3.5) or, when your connected server offers it, a short video clip (MiniMax H3 or Seedance 2.5) through the OpusClip MCP connection above. Each generation uses OpusClip credits at a fixed price. The agent quotes every request for free first and runs nothing until you approve its cost, asks for a total when several generations are planned and gets your yes for the planned list, and records every job in `generation.json`. It gives you a playable link for every result, because the agent cannot listen or watch, then downloads and checks the files locally. `copy-video-style` hands off to it when you choose to generate missing music, voiceover or shots.

It ships in the same OpusClip package. The `npx skills add` command above installs it with the other two skills. Generation needs the MCP connection above and a plan with API access; the OpusClip connector in the claude.ai directory does not include it.

Example request:

> Use opusclip-media-generation to make a 30-second instrumental bed for my product video: upbeat, light percussion, about 110 BPM, with a clear build at 0:15. Quote it before you run it.

## Develop

```bash
git clone https://github.com/opus-pro/opus-skills.git
cd opus-skills
export OPUSCLIP_API_KEY=sk_...
skills/opusclip/scripts/opusclip project create --url "https://youtube.com/watch?v=..."
node --test   # tests in tests/
```

## Contributing

CODEOWNERS lists current maintainers. Open a PR and a maintainer will review.

## License

MIT — see [LICENSE](LICENSE).
````
