Innei

Media Library Organizer Skill — Git skill for Claude Code

Git community

A Claude Code skill for organizing media libraries (movies, TV, anime) — clean junk, merge scattered episodes, normalize folder names, verify completeness against TMDB.

How to install Media Library Organizer Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Innei/media-library-organizer-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Media Library Organizer Skill does

A Claude Code skill for organizing media libraries (movies, TV, anime) — clean junk, merge scattered episodes, normalize folder names, verify completeness against TMDB.

Alternatives in Git

  • Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
  • Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
  • CodeReview — Review local code changes against base branch 512 ★

README

Media Library Organizer

A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill for systematically cleaning, merging, renaming, and verifying media libraries — making them ready for Jellyfin / Emby / Plex auto-scraping.

What It Does

Step Description
Scan & Analyze Survey directories, flag junk files, duplicates, misplaced content
Clean Junk Remove SMB residuals, .DS_Store, download fragments, empty dirs
Identify Duplicates Find same content across folders by title/year/quality matching
Merge Scattered Episodes Combine split episodes from different release groups
Normalize Folder Names Rename to Title (Year) format for media server recognition
Verify vs TMDB Compare local episode counts against TMDB totals
Report & Confirm Present findings, wait for user confirmation before deletions

Workflow

Scan & Analyze → Clean Junk → Identify Duplicates → Merge Scattered Episodes
    → Normalize Folder Names → Verify vs TMDB → Report & Confirm

Installation

Quick Install (Recommended)

npx skills add Innei/media-library-organizer-skill

This automatically installs the skill into your Claude Code environment.

Manual Install

Copy the skill into your Claude Code skills directory:

# Global (all projects)
git clone https://github.com/Innei/media-library-organizer-skill.git ~/.claude/skills/media-library-organizer

# Project-specific
git clone https://github.com/Innei/media-library-organizer-skill.git .claude/skills/media-library-organizer

Then invoke it in Claude Code by telling Claude to organize your media library, or use the slash command:

/media-library-organizer

Standalone Scripts

The `scripts/` directory contains standalone bash scripts that can be used independently:

# Scan media directory for issues
./scripts/scan-media.sh /path/to/media

# Check episode completeness
./scripts/