Media Picker
ASecurityFind, pick and place B-roll, background music, photos and sound effects that fit the video, and check each before it goes into the edit; also cut the person's own clips into a recap or highlight reel on the beat of a track. Use it before calling search_videos, search_music, search_photos or search_sfx, whenever a video needs B-roll, cutaways or music, when B-roll goes on the words of a voice-over or talking head, when someone says a pick does not fit, and for a montage of their own footage. M...
- 54 stars
- 0 votes
- 0 copies
- 3 views
- Added November 14, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add EditAtlas/skills --skill media-picker --agent claude-codeAre you the author of Media Picker?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/editatlas-media-picker)---
name: media-picker
description: Find, pick and place B-roll, background music, photos and sound effects that fit the video, and check each before it goes into the edit; also cut the person's own clips into a recap or highlight reel on the beat of a track. Use it before calling search_videos, search_music, search_photos or search_sfx, whenever a video needs B-roll, cutaways or music, when B-roll goes on the words of a voice-over or talking head, when someone says a pick does not fit, and for a montage of their own footage. Measures candidates, looks at every frame sheet and keeps what it saw, has the person hear music options, and places clips on their words, colour-matched, off the face. Triggers include "chèn B-roll vào video", "tìm b-roll", "tìm nhạc nền", "dựng recap từ mấy clip này", "find B-roll for these lines", "find background music", "make a highlight reel from my clips". Not for checking a finished render (video-check) or placing sounds on frames (sound-design).
license: Apache-2.0. LICENSE.txt has the complete terms
compatibility: Requires Python 3.9+ with numpy and Pillow, and FFmpeg with ffprobe. Needs network access to download candidates, or the files downloaded by the person. Designed for Claude Code and other agents with a shell that can read images.
metadata:
author: EditAtlas
version: "0.5.0"
status: beta
library: sfx
mcp-tools: search_music search_videos get_video search_photos search_sfx get_sfx send_feedback
---
# Media picker: pick music, footage and sounds that fit this video
This is media-picker 0.5.0.
When `scripts/measure.py` ends, it sends EditAtlas four things: this skill's name, its version, ok or error, and the seconds it took. Nothing else: no file names, paths, text or media. It is off when `EDITATLAS_TELEMETRY=0` is set, and under CI. If the person asks what the skill sends, tell them this.
The person gets music, B-roll, photos and sounds chosen for their video and their words, not the first results of a
search, and an `ASSETS.md` that says what each pick is for, why the others were dropped, and who to credit.
Three things are true the whole way through:
- **A search result is a candidate, not a pick.** Stock searches return what matches the words, in their order.
Users have been sent a cat on a bench for "stepping on a scale", a shaky handheld pan for a calm cutaway, and a
Christmas song for a romantic Paris ad. Every pick is measured and looked at before it goes in.
- **You cannot hear.** `measure.py` gives tempo, intro, energy and loudness; it cannot tell you whether a song feels
right, and a track's title is not its sound. Music goes into the edit after the person has listened to it, or
with a plain line that nobody did.
- **The person's own taste wins.** If they have a sound they use ("nhạc như các clip trước"), a channel style or a
brand colour, that is the brief. Ask for it before searching. When they say a pick does not fit, ask what they
disliked and whether there is music from their earlier videos to match, in the same message as the new options.
## When the inputs are missing
You need to know what the video is and where each item goes. If there is a script, a transcript or an edit plan,
read it and write the brief yourself. If not, ask once, in one short message: what the video is for and where it
will be posted, the feeling they want, and whether they have music or footage they already use. Never invent
footage, and never present a stock clip as the person's own product, place or people.
## Pick, or pick and place
Only pick (steps 1-6) when the person wants files or a list: "tìm cảnh", "find B-roll for these lines", "tải về thư
mục". Also place (step 7) when you make the edit yourself and there is a voice: "add B-roll to this voice-over",
"chèn B-roll vào video", a talking head that needs cutaways or a box beside the speaker. Placing needs word times
(the transcribe skill's `transcript.json`, or `transcript_cut.json` after a cut); without them, transcribe first.
Never guess times by ear or from a script.
## Workflow
1. **Write the brief.** One line per slot in `brief.md`, using the template in `references/fit-guide.md`: the
section or line it covers, what must be on screen (or heard), the mood, the place and season, the frame (for
example 1080x1920), the seconds it must fill, and what to avoid (a holiday, a brand, a look the person disliked).
Music gets one slot per section whose mood changes: a calm opening and a tense middle are two slots.
2. **Gather three to five candidates per slot.** Search with English words for what is on screen, not for the
meaning: "feet stepping on bathroom scale", not "weight loss motivation". Pexels and Pixabay return no
description of a clip, so the words in a search say nothing about what a result shows. Mixkit (`source` `mixkit`
in `search_videos` and `search_music`) is a third source, free to use: try it when the other two give nothing
that fits. Its clips carry a name and a short description, but the sheet still decides. Its music search takes one
mood, genre or instrument ("piano", "calm", "hip hop"), not a phrase. If the brief names a
place or people stock rarely has (a Vietnamese office, a local dish), search the action without the place, and
if nothing fits, say so and offer hands, objects, a different shot or the person's own footage. When a search
gives nothing new, change the words; do not repeat it with one word added. For music, take
`has_youtube_content_id` and `is_ai_generated` from the result into the brief.
3. **Measure.** Download a small copy of each candidate (for video, the smallest file in `video_files` that is at
least 640 px wide; a larger one later for the edit; for a Mixkit clip, its `preview_url`, and `get_video` with
its `item_path` for the edit file, only for the picks) and run:
```
python scripts/measure.py c1.mp4 c2.mp4 https://.../c3.mp4 photo.jpg track.mp3 --out work/assets --target 1080x1920 --slot 4
```
It prints one line per item with its flags, writes `work/assets/summary.md`, `assets.json` and a sheet per item
in `work/assets/sheets/`: six frames with the `--target` crop outlined for video, the photo with its crop, an
energy strip for music. Run music separately with `--slot` set to the length of its section.
`references/reading-the-numbers.md` says what each number means and where it is wrong.
4. **Look at every sheet, as a stranger would.** Open each sheet with the Read tool. Write first what it shows, in
one sentence, without your plan: "a woman's feet on a grey tiled floor, a pink scale, steady". Then judge it
against its slot and give it one of three marks: fits, maybe, or out, with the reason. A clip is out when:
- it does not show what the line says, or shows something else first (a cat, a lizard, a mat instead of a scale).
A line that names two things ("salad with chicken") needs both on screen; if no candidate has both, say which
part is missing and offer a second search or two short shots, instead of calling a half match a fit;
- it breaks the brief: wrong season, place, culture or brand, a holiday the brief did not ask for;
- it is shaky (`shake` 0.6 or more) where the cut is slow, cropped or slowed down; 0.25 to 0.6 only for short
cuts. A big number on a shot where a liquid or a crowd fills the frame may be the subject moving, not the
camera: look at the sheet;
- the subject leaves the blue crop box, it must be scaled up more than 1.5x, or a cut inside it cannot be avoided;
- it shows a watermark, a logo, readable text in another language, or a face looking into the lens the brief did
not ask for;
- it repeats a shot already picked (`measure.py` lists these under "Across the picks").
Music is out when its title, tags or measured shape break the brief (a "Jingle Bells" track for a romantic
Paris ad, a beatless drone under a calm explanation, a 20 s build under an opening that must hit at once), when
it is shorter than its section and has no clean loop, or when it has a YouTube Content ID claim and the video
goes to YouTube and the person has not accepted that.
5. **Let the person choose the music.** Before editing, show two or three music options per slot, each with one
line on why it fits and its file or link, and ask which one. Do the same for any shot that carries the message
(the product, the main person): show its sheet. If the person said to decide yourself, pick, and say what you
picked, why, and that nobody has listened to it yet. Describe a track only by what was measured and by the
words its source gives (title, genre, tags), quoted as theirs: "the source calls it 'French Paris Romantic
Music'; about 86 BPM, full level from 2 s". Never your own word for how it feels or what it suits ("romantic
piano", "hợp với làm đẹp", "sounds sad"): you have not heard it.
6. **Prepare what you picked.** Cut each clip to its `steadiest` stretch, or the stretch you chose on the sheet.
If a slightly shaky clip is the only one that shows the line, keep the cut short, do not speed it up or crop it
tighter, or stabilise it (`vidstabdetect` then `vidstabtransform` in FFmpeg) and measure it again. Bring a
clip whose brightness or colour stands apart close to the others before it goes in. Start music where its
energy matches the section, not always at 0 s.
7. **Place it on the words.** Write `work/picks.json` in timeline order, one entry per chosen clip, with the
words it shows copied from the transcript, starting at the word the picture should appear on ("glass jar", not
"then add four cups"):
```json
{"clips": [{"id": "jar", "file": "work/assets/files/jar.mp4", "shows": "a big glass jar"},
{"id": "ice", "file": "work/assets/files/ice.mp4", "shows": "over ice", "layout": "pip"}]}
```
`layout` is `cutaway` (the default: the clip fills the frame and the voice carries on) or `pip` (a box beside the
speaker, who stays on screen; use it when the person asked to stay visible). Then run, with `--speaker` for a
talking head or `--voice` for a voice-over with no one on screen:
```
python scripts/place.py --words work/transcript.json --picks work/picks.json --out work/place \
--speaker work/talking-head.mp4 --target 1080x1920 --face auto
```
It starts each clip 0.1 s before its word, keeps it 2-6 s (2.5-8 s for a wide frame), and ends it at a sentence
or phrase end, at the next clip or where its footage runs out, never inside a word. Clips never overlap; between
two cutaways the speaker gets at least 1 s, or the two are joined cut to cut. The part used is the clip's
steadiest stretch of exactly that length. Each clip's colour is measured against the speaker (`--match-to` a
shot, or the middle of the picks, when there is no speaker) and graded 70% of the way there with a LUT, so it
keeps its own look. `references/placing.md` has every rule, number and option.
Read `work/place/placements.md`. Each row gives the word it starts on, its time on the timeline, why it ends
where it does, the source in and out, its shake, and the colour difference (ΔE) before and after the grade.
Act on every line under "Check": a clip shown before the line that names it, words found only loosely, a clip
under 2 s, a clip still shaky, a speaker back for under a second, a gap with nothing on screen. Fix `picks.json`
(another clip, other words, `"word"` with the index when the words are said twice) and run it again. A ΔE still
over 10 after the grade means the clip will stand out: say so or pick another.
**The face.** For a `pip` clip or captions over a talking head, the face must stay clear. `--face auto` finds it
with OpenCV if it is installed (never install it for this). Otherwise open `work/place/speaker_grid.png`, read
the face box off its grid as fractions and pass `--face x0,y0,x1,y1`. Pass where the captions go as
`--captions x0,y0,x1,y1`. place.py moves each box to a corner or side that clears the head by 24 px and says
when no spot does (then use a cutaway), and tells you where to move captions that cover the face.
**Into the edit.** place.py writes graded copies of the parts used, the voice as a sound, and PiP clips as
animated WebP in `work/place/media/`, and `fragment.json`, an editable-export project: footage track with the
speaker and cutaways back to back, a B-roll picture track, the voice as one sound so it carries on under the
cutaways. Build it with editable-export: `package.py build work/place/fragment.json --out result/NAME.edit`.
With captions, build the speaker's own project with `--captions` first (words under a cutaway have no speaker
clip to map to afterwards), then run place.py with `--into result/NAME.edit/project.json`: it splits the footage
clips at the cutaways, moves the footage's sound to sound items so it plays on under them, and writes
`project_with_broll.json`; save it as the next version with `package.py save ... --from 1`. The grade is burned
into the copies, so tell the person the studio cannot change it. For a plain MP4 without the studio, add
`--render out/final.mp4`: it lays the graded clips over the speaker with FFmpeg, exactly as placed.
## The person's own clips: look once, then cut the best moments on the beat
For a recap, a highlight reel or a montage of the person's own footage (an event, a trip, a match, a day out):
1. **Look once, and keep what you saw.** `python scripts/look.py c1.mp4 c2.mov ... --out work/look` makes a sheet
per file: up to 12 frames from across it, each marked with its time in the file. Open each with the Read tool,
then keep two or three short lines per file with times: `look.py c1.mp4 --note "0-3s couple dancing, pink light;
she laughs at 10 s (best); soft focus in the first second" --by Claude --out work/look`. The next edit, or the
next round after the person's changes, reads them (`look.py --notes`, or `seen` in the project) instead of
looking again; a file that changed since shows up as changed. Write what is there, not what you hope for.
2. **Pick the moments.** `python scripts/highlights.py c1.mp4 c2.mp4 ... --music track.mp3 --out work/highlights
--target 1080x1920 --preview` scores every clip about four times a second for focus, exposure, colour and
steadiness, takes the best stretches round-robin in the order they were filmed, makes every shot a whole number
of beats (long and short in turn), ends on a bar, and starts the song on the bar where it lifts. `--seconds`
sets the length (default half the good footage, 12-40 s), `--pace calm|fast` the shot length, `--every` takes
something from every clip. Pick the track with the person first (step 5 above): the cut follows its beat.
3. **Look at `work/highlights/sheet.png`, as at step 4.** The scores see pixels, not meaning: a sharp shot of a wall
can beat a blurry laugh, and two shots can show the same moment. Check them against your notes from step 1;
swap a shot by editing its `file`, `in` and `out` in `highlights.json` (keep its length on the beat) and run
`highlights.py --from work/highlights/highlights.json --out work/highlights --preview`. Watch `preview.mp4` for
the rhythm; say that nobody has listened to it with the music if the person has not.
4. **Into the edit.** `fragment.json` is an editable-export project (the shots back to back, the music from its
start). Add the person's titles or sounds there, then `package.py build`. `look.py --into` puts your notes in
it as `seen`. `references/reading-the-numbers.md` has what each score means and where it is wrong.
## Deliver
**First, a version check.** If the EditAtlas MCP is connected, call `get_skill` without a name. If it lists media-picker above 0.5.0, the first line of your reply says a newer version exists and how to update it (in Claude Code: `/plugin`, then Marketplaces, editatlas-skills, Update marketplace; elsewhere `get_skill` with name media-picker gives the step). Without the MCP, skip it.
Write `ASSETS.md` next to the edit, in the person's language, with the template in `references/fit-guide.md`: for
each slot the pick, why it fits, its measured numbers, the in and out times, and the candidates dropped with one
reason each; the credits (author and `credit_url` for every Pexels, Pixabay, Mixkit or library item, and
`license.url` for Mixkit); Content ID and AI
flags; and what nobody checked: listening to the music under the voice, faces and brands in the footage on a
phone screen, and anything you could not find. Tell the person, in plain words, which picks they chose and which
you chose for them.
The reply itself, not only the file, lists each pick with its author and `credit_url` link, and each dropped
candidate with its id and one reason ("Pexels 7654321: a cat on a bench, not a scale"). People read the reply;
many never open `ASSETS.md`.
**Last, ask once how it went.** If the EditAtlas MCP is connected, after the edit is delivered ask the person, in
one short message in their language, about each item from EditAtlas or its searches that went into the video, by
name: each music track, each stock clip or photo, each sound and this skill. Send each answer with `send_feedback`
about `this_item`, with the issue they named (for a pick they disliked, `not_the_look` or `wrong_match`). Send only
what they said, and nothing if they do not answer. Ask once per edit: if you or another skill already asked, skip
it.
## References
- `references/fit-guide.md`: the brief and `ASSETS.md` templates, what to look for in each kind of item, starting
points for music by video type, and stock search habits. Read it at step 1.
- `references/reading-the-numbers.md`: every number `measure.py` prints, its thresholds, what it was measured on
and where it is wrong. Read it when a flag looks wrong.
- `references/reading-the-numbers.md` also covers `highlights.py` (the scores, the beat grid, its limits).
- `references/placing.md`: how `place.py` times, grades and frames each clip, its options, the editable-export
fragment, and what it was measured on. Read it at step 7.
Files in this skill
- LICENSE.txt
- README.md
- SKILL.md
- evals/broll-weight-loss-short/case.yaml
- evals/broll-weight-loss-short/graders/01-measured-and-looked.md
- evals/broll-weight-loss-short/graders/02-picks-show-the-line.md
- evals/broll-weight-loss-short/graders/03-not-shaky-not-twice.md
- evals/broll-weight-loss-short/graders/04-in-out-and-size.md
- evals/broll-weight-loss-short/graders/05-credits-and-dropped.md
- evals/broll-weight-loss-short/prompt.md
- evals/calm-opening-music-disliked/case.yaml
- evals/calm-opening-music-disliked/graders/01-measured-given-track.md
- evals/calm-opening-music-disliked/graders/02-asks-own-taste.md
- evals/calm-opening-music-disliked/graders/03-measured-alternatives.md
- evals/calm-opening-music-disliked/graders/04-waits-for-choice.md
- evals/calm-opening-music-disliked/place-files.sh
- evals/calm-opening-music-disliked/prompt.md
- evals/music-paris-ad/case.yaml
- evals/music-paris-ad/graders/01-measured-candidates.md
- evals/music-paris-ad/graders/02-options-and-ask.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.