Screen Idle Video Cutter
Purpose
Use this skill to cut long static sections from screen recordings without spending tokens on video inspection. Prefer the bundled local script over manually reading screenshots or sampling video frames into the conversation.
Default policy:
- detect static screen regions locally with
ffmpeg, Pillow, and numpy
- treat
15 seconds of low visual change as idle
- keep
5 seconds before and after every removed static section
- preserve dynamic or uncertain footage
- produce both an auditable report and an edited video
When To Use
Use this skill when the user wants to:
- remove long no-action pauses from a screen recording
- shrink tutorial, coding, meeting, or workflow videos
- create a cut list before final video editing
- avoid high-token visual review of long videos
Do not use it for cinematic footage, scene-change editing, highlight detection, audio-based silence removal, or content-aware storytelling cuts.
Default Workflow
- Confirm the input path and output path if they are not obvious.
- For important source videos, run a dry run first:
python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp4 --dry-run --report report.json --segments segments.txt
- Review the report at a high level: detected static spans, removed spans, kept spans, and saved duration.
- Render the edited video:
python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp4 --report report.json --segments segments.txt
- If the result is too aggressive, rerun with a larger
--min-static-seconds, lower --sample-fps, or higher --diff-threshold. If it misses obvious pauses, lower --diff-threshold or --min-static-seconds.
Core Command
python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp4
Useful options:
--min-static-seconds 15
--guard-seconds 5
--sample-fps 1
--diff-threshold auto
--dry-run
--report report.json
--segments segments.txt
Token-Saving Rules
- Do not load the full video into context.
- Do not extract representative screenshots unless diagnosing a failed detection.
- Prefer the JSON report and segment list as the review surface.
- Keep first replies short: state the detected plan, command, and expected artifacts.
- Ask for confirmation only when overwrite behavior, paths, or cut aggressiveness are unclear.
Safety Rules
- Default to conservative cutting.
- Never remove a static span unless the removable interior remains positive after both guard windows are applied.
- Preserve all dynamic, uncertain, very short, or boundary-problem sections.
- Use
--dry-run for irreplaceable videos before rendering.
- Do not delete or overwrite source videos.
Output Contract
The script should create:
- edited video at
--output unless --dry-run is set
- JSON report at
--report when requested
- ffmpeg concat segment file at
--segments when requested
The report includes parameters, source duration, detected static spans, removed spans, kept spans, and estimated saved duration.
1---2name: screen-idle-video-cutter3description: Detect and remove long static idle sections from screen recordings with local ffmpeg frame sampling, conservative guard seconds, auditable reports, and low token usage.4version: 1.0.05updated_at: 2026-05-226metadata:7 source: https://skillmd.com/skills/jinhong270/screen-idle-video-cutter8---910# Screen Idle Video Cutter1112## Purpose1314Use this skill to cut long static sections from screen recordings without spending tokens on video inspection. Prefer the bundled local script over manually reading screenshots or sampling video frames into the conversation.1516Default policy:1718- detect static screen regions locally with `ffmpeg`, `Pillow`, and `numpy`19- treat `15` seconds of low visual change as idle20- keep `5` seconds before and after every removed static section21- preserve dynamic or uncertain footage22- produce both an auditable report and an edited video2324## When To Use2526Use this skill when the user wants to:2728- remove long no-action pauses from a screen recording29- shrink tutorial, coding, meeting, or workflow videos30- create a cut list before final video editing31- avoid high-token visual review of long videos3233Do not use it for cinematic footage, scene-change editing, highlight detection, audio-based silence removal, or content-aware storytelling cuts.3435## Default Workflow36371. Confirm the input path and output path if they are not obvious.382. For important source videos, run a dry run first:3940```bash41python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp4 --dry-run --report report.json --segments segments.txt42```43443. Review the report at a high level: detected static spans, removed spans, kept spans, and saved duration.454. Render the edited video:4647```bash48python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp4 --report report.json --segments segments.txt49```50515. If the result is too aggressive, rerun with a larger `--min-static-seconds`, lower `--sample-fps`, or higher `--diff-threshold`. If it misses obvious pauses, lower `--diff-threshold` or `--min-static-seconds`.5253## Core Command5455```bash56python3 scripts/screen_idle_cutter.py input.mp4 --output output.mp457```5859Useful options:6061```bash62--min-static-seconds 1563--guard-seconds 564--sample-fps 165--diff-threshold auto66--dry-run67--report report.json68--segments segments.txt69```7071## Token-Saving Rules7273- Do not load the full video into context.74- Do not extract representative screenshots unless diagnosing a failed detection.75- Prefer the JSON report and segment list as the review surface.76- Keep first replies short: state the detected plan, command, and expected artifacts.77- Ask for confirmation only when overwrite behavior, paths, or cut aggressiveness are unclear.7879## Safety Rules8081- Default to conservative cutting.82- Never remove a static span unless the removable interior remains positive after both guard windows are applied.83- Preserve all dynamic, uncertain, very short, or boundary-problem sections.84- Use `--dry-run` for irreplaceable videos before rendering.85- Do not delete or overwrite source videos.8687## Output Contract8889The script should create:9091- edited video at `--output` unless `--dry-run` is set92- JSON report at `--report` when requested93- ffmpeg concat segment file at `--segments` when requested9495The report includes parameters, source duration, detected static spans, removed spans, kept spans, and estimated saved duration.