Claude Code slash command

Claude Code Auto Video Edit

A Claude Code slash command that automates A-roll rough cuts | 达芬奇自动口播视频粗剪:Whisper 转写 → 智能分析剪辑点 → 生成达芬奇时间线 + SRT 字幕

125 stars 16 forksSlash commands Source

Install

From source
git clone https://github.com/DayadaUP/claude-code-auto-video-edit.git

From the README

claude-code-auto-video-edit

一个 Claude Code 斜杠命令,自动完成口播/教程类视频的 A-roll 粗剪。

丢一个素材文件夹进去 → 自动转写、识别好坏 take、去掉静音 → 在达芬奇里生成可直接编辑的 时间线 + SRT 字幕。

它做了什么

核心逻辑:很多创作者录制时会在满意的 take 后说 "OK",不满意时说 "pass"/"重来"。这个工具能识别这些口头标记,自动只保留最佳 take。如果你录制时不说标记词也没关系——它会保留所有语音段落,只切掉静音。

环境要求

- Claude Code(CLI 或 IDE 插件)
- FFmpeg — 音频提取和静音检测
- OpenAI Whisper — 语音转写(pip install openai-whisper)
- DaVinci Resolve(免费版或 Studio 版)— 执行脚本时需要打开

安装

把 aroll.md 复制到你项目的 .claude/commands/ 目录:

搞定,/aroll 命令就可以用了。

使用方法

在 Claude Code 中输入:

或者直接输入 /aroll,助手会主动问你:
- 素材文件夹路径
- 横屏还是竖屏
- 项目名称(可选)
- 帧率(可选,默认 23.976)
- 语言(可选,默认自动检测)

助手会依次:
1. 扫描并列出素材文件
2. 用 Whisper 转写全部音频
3. 分析剪辑点,展示决策列表
4. 等你确认后才执行
5. 生成达芬奇时间线 + SRT 字幕

保留/丢弃逻辑

同一句话录了多遍?只保留最后一个好 take(离 keep 标记最近的那个)。

自定义

直接用自然语言告诉助手就行:

- *"用 29.97 帧率和 1080p"*
- *"我的保留标记是 'nice',丢弃标记是 'nope'"*
- *"静音阈值 -40dB,我这环境比较吵"*
- *"用 whisper large 模型,精度高一些"*

完整配置表见 aroll.md。

平台说明

- macOS:开箱即用,默认路径适配标准达芬奇安装
- Windows / Linux:生成的脚本中有注释,标明了需要修改路径的位置

claude-code-auto-video-edit (English)

A Claude Code slash command that automates A-roll rough cuts for talking-head and voiceover videos.

Give it a folder of clips → it transcribes, detects good/bad takes, removes silence, and builds a ready-to-edit DaVinci Resolve timeline with synced SRT subtitles.

What it does

The key insight: many creators say "OK" after a good take and "pass" / "again" after a bad one. This skill understands those spoken markers and automatically keeps only the best takes. If you don't use markers, it still works — it'll keep all speech segments and just cut the silence.

Requirements

- Claude Code (CLI or IDE extension)
- FFmpeg — for audio extraction and silence detection
- OpenAI Whisper — for transcription (pip install openai-whisper)
- DaVinci Resolve (Free or Studio) — must be running when the…
Read the full README on GitHub

How custom slash commands work

  • A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
  • Arguments you type after the command are passed in as $ARGUMENTS.
  • If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Claude Code docs

Details

License
MIT
Last updated
6 April 2026
Topics
arollauto-editclaude-codedavinci-resolveffmpegrough-cutskillskillssrtsubtitlevideo-editingwhisper

FAQ

What is Claude Code Auto Video Edit?

A Claude Code slash command that automates A-roll rough cuts | 达芬奇自动口播视频粗剪:Whisper 转写 → 智能分析剪辑点 → 生成达芬奇时间线 + SRT 字幕 It is a slash command for Claude Code, from DayadaUP/claude-code-auto-video-edit on GitHub.

How do I install Claude Code Auto Video Edit?

Clone DayadaUP/claude-code-auto-video-edit from GitHub and follow the setup steps in its README.

Is Claude Code Auto Video Edit popular?

DayadaUP/claude-code-auto-video-edit has 125 GitHub stars and 16 forks. It was last updated on 6 April 2026.

More slash commands

Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.