360 Secure SkillHub
360 安全技能中心

Public-domain match cut

用户给出锚点形状、时长、画幅和镜头数后,该 Skill 从指定的公共领域/CC0 图库检索并下载图片,核验许可与锚点位置,生成 manifest,预览对齐,再用 Python 与 ffmpeg 渲染无声匹配剪辑 mp4,并输出 credits.md;不负责音乐、字幕、调色或发布。

分类:创作
arm-pz
arm-pz
热度 0.00
最近更新 2026-12-05 11:40:28

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add arm-pz/public-domain-match-cut
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
public-domain-match-cut
description
Make a short match-cut video (a 3-10 second loop of fast cuts where one shape, like a circle, stays in the same spot while the picture changes) using only public-domain or CC0 images pulled from museum and archive libraries, then render it to mp4 with a credits file. Use when someone asks for a match cut, a shape-morph or "everything is a circle" montage, a rapid-cut video from free or copyright-safe images, or says "make me a video of round things from Wikimedia, the Met and NASA" with no stock fees or editing skills. Not for editing footage the user already shot (use their video editor), for a storyboard of an existing reel (use reel-cutaway-storyboard), for AI-generated video or images, or for general stock-photo sourcing with no video.
version
0.1.1
metadata
{"openclaw":{"requires":{"anyBins":["python3","ffmpeg"],"pip":["pillow"]},"homepage":"https://skillsmith.tech/"}}

Public-domain match cut

A match cut keeps one visual anchor fixed while everything around it changes: a clock face becomes a plate, then the Moon, then a painted halo. This skill builds one from images that are free to reuse, and renders it without a video editor.

Method adapted from the 4-step thread by Simplifying AI (@simplifyinAI, original post). The thread's idea: restrict the agent to ten free image libraries, describe the cut in one sentence, and let the agent search, line up the shapes and render. This version adds a licence check on every image, a credits file, and a tested alignment-and-render script.

Ground rules

  • Only the ten libraries, only public-domain or CC0 items. A library being "open" does not make every item free. Record the licence the item's own page states, and drop anything else. references/sources.md lists the libraries, download rules and their traps.
  • Never invent a licence or a source link. If the page does not state one, the image is out. Write a canonical licence string the build script accepts (CC0, Public domain, Public Domain Mark, PDM, Public domain (NASA), No known copyright restrictions); mixed sentences such as "public domain in some countries" are rejected.
  • Say what you did not check. If a library's API was unreachable (some block automated requests), report it and use the others.

Steps

  1. Pin the brief. Get the anchor shape (circle by default; triangle, star, arch or rectangle work the same way), the length (default 5 seconds), the shape of the frame (default 1080x1080), and the number of shots (default 12, so each shot is about 0.4 seconds). An optional end card (end_card.text, default 2 seconds) can hold a title such as a site name. Do not ask more than that; choose defaults and say them.
  2. Fix the source list. Write down, and keep to, this list as the only allowed libraries: Wikimedia Commons, Europeana, Internet Archive, Library of Congress, Smithsonian Open Access, Rijksmuseum, The Met, New York Public Library, NASA Image Library, National Gallery of Art.
  3. Search for the shape. Query each reachable library for objects that contain the shape (plates, clocks, coins, planets, windows, wheels for circles). Use references/sources.md for endpoints, download rules and the licence field to read. Aim for 2 to 3 times as many candidates as shots, and spread them across at least four libraries so the cut feels varied.
  4. Download and vet. Keep a file per candidate and the facts that go in the credits: title, creator, library, licence text, page URL. Follow the download notes in references/sources.md (User-Agent and throttling on Commons, https on NASA, per-object checks at the Met, trusted collections on the Internet Archive). Discard anything with a non-public-domain licence, a failed Pillow open, a visible watermark, people-as-subjects where a model release could matter, or a shape that is cropped by the frame edge. Clean creator strings (strip HTML; collapse doubled Commons labels such as "Unknown artistUnknown artist").
  5. Locate the anchor in each image. Open each kept image and record the shape's centre (cx, cy) and radius r in source pixels of the file you downloaded, not the original's listed size. For a non-circle, use the bounding-circle that contains the shape. Follow references/alignment.md for how to estimate this and how to order shots (alternate dark and light, vary the scene scale, put the strongest image last).
  6. Write the manifest. Save manifest.json next to the images in the format documented at the top of scripts/build_match_cut.py. One entry per shot, every field filled in. If the brief needs a title card, add end_card there. Then run python scripts/preview_anchor.py manifest.json and nudge any circle that does not hug the shape; a 3% miss shows as drift.
  7. Check, then render. Needs ffmpeg and Pillow (pip install pillow). Run python scripts/build_match_cut.py check manifest.json. Fix every FAIL (it rejects non-public-domain licence strings, missing files, centres outside the image, and too many shots for the length). Treat coverage WARNs seriously: a low target.r (default 0.38) leaves a sharp photo rectangle on a blurred backdrop. Then run python scripts/build_match_cut.py render manifest.json. It places each image so its shape lands on the same spot at the same size, fills uncovered edges with a blurred copy of the picture, appends the end card if one is in the manifest, and writes the mp4 plus <output>.credits.md.
  8. Look at it before handing it over. The render command prints mid-shot frame numbers. Pull those three frames with ffmpeg (ffmpeg -i out.mp4 -vf "select=eq(n\,N1)+eq(n\,N2)+eq(n\,N3)" -fps_mode passthrough frame%d.png) and confirm the shape sits in the same place in each. Do not use the first frame of a shot, which can land on a cut. If one drifts, correct its cx, cy, r, re-run the preview, and re-render.
  9. Report. Give the video path, the credits file, how many images came from which library, any library that could not be reached, and the swap line: change the shape word in step 1 to make another cut.

Reading the references

  • references/sources.md: open before step 3, for each library's search method, download rules, the licence field to trust, and known traps.
  • references/alignment.md: open before step 5, for estimating the anchor, the default target, previewing and pacing.

Boundary

Owns: sourcing public-domain images around one shape and rendering a silent match cut, with an optional end card. Stops at the mp4 and credits. Music, captions, colour grading and posting are the user's choice or another tool's.