agentleFS
BintzGavinBintzGavin/helios/skills/workflows/archive-broll/SKILL.md

archive-broll

Skill130 starsChanged 38 days agoApache-2.0View on GitHub

Find, preview, cut and credit archival B-roll from the Internet Archive (archive.org) for a Helios video — public-domain, CC BY and CC BY-SA film plus Prelinger Archives. Use when a Helios composition needs real footage as a plate, cutaway, masked fill or texture. Not for generating footage or editing the user's own camera video.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep CREDITS.md with the video, and put credits in the end card, description or project docs as the license requires (always for CC BY and …

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Archive B-roll

The Internet Archive holds millions of films: Prelinger Archives (industrial, educational, advertising), NASA, newsreels, home movies and Creative Commons uploads. No API key is needed. scripts/archive-broll.mjs (Node 18+, ffmpeg for clip) wraps three endpoints:

CommandEndpointDoes
searchadvancedsearch.phpLists movie items with reusable rights
inspectmetadata/<id>Picks the best MP4, saves thumbnails named by second offset
clipdownload/<id>/<file>Cuts only the seconds you need over HTTP, writes credits

1. Search

node <this-skill>/scripts/archive-broll.mjs search "factory assembly line" --rows 12
node <this-skill>/scripts/archive-broll.mjs search "city traffic" --collection prelinger --years 1945-1965
node <this-skill>/scripts/archive-broll.mjs search 'title:(rocket launch)' --collection nasa --json

Terms use Archive search syntax (title:(...), subject:(...), AND, OR); results are ranked by relevance (--sort downloads for popularity). Every result carries a rights label:

LabelMeaning
public-domainPublic-domain mark or CC0. Credit anyway.
cc-byCredit required.
cc-by-saCredit required, and the finished video must use the same license. Tell the user before using it in a commercial video.
collection-policyNo item license; the collection publishes a rights statement (Prelinger Archives). Credit the collection and link the statement.

Non-commercial, no-derivatives and unknown-rights items are left out. --include-unknown shows unknown items; use one only after the user confirms they hold the rights. Labels come from uploader metadata: they're a filter, not legal advice. Flag anything that looks like a commercial film, TV show or trademark-heavy footage even when it's labelled public domain.

2. Preview

node <this-skill>/scripts/archive-broll.mjs inspect <identifier> --out videos/<slug>/broll --thumbs 16

Writes item.json and thumbnails named by offset (00450s.jpg = 7:30 in). Open them with your image tool and pick start times. --large grabs sharper 640 px frames with ffmpeg when the archive's 160 px thumbnails aren't enough.

3. Cut

node <this-skill>/scripts/archive-broll.mjs clip <identifier> --start 450 --duration 3 \
  --out videos/<slug>/broll --name traffic-01.mp4

Output is H.264, no audio (--audio keeps it), short keyframe interval so per-frame seeking stays cheap; --width 1920 upscales. Cut about 0.5 s extra on each side for transitions. Each clip appends to CREDITS.md and credits.json in the output folder.

4. Use in the page

The renderer seeks every <video> to (t - data-helios-offset) + data-helios-seek before each frame and waits for it.

DOM page: place it and style it.

<video id="plate" src="broll/traffic-01.mp4" muted playsinline preload="auto"
       data-helios-offset="4.0" data-helios-seek="0.5"></video>

Canvas page: keep the same hidden <video> (style="display:none"), and wait for its seek inside renderAt before drawing:

const plate = document.getElementById('plate');
const settled = (v) => (v.seeking || v.readyState < 2)
  ? new Promise((r) => { v.addEventListener('seeked', r, { once: true }); v.addEventListener('canplay', r, { once: true }); })
  : null;

window.renderAt = async (t) => {
  await ready;
  if (t >= 4.0) { await settled(plate); ctx.drawImage(plate, 0, 0, W, H); }
  // ...
};

Make the footage belong to the look: grade it with an SVG colour matrix, mix-blend-mode, or by drawing it into the style's plates (duotone, halftone, ink density). Most archive film is 4:3 SD from the 1940s–70s: masks, frames and collage suit it better than full-bleed. Check a sheet to confirm the clip moves between frames.

5. Credit

Keep CREDITS.md with the video, and put credits in the end card, description or project docs as the license requires (always for CC BY and CC BY-SA). List the clips and their rights when you hand over.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.