cleanup-project
Skill2 starsChanged 7 months agoMITView on GitHub
Удаляет промежуточные файлы из projects/<name>/output/ — оставляет только 5 финальных файлов для публикации в Instagram (видео, обложка, caption, first_comment, hashtags). Запускать последним в пост-продакшне.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- concat-segmentsSkill
- generate-coverSkill
- generate-html-slideSkill
- generate-photoSkill
- generate-videoSkill
- resize-assetSkill
- subtitleSkill
- transcribeSkill
- validate-scriptSkill
The file
Files
Skill: cleanup-project
Финальный шаг пост-продакшна. Оставляет в projects/<name>/output/ ровно 5 файлов:
final_video_subs.mp4
cover_final.png
caption.txt
first_comment.txt
hashtags.txtВсё остальное (transcripts, cover_candidates, slide versions, webm-бэкапы, analysis.json) удаляется.
Usage
python .claude/skills/cleanup-project/cleanup.py projects/<name>/Флаги
--keep-transcripts— оставитьtranscript.txt,transcript.srt,subtitles.ass(на случай ручной правки в CapCut)--dry-run— показать что будет удалено, не удалять
Поведение
- Если
final_video_subs.mp4отсутствует, но естьrecording_full.mp4→ переименовывает вfinal_video_subs.mp4(субтитры были пропущены) - Идемпотентен: повторный запуск не падает, если файлы уже удалены
- Не трогает
assets/,01_trend.md,02_script.json— толькоoutput/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

