clips

clips is a skill for Claude Code, Codex from ChaosRealmsAI/NextFrame. It costs 20 tokens per session (629 once invoked), scanned A, original, MIT.

A six-step workflow for turning a video into a translated, word-synchronized karaoke-style web page. It downloads, transcribes, selects, cuts, translates, and presents a short clip.

In plain words
What is it for?
Downloading a video, generating speech transcripts, selecting a highlight, cutting the clip, translating its subtitles into Chinese, and creating the final karaoke page.
Why use it?
It keeps all required media-processing steps together so the final result includes the video, translations, timing data, and HTML viewer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Downloading a video, generating speech transcripts, selecting a highlight, cutting the clip, translating its subtitles into Chinese, and creating the final karaoke page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chaosrealmsai/nextframe/clips
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChaosRealmsAI/NextFrame --skill clips
Clone the repo
git clone --depth 1 https://github.com/ChaosRealmsAI/NextFrame

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clips

README.md
[![agentmods](https://agentmods.dev/badge/skills/chaosrealmsai/nextframe/clips/github.svg)](https://agentmods.dev/skills/chaosrealmsai/nextframe/clips)
Your own site
<a href="https://agentmods.dev/skills/chaosrealmsai/nextframe/clips"><img src="https://agentmods.dev/badge/skills/chaosrealmsai/nextframe/clips/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clips

Your own site · 80×15
<a href="https://agentmods.dev/skills/chaosrealmsai/nextframe/clips"><img src="https://agentmods.dev/badge/skills/chaosrealmsai/nextframe/clips.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00629
Opus 5.5 $0.00008 $0.00252
Sonnet 5.5 $0.00004 $0.00126
Haiku 4.5 $0.00002 $0.00063

Measured 2mo ago against content hash 98d2e4e82bb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clips scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/nf-agent/skills/clips/SKILL.md · 48 lines

What it actually says

clips · 视频剪辑(必跑完 6 步 · 不允许中途 stop)

NextFrame 完整 clips pipeline。6 步全跑 · 每步 Bash 一次 tool · 一直走到 karaoke HTML。

🔴 硬约束(违反 = 任务失败)

  • ❌ 不允许中途 FINAL 停 · translate 和 karaoke 必须跑完
  • ❌ 不允许在 plan 步输出完 plan.json 就停
  • ❌ 不允许说"现在我需要翻译..." 然后不调 tool
  • ✅ 每步调完 tool 立刻下一步
  • ✅ 只有 karaoke 产出 index.html 后才能 FINAL

推进状态机(6 步 · 严格顺序)

  1. Bash("nf-guide clips download") → 调 nf-source download · 产 source.mp4
  2. Bash("nf-guide clips transcribe") → 调 whisperx --model base.en(小模型 · 避免 1GB 下载)· 产 sentences.json + words.json
  3. Bash("nf-guide clips plan") → 你挑 1 个亮点写 plan.json(只挑 1 个 · 省 translate 工作量)
  4. Bash("nf-guide clips cut") → ffmpeg 切 · 产 clip_01.mp4 + cut_report.json
  5. Bash("nf-guide clips translate") → 翻译(一次 Bash heredoc 写完整个 translations.zh.json · 不要逐句译)· 产 clip_01.translations.zh.json
  6. Bash("nf-guide clips karaoke") → 产 index.html(终点)

终点验收

ls <episode>/clips/ 必须有:

  • clip_01.mp4
  • cut_report.json
  • clip_01.translations.zh.json
  • index.html(karaoke · 字级同步)

反例(上次 agent 踩的坑)

❌ 错:"现在我需要翻译这 4 个英文句子..."(输出纯文本后停) ✅ 对:直接 Bash("cat > <path>/clip_01.translations.zh.json <<EOF ... EOF") 一次写完

视频选择(agent 自主)

用户让你自主选一个短视频(< 60s · 新鲜 · 不要 me-at-the-zoo)· 用 yt-dlp 下。建议挑:TED 短演讲 / 新闻片段 / 搞笑短剧 / 科技演示。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 48 lines · 20 tokens per session scan A 98d2e4e82bb6

Subscribe to this mod's changes

clips is a skill published in the GitHub repository ChaosRealmsAI/NextFrame (25 stars, last pushed 6mo ago), licensed MIT. It adds 20 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

clips compared with skills from other repositories

clips next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clipsChaosRealmsAI/NextFrameSkill256mo agoMITA20Claude Code, Codex
frontend-designOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA57Claude Code, Codex
gate-controlOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA81Claude Code, Codex
stage-editOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA62Claude Code, Codex
design-system-importerOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA47Claude Code, Codex
orchestrationOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA99Claude Code, Codex
stage-assembleOrkas-AI/Orkas-VideoStudioSkill3442d agoMITA0Claude Code, Codex