跳到正文
Skillpedia
视频剪辑58k · #3236

cli-anything-openscreen

它能做什么

这个技能让 AI 智能体把原始屏幕录制变成精致的演示视频。适合制作教程、产品演示或操作讲解的人。

适用场景

  • ✓当你想剪掉屏幕录制开头或结尾部分的时候。
  • ✓当你需要添加缩放效果来突出屏幕某个部分的时候。
  • ✓当你想加快一段较慢的内容,并导出成品视频的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/openscreen/agent-harness/cli_anything/openscreen/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/openscreen/agent-harness/cli_anything/openscreen/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我把屏幕录制剪到前两分钟,并导出成品视频。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体编辑一个记录每项更改的项目文件,然后使用 ffmpeg 渲染最终视频。每项更改都会保存为一个步骤,之后仍可调整。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

cli-anything-openscreen

A stateful command-line interface for editing screen recordings. Transform raw captures into polished demo videos with zoom effects, speed adjustments, trimming, annotations, and beautiful backgrounds.

Installation

pip install cli-anything-openscreen

Prerequisites:

  • Python 3.10+
  • ffmpeg must be installed on your system

Usage

Basic Commands

cli-anything-openscreen --help
cli-anything-openscreen                     # REPL mode
cli-anything-openscreen project new -v recording.mp4 -o project.openscreen
cli-anything-openscreen --json project info

REPL Mode

Run cli-anything-openscreen without arguments to enter interactive mode. Type help for available commands, quit to exit.

Command Groups

project

Create, open, save, and configure projects.

Command Description
project new [-v VIDEO] [-o PATH] Create new project with optional video
project open <path> Open existing .openscreen project
project save [-o PATH] Save project to file
project info Show project metadata and region counts
project set-video <path> Set source video file
project set <key> <value> Set editor setting (padding, wallpaper, etc.)

zoom

Manage zoom regions — smooth zoom effects on specific timeline areas.

Command Description
zoom list List all zoom regions
zoom add --start MS --end MS [--depth 1-6] [--focus-x 0-1] [--focus-y 0-1] Add zoom
zoom remove <id> Remove zoom region

Zoom depths: 1=1.25x, 2=1.5x, 3=1.8x, 4=2.2x, 5=3.5x, 6=5.0x

speed

Manage speed regions — speed up idle time, slow down important moments.

Command Description
speed list List all speed regions
speed add --start MS --end MS [--speed 0.25-2.0] Add speed change
speed remove <id> Remove speed region

Valid speeds: 0.25, 0.5, 0.75, 1.25, 1.5, 1.75, 2.0

trim

Manage trim regions — cut out sections of the recording.

Command Description
trim list List all trim regions
trim add --start MS --end MS Cut out a section
trim remove <id> Remove trim region

crop

Set the visible area of the recording.

Command Description
crop get Show current crop region
crop set --x 0-1 --y 0-1 --width 0-1 --height 0-1 Set crop (normalized)

annotation

Add text overlays to the recording.

Command Description
annotation list List all annotations
annotation add-text --start MS --end MS --text "..." [--x 0-1] [--y 0-1] Add text
annotation remove <id> Remove annotation

media

Inspect and validate media files.

Command Description
media probe <path> Show video metadata (resolution, duration, codec)
media check <path> Validate a video file
media thumbnail <input> <output> [-t TIME] Extract a frame

export

Render the final polished video.

Command Description
export presets List available export presets
export render <output_path> Render project to video file

preview

Capture truthful review bundles from the current Openscreen project.

Command Description
preview recipes List available preview recipes
preview capture --recipe quick Render a low-res preview bundle
preview latest [--recipe quick] Return the latest existing bundle

Current preview support is static rather than live. A quick bundle typically contains:

  • a low-res preview clip
  • sampled frames
  • a hero frame for quick inspection
  • summary.json with trim/zoom/speed facts

Bundle capture also writes or updates a stable recipe-level trajectory.json beside the preview root so agents can reconstruct preview history over time.

Viewer commands:

cli-hub previews inspect /path/to/bundle
cli-hub previews html /path/to/bundle -o page.html
cli-hub previews open /path/to/bundle

session

Manage session state with undo/redo.

Command Description
session status Show session info
session undo Undo last operation
session redo Redo last undone operation
session save Save session state to disk
session list List all saved sessions

State Man

常见问题

我需要安装什么?

该技能需要你的电脑上安装 Python 3.10 或更高版本,以及视频工具 ffmpeg。

它可以更改背景吗?

可以。该技能提供壁纸和视频周围留白的设置。

它可以添加文字或高亮吗?

可以。标注是编辑选项的一部分。

详情

作者的原始描述

Command-line interface for Openscreen — a screen recording editor. A stateful CLI for editing screen recordings with zoom, speed ramps, trim, crop, annotations, and polished exports. Built on the Openscreen JSON project format with ffmpeg as the rendering backend. Designed for AI agents and power users who need programmatic video editing.

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3236
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能