Agent Skillsbarefootford/buttercut › reprocess-with-contact-sheets

reprocess-with-contact-sheets

GitHub

将旧版视频分析库迁移至新版流程,重置视觉层并重建联系表与摘要,保留音频转录及剪辑数据。

skills/reprocess-with-contact-sheets/SKILL.md barefootford/buttercut

Trigger Scenarios

用户希望将旧版处理过的媒体库升级至新的视觉分析管道 需要重新生成联系表和摘要以更新视觉元数据

Install

npx skills add barefootford/buttercut --skill reprocess-with-contact-sheets -g -y
More Options

Use without installing

npx skills use barefootford/buttercut@reprocess-with-contact-sheets

指定 Agent (Claude Code)

npx skills add barefootford/buttercut --skill reprocess-with-contact-sheets -a claude-code -g -y

安装 repo 全部 skill

npx skills add barefootford/buttercut --all -g -y

预览 repo 内 skill

npx skills add barefootford/buttercut --list

SKILL.md

Frontmatter
{
    "name": "reprocess-with-contact-sheets",
    "description": "Reset a library's visual analysis (contact sheets, summaries, legacy visual_transcripts) and re-run the current analyze-video pipeline on it. Keeps audio transcripts, cuts, plans, and library metadata. Use when a library was processed under the older pipeline and the user wants to bring it onto the contact-sheet-based one."
}

Skill: Reprocess With Contact Sheets

Bring a library that was analyzed under the old pipeline (visual_transcripts, no contact sheets) onto the current one (audio transcript + contact sheet + summary). Audio transcripts and any cuts/plans the user has already built are preserved — only the visual layer is rebuilt.

Step 1 — Pick the library

If the user named a library, use it. If not, list candidates with ruby lib/buttercut/library.rb recent and use AskUserQuestion to pick one.

Verify it exists and read the snapshot:

ruby lib/buttercut/library.rb <name> exists
ruby lib/buttercut/library.rb <name> summary

Run any schema migrations from AGENTS.md → Critical Principles before touching anything else.

Step 2 — Confirm with the user

This is destructive. Tell the user, in plain terms, what will happen:

  • Contact sheets, summaries, and any legacy visual_*.json transcripts will be deleted.
  • Audio transcripts are kept — no re-transcription.
  • cuts/, plans/, and library metadata (footage_summary, user_context, editor, etc.) are untouched.

Use AskUserQuestion with a clear yes/no before proceeding. Don't reset on assumption.

Step 3 — Backup first

Always back up before the reset — this step is mildly risky and a fresh archive is the cheapest insurance. Run the backup-library skill against the chosen library and wait for it to finish before touching anything else. If the backup fails, stop and surface the error; don't proceed to the reset.

Step 4 — Reset

One command wipes contact sheets, summaries, and legacy visual transcripts and clears the matching fields on every clip:

ruby lib/buttercut/library.rb <name> reset_all_except_audio_transcripts

If a clip is missing its audio transcript (some libraries predate even that), the analyze-video skill's footage-processing step (transcripts) will fill it in on the next step — no special handling here.

Step 5 — Re-run analysis

Hand off to skills/analyze-video/SKILL.md end-to-end. Skip the audio-transcript pass for any clip that already has transcript set in the snapshot; run contact sheets and summaries for every clip. The confirm-footage-understanding pass is still worth doing — the new summaries may surface details the old visual_transcripts missed.

Verify readiness before reporting done:

ruby lib/buttercut/library.rb <name> ready

Version History

  • 5d62523 Current 2026-08-20 12:44

Same Skill Collection

skills/analyze-video/SKILL.md
skills/backup-library/SKILL.md
skills/buttercut/SKILL.md
skills/contact-sheet/SKILL.md
skills/create-library/SKILL.md
skills/cut/SKILL.md
skills/full-transcript/SKILL.md
skills/misc-task/SKILL.md
skills/process-library/SKILL.md
skills/report-bug/SKILL.md
skills/request-feature/SKILL.md
skills/setup/SKILL.md
skills/transcribe-audio/SKILL.md
skills/update-buttercut/SKILL.md
skills/bc/SKILL.md

Metadata

Files
0
Version
5d62523
Hash
aa5e7916
Indexed
2026-08-20 12:44

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-07 02:43
浙ICP备14020137号-1 $Carte des visiteurs$