cli-anything-openscreen — скилл монтажа видео для Claude Code
Скилл для Claude Code, который даёт агенту CLI для монтажа скринкастов: зумы, скорость, обрезка, кроп, текстовые подписи и рендер через ffmpeg.
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a claude-codeЧто делает cli-anything-openscreen
Скилл ставит в проект состояние CLI cli-anything-openscreen — обёртку над редактором записей экрана Openscreen. Агент собирает проект из записи (project new -v recording.mp4 -o project.openscreen), набирает правки и выводит готовый файл командой export render. Проект лежит в JSON-файле .openscreen, рендерит ffmpeg.
Правки живут регионами на таймлайне: zoom, speed, trim, annotation, плюс crop для видимой области. Время везде в миллисекундах, координаты фокуса и кропа нормализованы от 0 до 1. История отката держит 50 шагов, --json даёт разбор ответов, а preview capture --recipe quick пишет клип низкого разрешения, отдельные кадры и summary.json — рамку и тайминги можно проверить глазами до финального прохода.
Нужны Python 3.10+ и ffmpeg в системе. Без ffmpeg на машине export render не даст файл, так что это первое, что стоит проверить. Если демо-ролики повторяются и шаги хочется прогонять заново, а не кликать в GUI, скилл окупается быстро.
Какие задачи решает
- нарезать паузы и мусор из записи регионами
trim - добавить плавный зум на важный фрагмент таймлайна
- ускорить простой участок или замедлить ключевой момент
- наложить текстовую подпись с привязкой ко времени
- отрендерить mp4 или gif из готового проекта
Примеры запросов агенту
- Собери проект из recording.mp4, вырежи паузы через
trimи отрендерь в demo.mp4. - Пробеги по таймлайну и поставь зум на тот участок, где открывается меню настроек. Затем собери превью, я посмотрю.
- Проверь demo.mp4 через
media probeпосле рендера и скажи, совпадает ли длительность с проектом.
Как установить cli-anything-openscreen
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a claude-code2Вручную: положить файлы
~/.claude/skills/cli-anything-openscreen/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cli-anything-openscreen/
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a codex2Вручную: положить файлы
.agents/skills/cli-anything-openscreen/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a cursor2Вручную: положить файлы
.cursor/skills/cli-anything-openscreen/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install HKUDS/CLI-Anything cli-anything-openscreen2Вручную: положить файлы
.github/skills/cli-anything-openscreen/SKILL.md1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a gemini-cli2Командой платформы
gemini skills install https://github.com/HKUDS/CLI-Anything --path skills/cli-anything-openscreenВручную: положить файлы
.devin/skills/cli-anything-openscreen/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о cli-anything-openscreen
Как установить cli-anything-openscreen в Claude Code?
Одна команда: npx skills add HKUDS/CLI-Anything --skill cli-anything-openscreen -a claude-code. Файл скилла появится по пути ~/.claude/skills/cli-anything-openscreen/SKILL.md.
Что делает cli-anything-openscreen?
Даёт агенту командную строку для правки скринкастов: зум, изменение скорости, обрезка, кроп, подписи и рендер в mp4 или gif. Проект хранится в .openscreen, рендер идёт через ffmpeg.
Что нужно для работы скилла?
Python 3.10+ и установленный ffmpeg. Без ffmpeg рендер не пройдёт, остальные команды правки проекта при этом работают.
Исходный текст
SKILL.md · Apache-2.0
--- name: "cli-anything-openscreen" description: >- 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. --- # 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 ```bash pip install cli-anything-openscreen ``` **Prerequisites:** - Python 3.10+ - ffmpeg must be installed on your system ## Usage ### Basic Commands ```bash 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: ```bash 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 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 | Setting | Type | Default | Description | |---------|------|---------|-------------| | `aspectRatio` | string | "16:9" | 16:9, 9:16, 1:1, 4:3, 4:5 | | `wallpaper` | string | "gradient_dark" | Background preset | | `padding` | int | 50 | 0-100, padding around video | | `borderRadius` | int | 12 | Corner radius in pixels | | `shadowIntensity` | float | 0 | 0-1, drop shadow strength | | `motionBlurAmount` | float | 0 | 0-1, motion blur during zoom | | `exportQuality` | string | "good" | medium, good, source | | `exportFormat` | string | "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
© HKUDS · Apache-2.0 · HKUDS/CLI-Anything