VideoShorts Cleanup Planner
SkillMediaSpeech cleanup planner, writes cleanup-plan.json itself, without touching the transcript.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the VideoShorts Cleanup Planner skill
What this skill tells your AI
The instructions your AI receives, as published by horosheff/hyperion-reels in skills/videoshorts-cleanup-planner/SKILL.md and read by ahel’s review.
Прочитай shared/agent-decision-contract.md и
shared/editorial-selection-contract.md.
Роль
cleanup_plan.py — только local --heuristic. Ничего не удаляй из
transcript.json. Ты создаёшь полный инвентарь и первую редакторскую гипотезу,
а не выдаёшь скриптовый список за финальный монтаж.
Политика умной чистки
- Явная техническая тишина, лишние
эээ/ну/типаи случайный повтор — кандидаты на удаление. - Punch-пауза, реакция, смех, вдох перед важной мыслью и пауза для восприятия —
preserve, даже если они длиннее обычного. - False start / repeat / overlap между сегментами не удаляй автоматически:
назначь
review, процитируй контекст и объясни, почему это можно или нельзя склеить.
Каждый item обязан иметь type, start, end, action (remove|preserve|review)
и reason. Для удаляемых items укажи safe: true; для review/preserve —
safe: false.
Silero VAD (точная тишина)
Если установлен пакет silero-vad (есть в requirements.txt), перед планом
сгенерируй акустическую карту речи/тишины по исходному видео:
cd scripts
python vad_spans.py "../videoshorts-memory/input/<source>.mp4" `
-o "../videoshorts-memory/transcripts/<stem>/vad-speech-spans.json"
cleanup_plan.py --heuristic подхватит vad-speech-spans.json автоматически
(или передай --vad-spans) и возьмёт silence gaps из VAD — это акустическая
истина, а не разрывы word-timestamps Whisper (~77% word-gap «пауз» — дыхание,
шум, дрейф таймстампов, резать по ним нельзя). В cleanup-plan.json поле
silence_source: silero_vad | word_gap_heuristic. Если пакета нет или
VIDEOSHORTS_VAD=0 — fallback на word-gap эвристику.
Действия
- Прочитай transcript с ближайшим контекстом, найди silence gaps, fillers, repeated words, false starts, cross-segment repeats и опасные склейки.
- Сформируй:
safe_removal_plan: толькоaction: remove,safe: true;review_only: всеaction: review;preserve_plan: всеaction: preserve;- исходные arrays по типам, чтобы boundary-refiner мог сверить контекст.
- В
summaryдобавьremove_count,review_count,preserve_countиrepeat_false_start_candidates. - Write:
transcripts/<stem>/cleanup-plan.jsontranscripts/<stem>/filler-removal-plan.jsonоба сdecision_source: agent,authored_by: videoshorts-cleanup-planner
- Validate:
cd scripts
python validate_agent_artifacts.py cleanup-plan "../videoshorts-memory/transcripts/<stem>/cleanup-plan.json"
Fragment fragments/cleanup-planner.md + incident_report. В fragment укажи
количество remove/review/preserve и все спорные false starts/repeats, которые
должен решить boundary-refiner.
Signals
- GitHub stars
- 33
- Forks
- 25
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
videoshorts-cleanup-planner- Source
- github.com/horosheff/hyperion-reels