From media-management
Copy processed MP3s and WAVs to NAS storage. Use after Apple Music import or when re-archiving corrected files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/media-management:archive-mediaThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. Check environment variables: MEDIA_MGMT_LIBRARY_STORAGE, MEDIA_MGMT_ARCHIVE_WORKDIR
Scripts are in scripts/ relative to this skill directory.
archive-files.sh <mode> <source_dir> <dest_dir> — Copy audio files to destination, verify counts. For WAV mode, calls rename-wav-files.sh internally. Run --help for details.rename-wav-files.sh <folder> — Rename WAV files from vendor format to clean format. Called internally by archive-files.sh.mp3 <artist> <album>
wav <artist> <album> <source_folder>
$LIBRARY_STORAGE/Artist/Album/)Determine mode from the first argument: mp3 or wav.
Source is the Apple Music library (captures any edits made in Apple Music).
Run the archive script:
bash scripts/archive-files.sh mp3 "$LIBRARY_STORAGE/$ARTIST/$ALBUM" "$ARCHIVE_WORKDIR/to_nas/mp3/$ARTIST/$ALBUM"
The script creates the destination, copies all MP3 files, verifies the count matches, and outputs JSON with results.
Check the JSON output: if verified is false, warn the user about the count mismatch.
Source is the extraction folder. WAVs NEVER go through Apple Music.
Run the archive script:
bash scripts/archive-files.sh wav "$SOURCE_FOLDER" "$ARCHIVE_WORKDIR/to_nas/wav/$ARTIST/$ALBUM"
The script creates the destination, copies all WAV files, runs rename-wav-files.sh to clean up vendor filenames, verifies the count, and outputs JSON with results.
Check the JSON output: if renamed is false, warn the user that renaming may have failed.
npx claudepluginhub eyelock/assistants --plugin media-managementMoves audio files (WAV, MP3, etc.) to the correct album folder with proper path structure. Handles single files and stems zip extraction into per-track subfolders.
Provides a skill file (archive.md) that can be loaded into Claude Code to define archival instructions and context.
Extracts audio from video using ffmpeg/ffprobe via Bash. Probes streams, selects format by use case (FLAC archive, MP3 VBR music, AAC mobile, WAV editing), copies if matching, handles multi-track.