{"slug":"import-art","title":"import-art","summary":"Places album art files in the correct audio and content directory locations. Use when the user has generated or downloaded album artwork that needs to be saved.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-03T17:17:49.732215Z","repo":{"url":"https://github.com/bitwize-music-studio/claude-ai-music-skills","stars":733,"forks":156,"license":"CC0-1.0","updatedAt":"2026-12-03T03:06:05Z"},"bodyHtml":"<hr>\n<p>name: import-art\ndescription: Places album art files in the correct audio and content directory locations. Use when the user has generated or downloaded album artwork that needs to be saved.\nargument-hint: </p>\n<ul>\n<li>Read</li>\n<li>Bash</li>\n<li>Glob</li>\n<li>bitwize-music-mcp</li>\n</ul>\n<hr>\n<h2>Your Task</h2>\n<p><strong>Input</strong>: $ARGUMENTS</p>\n<p>Import album art to both the audio folder and album content folder.</p>\n<hr>\n<h1>Import Art Skill</h1>\n<p>You copy album art to both required locations based on config.</p>\n<h2>Step 1: Parse Arguments</h2>\n<p>Expected format: <code>&lt;file-path&gt; &lt;album-name&gt;</code></p>\n<p>Examples:</p>\n<ul>\n<li><code>~/Downloads/album-art.jpg sample-album</code></li>\n<li><code>~/Downloads/cover.png sample-album</code></li>\n</ul>\n<p>If arguments are missing, ask:</p>\n<pre><code>Usage: /import-art &lt;file-path&gt; &lt;album-name&gt;\n\nExample: /import-art ~/Downloads/album-art.jpg sample-album\n</code></pre>\n<h2>Step 2: Find Album and Resolve Paths via MCP</h2>\n<p><strong>Preferred: one call.</strong> After <code>find_album(album_name)</code>, call <code>import_album_art(album_slug, source_path)</code>. It does steps 2 to 4 itself: it resolves both folders, writes <code>album.png</code> as a square PNG of at least 3000x3000 (enlarging a smaller image) and <code>album-art.png</code> at the image's own size, and reports what it wrote. It keeps an existing cover unless you pass <code>replace=true</code>, so ask the user first. Then go to Step 5.</p>\n<p>Use the manual steps below only for a file the tool refuses that the user wants kept as it is, such as an image that is not square.</p>\n<ol>\n<li>Call <code>find_album(album_name)</code> — fuzzy match, returns album metadata including genre</li>\n<li>Call <code>resolve_path(\"audio\", album_slug)</code> — returns audio directory path</li>\n<li>Call <code>resolve_path(\"content\", album_slug)</code> — returns content directory path</li>\n</ol>\n<p>If album not found:</p>\n<pre><code>Error: Album \"{album-name}\" not found.\nCreate it first with: /new-album {album-name} &lt;genre&gt;\n</code></pre>\n<h2>Step 3: Construct Target Paths</h2>\n<p><strong>TWO destinations required</strong> (paths from MCP <code>resolve_path</code> calls):</p>\n<ol>\n<li><strong>Audio folder</strong> (for platforms/mastering): <code>{audio_path}/album.png</code></li>\n<li><strong>Content folder</strong> (for documentation): <code>{content_path}/album-art.{ext}</code></li>\n</ol>\n<p><strong>CRITICAL</strong>: <code>resolve_path</code> includes the artist folder automatically.</p>\n<h2>Step 4: Create Directories and Copy Files</h2>\n<pre><code># Create audio directory (includes artist folder!)\nmkdir -p {audio_root}/artists/{artist}/albums/{genre}/{album}\n\n# Copy to audio folder as album.png\ncp \"{source_file}\" \"{audio_root}/artists/{artist}/albums/{genre}/{album}/album.png\"\n\n# Copy to content folder preserving extension\ncp \"{source_file}\" \"{content_root}/artists/{artist}/albums/{genre}/{album}/album-art.{ext}\"\n</code></pre>\n<h2>Step 5: Confirm</h2>\n<p>Report:</p>\n<pre><code>Album art imported for: {album-name}\n\nCopied to:\n1. {audio_root}/artists/{artist}/albums/{genre}/{album}/album.png (for platforms)\n2. {content_root}/artists/{artist}/albums/{genre}/{album}/album-art.{ext} (for docs)\n</code></pre>\n<h2>Error Handling</h2>\n<p><strong>Source file doesn't exist:</strong></p>\n<pre><code>Error: File not found: {source_file}\n</code></pre>\n<p><strong>Config file missing:</strong></p>\n<pre><code>Error: Config not found at ~/.bitwize-music/config.yaml\nRun /configure to set up.\n</code></pre>\n<p><strong>Album not found:</strong></p>\n<pre><code>Error: Album \"{album-name}\" not found.\nCreate it first with: /new-album {album-name} &lt;genre&gt;\n</code></pre>\n<p><strong>Not an image file:</strong></p>\n<pre><code>Warning: File doesn't appear to be an image: {source_file}\nExpected: .jpg, .jpeg, .png, .webp\n\nContinue anyway? (y/n)\n</code></pre>\n<hr>\n<h2>Examples</h2>\n<pre><code>/import-art ~/Downloads/sample-album-cover.jpg sample-album\n</code></pre>\n<p>Config has:</p>\n<pre><code>paths:\n  content_root: ~/bitwize-music\n  audio_root: ~/bitwize-music/audio\nartist:\n  name: bitwize\n</code></pre>\n<p>Album found at: <code>~/bitwize-music/artists/bitwize/albums/electronic/sample-album/</code></p>\n<p>Result:</p>\n<pre><code>Album art imported for: sample-album\n\nCopied to:\n1. ~/bitwize-music/audio/artists/bitwize/albums/electronic/sample-album/album.png (for platforms)\n2. ~/bitwize-music/artists/bitwize/albums/electronic/sample-album/album-art.jpg (for docs)\n</code></pre>\n<hr>\n<h2>Common Mistakes</h2>\n<h3>❌ Don't: Manually read config and construct paths</h3>\n<p><strong>Wrong:</strong></p>\n<pre><code>cat ~/.bitwize-music/config.yaml\ncp art.png ~/music-projects/audio/sample-album/\n</code></pre>\n<p><strong>Right:</strong></p>\n<pre><code># Use MCP to find album and resolve both paths\nfind_album(album_name) → returns album metadata\nresolve_path(\"audio\", album_slug) → audio path with artist folder\nresolve_path(\"content\", album_slug) → content path with genre\n</code></pre>\n<p><strong>Why it matters:</strong> <code>resolve_path</code> handles config reading, artist folder, and genre resolution automatically.</p>\n<h3>❌ Don't: Place art in only one location</h3>\n<p><strong>Wrong:</strong></p>\n<pre><code># Only copying to audio folder\ncp art.png {audio_root}/artists/{artist}/albums/{genre}/{album}/album.png\n# Missing: content folder copy\n</code></pre>\n<p><strong>Right:</strong></p>\n<pre><code># Copy to BOTH locations\n# 1. Audio location (for streaming platforms)\ncp art.png {audio_root}/artists/{artist}/albums/{genre}/{album}/album.png\n# 2. Content location (for documentation)\ncp art.jpg {album_path}/album-art.jpg\n</code></pre>\n<p><strong>Why it matters:</strong> Album art needs to be in both locations - audio folder for release, content folder for documentation.</p>\n<h3>❌ Don't: Mix up the filenames</h3>\n<p><strong>Wrong:</strong></p>\n<pre><code># Using same filename in both locations\ncp art.png {audio_root}/artists/{artist}/albums/{genre}/{album}/album-art.png\ncp art.png {album_path}/album.png\n</code></pre>\n<p><strong>Correct naming:</strong></p>\n<pre><code>Audio location: album.png (or album.jpg)\nContent location: album-art.jpg (or album-art.png)\n</code></pre>\n<p><strong>Why it matters:</strong> Different locations use different naming conventions to avoid confusion.</p>\n<h3>❌ Don't: Search for albums manually</h3>\n<p><strong>Wrong:</strong></p>\n<pre><code>find . -name \"README.md\" -path \"*albums/$album_name*\"\n</code></pre>\n<p><strong>Right:</strong></p>\n<pre><code>find_album(album_name) → returns album data including path and genre\n</code></pre>\n<h3>❌ Don't: Forget to create directories</h3>\n<p><strong>Wrong:</strong></p>\n<pre><code># Copying without ensuring directory exists\ncp art.png {audio_root}/artists/{artist}/albums/{genre}/{album}/album.png\n# Fails if directory doesn't exist\n</code></pre>\n<p><strong>Right:</strong></p>\n<pre><code># Create directory first\nmkdir -p {audio_root}/artists/{artist}/albums/{genre}/{album}/\ncp art.png {audio_root}/artists/{artist}/albums/{genre}/{album}/album.png\n</code></pre>\n<p><strong>Why it matters:</strong> Audio directory might not exist yet, especially for new albums.</p>\n","files":[{"path":"SKILL.md","sizeBytes":6099,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-03T17:18:13.308228Z","sha256":"56D2080C6B9D773EAC01CA2DA9204C990AEA831E7F4E9C3C020940BC13C87434","sizeBytes":2218},"review":null,"source":{"repositoryUrl":"https://github.com/bitwize-music-studio/claude-ai-music-skills","path":"skills/import-art","license":"CC0-1.0","commit":"8e0e19c0fe7072830ba2918e351102c3c0be9dc4","subtreeSha":"E87B4C4F57932DB6E9CAD437A9731CA0B04BD75BEB42546BB0A6D13C98303A9C","lastSyncedAt":"2026-12-03T17:17:47.083975Z"},"reviewedAt":"2026-12-03T17:19:14.864081Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/bitwize-music-studio/claude-ai-music-skills/tree/main/skills/import-art"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install bitwize-music-studio-claude-ai-music-skills@llmmart"},{"target":"git","command":"git clone https://github.com/bitwize-music-studio/claude-ai-music-skills.git"}]}