AGENT SKILL

bgm-library

Search, filter, and download royalty-free background music from ccMixter for Remotion videos. Supports keyword search, tag presets, license filtering (CC BY / CC BY-SA only), and auto-generates attribution. Downloads MP3 directly to project directory.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 1
Forks
0

01 前言 Front Matter

name
bgm-library
description
Search, filter, and download royalty-free background music from ccMixter for Remotion videos. Supports keyword search, tag presets, license filtering (CC BY / CC BY-SA only), and auto-generates attribution. Downloads MP3 directly to project directory.
allowed-tools
Bash(bgm-library:*)

02 资源文件 5

03 SKILL.md 正文

BGM Library Skill

Search, filter, and download royalty-free background music from ccMixter for Remotion video projects.

Features

  • Search ccMixter by keywords or predefined tag presets
  • License filtering: only CC BY and CC BY-SA (commercially safe)
  • Direct MP3 download with automatic referer handling
  • Auto-generates music_manifest.json and ATTRIBUTION.txt
  • BPM, duration, and tag metadata for intelligent selection
  • 5 built-in presets: travel, tech, lofi, food, workout

Quick Start

# Search for chill background music
bgm search chill lofi

# Use a preset for travel vlog music
bgm search --preset travel

# Auto-pick and download the best match for your video theme
bgm pick "corporate product demo" --output ./public/

# Download a specific track by ID
bgm download 70473 --output ./public/

# List available presets
bgm presets

# Get detailed track info
bgm info 70473

Installation

Before first use, install dependencies in the skill's scripts directory:

cd scripts && npm install

Commands

search [keywords...]

Search ccMixter for background music tracks.

Options:

  • -l, --limit <n> — Max results (default: 10)
  • -p, --preset <name> — Use a predefined tag preset
  • --commercial-only / --no-commercial-only — License filter (default: on)
  • --sort <field> — Sort by: date, name, score (default: score)
bgm search upbeat corporate --limit 5
bgm search --preset lofi

download <uploadId>

Download a track by ccMixter upload ID.

Options:

  • -o, --output <dir> — Output directory (default: ./public)
  • --force — Overwrite existing files
bgm download 70473 --output ./public/

pick <theme>

Auto-pick and download the best match for a video theme.

Options:

  • -o, --output <dir> — Output directory (default: ./public)
  • -l, --limit <n> — Candidates to evaluate (default: 5)
  • --force — Overwrite existing files
bgm pick "chill lofi study" --output ./public/
bgm pick "energetic workout motivation" --output ./public/

presets

List predefined tag presets for common video scenarios.

bgm presets

info <uploadId>

Show detailed info about a track including license, BPM, duration, and files.

bgm info 70473

Presets

Preset Name Tags
travel 旅行/Vlog upbeat, travel, vlog, vacation, summer
tech 科技/产品 corporate, technology, digital, modern
lofi 咖啡馆/学习 lofi, chill, study, cafe, downtempo
food 美食/生活 acoustic, cooking, lifestyle, warm, light
workout 运动/健身 workout, gym, sport, energy, edm

Output Files

Downloaded MP3

Saved to the specified output directory with the original filename.

music_manifest.json

Tracks metadata for programmatic access:

{
  "tracks": [
    {
      "upload_id": 70473,
      "title": "The Fade Out",
      "artist": "coruscate",
      "source_url": "https://ccmixter.org/files/Coruscate/70473",
      "license_name": "Attribution (3.0)",
      "license_url": "http://creativecommons.org/licenses/by/3.0/",
      "file_name": "Coruscate_-_The_Fade_Out.mp3",
      "bpm": 92,
      "duration": "3:05",
      "downloaded_at": "2026-02-09T12:00:00.000Z"
    }
  ]
}

ATTRIBUTION.txt

Auto-generated attribution in TASL format (Title/Author/Source/License):

=== Music Attribution ===
"The Fade Out" by coruscate
  Source: https://ccmixter.org/files/Coruscate/70473
  License: Attribution (3.0) (http://creativecommons.org/licenses/by/3.0/)

Remotion Usage

After downloading a track:

import { Audio } from '@remotion/media';
import { staticFile } from 'remotion';

// Use the downloaded BGM in your composition
<Audio src={staticFile('Coruscate_-_The_Fade_Out.mp3')} volume={0.3} loop />

License Filtering

By default, only commercially safe licenses are shown:

  • Allowed: CC BY (Attribution), CC BY-SA (Attribution-ShareAlike)
  • Blocked: Any license with NonCommercial (NC) or NoDerivs (ND)

This ensures all downloaded music can be freely used in commercial video projects.

Data Source

All music is sourced from ccMixter, a community remix site operated by ArtisTech Media, created by Creative Commons.

Troubleshooting

"Cannot find module" errors

Install dependencies first:

cd scripts && npm install

403 Forbidden on download

The skill automatically handles referer headers. If you still get 403, the track may have been removed from ccMixter.

No results for search

Try broader keywords, fewer tags, or use a preset. ccMixter's library is smaller than Pixabay but all tracks are properly licensed.

04 同仓库更多 Skills

YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

vercel-sandbox

Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

★ 1