video_edit
音视频剪辑工具箱。包含视频剪辑截取、音频剪辑截取、视频画面裁剪、视频拼接合并、音频拼接合并、视频合成/替换音频。当用户提到音视频剪辑、裁剪视频、合并视频、音频剪辑、视频配音时使用。
Skill by CoderWanFeng
Chalk Labs
Need help deploying video_edit?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/coderwanfeng-video-edit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/video-edit
What's inside
- Skill name
video_edit- Description
- 音视频剪辑工具箱。包含视频剪辑截取、音频剪辑截取、视频画面裁剪、视频拼接合并、音频拼接合并、视频合成/替换音频。当用户提到音视频剪辑、裁剪视频、合并视频、音频剪辑、视频配音时使用。
- License
- Apache-2.0
- Instructions
- 116 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
Files (2)
- SKILL.md
- __init__.py
SKILL.md (first lines)
# video_edit Skill
> 音视频剪辑功能集(截取、裁剪、拼接、配音/音轨替换)
## 功能描述
本 Skill 将所有音视频剪辑相关功能合并为一个统一的 API 模块,包含以下 6 个核心剪辑功能:
1. `cut_video`: 截取视频指定时间段片段
2. `cut_audio`: 截取音频指定时间段片段
3. `crop_video`: 裁剪视频画面的坐标区域与尺寸
4. `concat_videos`: 多个视频文件顺序拼接合并
5. `concat_audios`: 多个音频文件顺序拼接合并
6. `add_audio_to_video`: 视频合成/替换背景音乐或音频
## 所属分类
`office/skills/video/video_edit/`
## 调用方式
```python
from skills.video.video_edit import (
cut_video,
cut_audio,
crop_video,
concat_videos,
concat_audios,
add_audio_to_video,
)
```
或从 `skills.video` 模块导入:
```python
from skills.video import video_edit
video_edit.cut_video(video_path='./test.mp4', start_time='00:00:10', end_time='00:00:30')
```
## 功能与参数说明
### 1. 视频截取 `cut_video`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `video_path` | str | 是 | - | 视频文件路径 |
| `start_time` | float/str | 否 | `0` | 开始时间(秒数或格式如 `'00:01:10'`) |
| `end_time` | float/str | 否 | `None` | 结束时间(秒数或格式如 `'00:02:30'`,默认结尾) |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `None` | 输出文件名(默认原名后加 `_cut`) |
### 2. 音频截取 `cut_audio`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `audio_path` | str | 是 | - | 音频文件路径 |
| `start_time` | float/str | 否 | `0` | 开始时间(秒数或格式如 `'00:00:05'`) |
| `end_time` | float/str | 否 | `None` | 结束时间 |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `None` | 输出文件名 |
### 3. 画面裁剪 `crop_video`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `video_path` | str | 是 | - | 视频文件路径 |
| `x1` | int | 否 | `0` | 左上角 x 坐标 |
| `y1` | int | 否 | `0` | 左上角 y 坐标 |
| `x2` | int | 否 | `None` | 右下角 x 坐标 |
| `y2` | int | 否 | `None` | 右下角 y 坐标 |
| `width` | int | 否 | `None` | 裁剪宽度(可代替 x2) |
| `height` | int | 否 | `None` | 裁剪高度(可代替 y2) |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `None` | 输出文件名 |
### 4. 视频拼接 `concat_videos`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `video_list` | list[str] | 是 | - | 视频路径列表 |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `'concat_video.mp4'` | 输出文件名 |
### 5. 音频拼接 `concat_audios`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `audio_list` | list[str] | 是 | - | 音频路径列表 |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `'concat_audio.mp3'` | 输出文件名 |
### 6. 合成音频/配音 `add_audio_to_video`
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `video_path` | str | 是 | - | 视频文件路径 |
| `audio_path` | str | 是 | - | 音频文件路径 |
| `output_path` | str | 否 | `'./'` | 输出目录 |
| `output_name` | str | 否 | `None` | 输出文件名 |
## 使用示例
```python
from skills.video import video_edit
# 视频截取
video_edit.cut_video(video_path='./input.mp4', start_time=0, end_time=10)
# 视频合成音频
video_edit.add_audio_to_video(video_path='./input.mp4', audio_path='./music.mp3')
```
## 原始函数
- `office.api.video.cut_video`
- `office.api.video.cut_audio`
- `office.api.video.crop_video`
- `office.api.video.concat_videos`
- `office.api.video.concat_audios`
- `office.api.video.add_audio_to_video`From CoderWanFeng/python-office, Apache-2.0.
More from CoderWanFeng/python-office
- 0.727score
course
CoderWanFeng
显示 python-office 库的使用教程、群组信息、源码地址等。当用户提到 python-office 介绍、查看课程、帮助信息、资源链接时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
docx2doc
CoderWanFeng
将新版 Word 文档(.docx)转换为旧版(.doc)。当用户提到 docx 转 doc、新 Word 转旧 Word 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2img
CoderWanFeng
将 PowerPoint 转换为图片,可合并为一张长图或多张图。当用户提到 PPT 转图片、PPT 截图、PPT 转长图、幻灯片截图时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2pdf
CoderWanFeng
将 PowerPoint 文件转换为 PDF。当用户提到 PPT 转 PDF、幻灯片转 PDF、PPTX 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
url2ebook
CoderWanFeng
将网页 URL 转换为电子书。当用户提到网页转电子书、URL 转 ebook、网页转 EPUB、离线阅读网页、pospider 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
doc2docx
CoderWanFeng
将旧版 Word 文档(.doc)转换为新版(.docx)。当用户提到 doc 转 docx、旧 Word 转新 Word 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
merge2excel
CoderWanFeng
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
excel2pdf
CoderWanFeng
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
sheet2excel
CoderWanFeng
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
t0
CoderWanFeng
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税。当用户提到做 T、T+0、股票做 T、短线做 T 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
audio2txt
CoderWanFeng
从音频文件中提取文字(语音转文字),需要腾讯云 API 凭据。当用户提到音频转文字、语音识别、ASR、音频转字幕时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
docx2pdf
CoderWanFeng
将 Word 文档(.docx)转换为 PDF,支持单文件和整个文件夹批量转换。当用户提到 Word 转 PDF、docx 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9
Signals
- Stars
- 1,366
- Forks
- 304
- Open issues
- 32
- Last commit (this folder)
- Aug 12, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/CoderWanFeng/python-office
- Website
- www.python-office.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CoderWanFeng
- 0.727score
excel2pdf
CoderWanFeng
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2img
CoderWanFeng
将 PowerPoint 转换为图片,可合并为一张长图或多张图。当用户提到 PPT 转图片、PPT 截图、PPT 转长图、幻灯片截图时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
merge2excel
CoderWanFeng
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
sheet2excel
CoderWanFeng
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
t0
CoderWanFeng
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税。当用户提到做 T、T+0、股票做 T、短线做 T 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2pdf
CoderWanFeng
将 PowerPoint 文件转换为 PDF。当用户提到 PPT 转 PDF、幻灯片转 PDF、PPTX 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get video_edit running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
video_edit skill. Agent Mart. https://agentmart.dev/skills/coderwanfeng-video-edit (last updated 2026-10-24)