Skip to content
Skillpedia
Audio & voice75k Β· #2675

media-use

What it does

This skill finds media for a video and saves it as a local file. It is for video makers who need music, sound effects, images, or icons without searching by hand.

When to use it

  • βœ“When your composition needs background music or sound effects.
  • βœ“When your composition needs an image or an icon.
  • βœ“When you want a media file saved locally with a record of where it came from.

Skill link

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/media-use/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/media-use/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œFind an upbeat tech background track and a short click sound for my tutorial video.”

5 new skills a week. 1 minute to read.

How it works

The agent runs one command with the type of media and a short description. It searches a catalog, saves the best match in your project, and returns one line with the file path.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

media-use

Resolve media needs into frozen local files. One verb, four types, zero context noise.

When to use

Call resolve whenever a composition needs media β€” background music, sound effects, images, or icons. media-use searches the HeyGen catalog, downloads the best match, freezes it locally, and registers it in a manifest. The agent gets back one line; all search noise stays on disk.

Resolve

node <SKILL_DIR>/scripts/resolve.mjs --type <type> --intent "<description>" --project <dir>

Returns one line: resolved <id> β†’ <path> (<type>, <metadata>)

Types

Type What it finds Provider
bgm Background music HeyGen audio catalog (10k+ tracks)
sfx Sound effects Bundled 19-file library + HeyGen catalog
image Photos, backgrounds HeyGen asset search (75k+ vectors)
icon Icons, logos HeyGen asset search (type=icon)

Examples

# Background music
node <SKILL_DIR>/scripts/resolve.mjs --type bgm --intent "upbeat tech launch" --project .
# β†’ resolved bgm_001 β†’ .media/audio/bgm/bgm_001.mp3 (bgm, 25s)

# Sound effect
node <SKILL_DIR>/scripts/resolve.mjs --type sfx --intent "whoosh" --project .
# β†’ resolved sfx_001 β†’ .media/audio/sfx/sfx_001.mp3 (sfx, 0.57s)

# Image
node <SKILL_DIR>/scripts/resolve.mjs --type image --intent "gradient tech background" --project .
# β†’ resolved image_001 β†’ .media/images/image_001.jpg (image)

# Icon
node <SKILL_DIR>/scripts/resolve.mjs --type icon --intent "rocket" --project .
# β†’ resolved icon_001 β†’ .media/images/icon_001.png (icon, transparent)

Flags

Flag Description
--type, -t Media type: bgm, sfx, image, icon
--intent, -i What you need (natural language)
--entity, -e Entity name for cache matching (optional)
--project, -p Project directory (default: .)
--adopt Bulk-import existing assets/ into manifest
--json Output JSON instead of one-line result

How it works

  1. Check project .media/manifest.jsonl for exact-prompt match
  2. Scan existing assets/ directory for unregistered files matching the need
  3. Check global cache ~/.media/ for reusable asset
  4. Search via provider (HeyGen audio catalog, HeyGen asset search)
  5. Freeze file to .media/<type>/, register in manifest, regenerate index.md

The agent gets back one line. Candidates, scores, provenance stay on disk.

Adopt existing projects

Most HyperFrames projects already have assets in assets/. media-use adopts them:

node <SKILL_DIR>/scripts/resolve.mjs --adopt --project .
# β†’ adopted 9 assets from assets/
#   bgm_001 β†’ assets/bgm/mango-fizz.mp3 (bgm, 146.6s)
#   image_001 β†’ assets/images/avatar.jpg (image, 400Γ—400)

ffprobe extracts real duration and dimensions. During resolve, unregistered files in assets/ matching the intent are adopted on the fly.

Reading the inventory

After resolve or adopt, read .media/index.md for the full inventory:

# .media Β· 4 assets

id         type   dur   dims       path                          description
bgm_001    bgm    25s   β€”          .media/audio/bgm/bgm_001.mp3  upbeat tech launch
sfx_001    sfx    0.6s  β€”          .media/audio/sfx/sfx_001.mp3  whoosh
image_001  image  β€”     1920Γ—1080  .media/images/image_001.jpg   gradient tech background
icon_001   icon   β€”     200Γ—200    .media/images/icon_001.png    rocket

Cross-project reuse

Assets are cached automatically on resolve. Subsequent resolves for the same prompt hit the global cache at ~/.media/ β€” no re-download, no provider call. Promote an asset explicitly with organize --promote <id> to make it reusable across all projects.

Files

  • .media/manifest.jsonl β€” machine SSOT, one JSON record per line
  • .media/index.md β€” agent-readable table (id, type, dur, dims, path, description)
  • ~/.media/ β€” global cross-project reuse cache (content-addressed, SHA-256)

CLI tools used

Tool Purpose Required?
ffprobe Probe duration, dimensions, codec on adopt Yes
heygen Audio catalog, a
FAQ

What types of media can it find?

It finds background music, sound effects, images, and icons.

Where is the file saved?

The file is saved in the project's media folder, with a record of the source.

Does it search the web?

It searches a media catalog, and the search results are kept on disk instead of cluttering the conversation.

Details

Original description by the author

Agent Media OS β€” resolve any media need (BGM, SFX, image, icon) into a frozen local file + ledger record. One verb (`resolve`) handles the full cascade β€” project cache, global cache, HeyGen catalog search, freeze, register. Keeps search noise on disk, hands the agent a path. Use when a composition needs background music, sound effects, images, or icons.

repo: calesthio/OpenMontage

Popularity

GitHub stars
75k
Ranking position
#2675
License
AGPL-3.0
Updated
10/28/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills