跳到正文
cccskills
免费在 GitHub 公开

cli-anything-openscreen

Edit screen recordings from the command line with zoom effects, speed changes, cuts, cropping, and text annotations. Adjust backgrounds and framing, review rendered previews, and export the finished video as MP4 or GIF.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Create a demo video from a screen recording
  • Zoom in on important steps
  • Cut or speed up waiting time
  • Add text annotations to explain actions
  • Review a preview before exporting

包含的文件(1)

  • SKILL.md6.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

CommandDescription
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 infoShow 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.

CommandDescription
zoom listList 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.

CommandDescription
speed listList 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.

CommandDescription
trim listList all trim regions
trim add --start MS --end MSCut out a section
trim remove <id>Remove trim region

crop

Set the visible area of the recording.

CommandDescription
crop getShow current crop region
crop set --x 0-1 --y 0-1 --width 0-1 --height 0-1Set crop (normalized)

annotation

Add text overlays to the recording.

CommandDescription
annotation listList 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.

CommandDescription
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.

CommandDescription
export presetsList available export presets
export render <output_path>Render project to video file

preview

Capture truthful review bundles from the current Openscreen project.

CommandDescription
preview recipesList available preview recipes
preview capture --recipe quickRender 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.

CommandDescription
session statusShow session info
session undoUndo last operation
session redoRedo last undone operation
session saveSave session state to disk
session listList all saved sessions

State Management

  • Undo/Redo: Up to 50 levels of undo history
  • Project persistence: JSON .openscreen files
  • Session tracking: auto-tracks modifications

Output Formats

  • Human-readable (default): Formatted key-value pairs
  • Machine-readable (--json): Structured JSON output

Editor Settings

SettingTypeDefaultDescription
aspectRatiostring"16:9"16:9, 9:16, 1:1, 4:3, 4:5
wallpaperstring"gradient_dark"Background preset
paddingint500-100, padding around video
borderRadiusint12Corner radius in pixels
shadowIntensityfloat00-1, drop shadow strength
motionBlurAmountfloat00-1, motion blur during zoom
exportQualitystring"good"medium, good, source
exportFormatstring"mp4"mp4, gif

For AI Agents

  1. Always use --json for parseable output
  2. Check return codes — 0 = success, non-zero = error
  3. Parse stderr for error messages in non-JSON mode
  4. Use absolute file paths
  5. After export render, verify the output exists and probe it
  6. Times are in milliseconds for all region commands
  7. Coordinates (focus, crop, position) are normalized 0-1
  8. Use preview capture --json to validate zoom, trim, annotation, and timing visually
  9. Read returned bundle artifact paths from the JSON payload; images and clips live on disk
  10. Use cli-hub previews ... only to inspect/open existing bundles

Version

1.0.0

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use Reasonix to build or improve a Python command-line interface for existing software. The workflow covers source analysis, interactive commands, JSON output, tests, documentation, and installation checks using the software’s own backend where possible.

中文简介正在准备中。当前显示英语简介。

  • Build command-line access to a GUI application
  • Add missing features to an existing command-line interface
  • Test commands against the actual software backend
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Build and improve Python command interfaces for GUI applications with OpenClaw. The skill guides source analysis, command design, testing, and packaging, including interactive sessions and structured JSON output for agents.

中文简介正在准备中。当前显示英语简介。

  • Build a command interface for a GUI application
  • Add missing commands to an existing interface
  • Test workflows against the actual application
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Use Codex to build Python command-line tools for applications with graphical interfaces. Analyze source code, add commands, test against the actual software, validate packaging and documentation, and discover tools already generated or installed.

中文简介正在准备中。当前显示英语简介。

  • Build a command-line tool from application source code
  • Extend an existing tool with more commands
  • Test behavior against the actual application
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Inspect and edit 3MF files for 3D printing. Detect cylindrical holes, change their diameters, repair mesh issues, and compare files while preserving BambuStudio and PrusaSlicer metadata when repacking the edited file.

中文简介正在准备中。当前显示英语简介。

  • Detect cylindrical holes and check their diameters
  • Resize selected holes to a target diameter
  • Repair degenerate faces and duplicate vertices
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Manage AdGuard Home network filtering from the command line. Update blocklists, register devices, configure DNS rules that map names to addresses, and inspect query logs and statistics through the AdGuard Home REST API.

中文简介正在准备中。当前显示英语简介。

  • Adding and refreshing ad-blocking filter lists
  • Mapping local domain names to IP addresses
  • Registering devices and managing fixed address assignments
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Generate slides, documents, websites, and diagrams from natural language prompts through AnyGen OpenAPI. Manage reference uploads, check generation progress, and download finished files using commands with structured output for AI agents.

中文简介正在准备中。当前显示英语简介。

  • Generate slides or documents from written instructions
  • Upload reference files for a generation task
  • Check generation progress and download finished files
HKUDS/CLI-Anything5.5万2026年9月22日 更新

查看 HKUDS 的全部技能

报告此技能的问题