Audit & Diagnostics Custom Skills · Curated

Media Library Deduplicator

Finds duplicate images uploaded multiple times and consolidates references to one copy.

What it does

Hashes the actual file content of media library uploads (not just filename or title) to find true duplicates that accumulated from repeated uploads or theme/plugin defaults, then checks which posts and pages reference each copy before proposing a single canonical attachment to keep. This recovers wasted storage and avoids the indexing/SEO confusion of near-identical image URLs.

Install

This skill isn't packaged in an installable registry. It's a plain SKILL.md file you can copy directly. Copy it from the SKILL.md tab and save it at the path for your assistant:

Use it in your AI assistant

Claude Code

.claude/skills/media-library-deduplicator/ (or ~/.claude/skills/media-library-deduplicator/ for all projects)

GitHub Copilot (VS Code)

.github/skills/media-library-deduplicator/

OpenAI Codex

.codex/skills/media-library-deduplicator/

Cursor

.cursor/skills/media-library-deduplicator/ (or ~/.cursor/skills/media-library-deduplicator/ globally)

Compatibility

Any WordPress site. Requires the agent to read file contents or checksums, not just media library metadata.