{"slug":"clipboard-3","title":"clipboard","summary":"Copies track content (lyrics, style prompts, streaming lyrics) to the system clipboard. Use when the user needs to paste lyrics or style prompts into Suno or other external tools.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-03T17:17:47.99335Z","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: clipboard\ndescription: Copies track content (lyrics, style prompts, streaming lyrics) to the system clipboard. Use when the user needs to paste lyrics or style prompts into Suno or other external tools.\nargument-hint: </p>\n<ul>\n<li>Read</li>\n<li>Bash</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>Copy content from track files to the system clipboard for pasting into Suno or other tools.</p>\n<hr>\n<h1>Clipboard Skill</h1>\n<p>Copy specific sections from track files directly to your clipboard.</p>\n<h2>Step 1: Detect Platform &amp; Check Clipboard Tool</h2>\n<p>Run detection:</p>\n<pre><code>if command -v pbcopy &gt;/dev/null 2&gt;&amp;1; then\n  echo \"macOS\"\nelif command -v clip.exe &gt;/dev/null 2&gt;&amp;1; then\n  # clip.exe is a built-in Windows utility (System32). Reachable both from WSL\n  # via interop and from a native-Windows shell such as Git Bash, so this one\n  # branch covers both. Verified on a windows-latest runner: Git Bash present,\n  # clip.exe resolved at /c/Windows/system32/clip.exe, copy round-tripped.\n  echo \"Windows/WSL\"\nelif command -v xclip &gt;/dev/null 2&gt;&amp;1; then\n  echo \"Linux-xclip\"\nelif command -v xsel &gt;/dev/null 2&gt;&amp;1; then\n  echo \"Linux-xsel\"\nelse\n  echo \"NONE\"\nfi\n</code></pre>\n<p><strong>If NONE:</strong></p>\n<pre><code>Error: No clipboard utility found.\n\nInstall instructions:\n- macOS: pbcopy (built-in)\n- Linux: sudo apt install xclip\n- Windows (native) and WSL: clip.exe (built-in)\n</code></pre>\n<h2>Step 2: Parse Arguments</h2>\n<p>Expected format: <code>&lt;content-type&gt; &lt;album-name&gt; &lt;track-number&gt;</code></p>\n<p><strong>Content types:</strong></p>\n<ul>\n<li><code>lyrics</code> - Suno Lyrics Box</li>\n<li><code>style</code> - Suno Style Box only</li>\n<li><code>exclude</code> - Suno Exclude Styles field (bare elements, comma-separated — <code>drums, autotune</code>, never \"no drums\")</li>\n<li><code>streaming-lyrics</code> - Streaming Lyrics (for distributors)</li>\n<li><code>all</code> - All Suno inputs (Style + Exclude + Lyrics combined)</li>\n<li><code>suno</code> - JSON object (title, style, exclude_styles, lyrics) for Suno auto-fill via Tampermonkey</li>\n</ul>\n<p>Examples:</p>\n<ul>\n<li><code>/clipboard lyrics sample-album 03</code></li>\n<li><code>/clipboard style sample-album 05</code></li>\n<li><code>/clipboard streaming-lyrics sample-album 02</code></li>\n<li><code>/clipboard all sample-album 01</code></li>\n</ul>\n<p>If arguments are missing:</p>\n<pre><code>Usage: /clipboard &lt;content-type&gt; &lt;album-name&gt; &lt;track-number&gt;\n\nContent types: lyrics, style, exclude, streaming-lyrics, all, suno\n\nExample: /clipboard lyrics sample-album 03\n</code></pre>\n<h2>Step 3: Extract Content via MCP</h2>\n<p>Call <code>format_for_clipboard(album_slug, track_slug, content_type)</code> — extracts and formats the requested content in one call.</p>\n<ul>\n<li><code>content_type</code>: <code>\"lyrics\"</code>, <code>\"style\"</code>, <code>\"exclude\"</code>, <code>\"streaming\"</code>, <code>\"all\"</code>, or <code>\"suno\"</code></li>\n<li>Returns the formatted content ready for clipboard</li>\n<li>Handles track resolution, section extraction, and formatting automatically</li>\n</ul>\n<p><strong>If track not found:</strong> MCP returns an error with available tracks.</p>\n<h2>Step 6: Copy to Clipboard</h2>\n<p>Use the detected platform's clipboard command:</p>\n<table>\n<thead>\n<tr>\n<th>Platform</th>\n<th>Command</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>macOS</td>\n<td><code>pbcopy</code></td>\n</tr>\n<tr>\n<td>Windows (native) / WSL</td>\n<td><code>clip.exe</code></td>\n</tr>\n<tr>\n<td>Linux (xclip)</td>\n<td><code>xclip -selection clipboard</code></td>\n</tr>\n<tr>\n<td>Linux (xsel)</td>\n<td><code>xsel --clipboard --input</code></td>\n</tr>\n</tbody>\n</table>\n<p>Example (use <code>printf '%s'</code> to safely handle special characters in lyrics):</p>\n<pre><code>printf '%s' \"$content\" | pbcopy  # macOS\nprintf '%s' \"$content\" | xclip -selection clipboard  # Linux\n</code></pre>\n<h2>Step 7: Confirm</h2>\n<p>Report:</p>\n<pre><code>✓ Copied to clipboard: {content-type} from track {track-number}\n  Album: {album}\n  Track: {track-filename}\n</code></pre>\n<h2>Error Handling</h2>\n<p><strong>Track file not found:</strong></p>\n<pre><code>Error: Track {track-number} not found in album {album}\n\nAvailable tracks:\n- 01-track-name.md\n- 02-track-name.md\n</code></pre>\n<p><strong>Content section not found:</strong></p>\n<pre><code>Error: {content-type} section not found in track {track-number}\n\nThe track file may not have this section yet.\n</code></pre>\n<p><strong>Config missing:</strong></p>\n<pre><code>Error: Config not found at ~/.bitwize-music/config.yaml\nRun /configure to set up.\n</code></pre>\n<hr>\n<h2>Examples</h2>\n<h3>Copy Suno Lyrics</h3>\n<pre><code>/clipboard lyrics sample-album 03\n</code></pre>\n<p>Output:</p>\n<pre><code>✓ Copied to clipboard: lyrics from track 03\n  Album: sample-album\n  Track: 03-t-day-beach.md\n</code></pre>\n<h3>Copy Style Prompt</h3>\n<pre><code>/clipboard style sample-album 05\n</code></pre>\n<h3>Copy Streaming Lyrics</h3>\n<pre><code>/clipboard streaming-lyrics sample-album 02\n</code></pre>\n<h3>Copy All Suno Inputs</h3>\n<pre><code>/clipboard all sample-album 01\n</code></pre>\n<p>Output:</p>\n<pre><code>✓ Copied to clipboard: all suno inputs from track 01\n  Album: sample-album\n  Track: 01-intro.md\n\nContents:\n- Style Box\n- `Exclude: …` (if the track has Exclude Styles)\n- Lyrics Box\n</code></pre>\n<h3>Copy Suno Auto-Fill JSON</h3>\n<pre><code>/clipboard suno sample-album 01\n</code></pre>\n<p>Output:</p>\n<pre><code>✓ Copied to clipboard: suno auto-fill JSON from track 01\n  Album: sample-album\n  Track: 01-intro.md\n\nClipboard contains JSON with: title, style, exclude_styles, lyrics\nPaste into Suno with the Tampermonkey auto-fill script (Ctrl+Shift+V).\nSee tools/userscripts/README.md for setup.\n</code></pre>\n<hr>\n<h2>Implementation Notes</h2>\n<p><strong>Clipboard Detection:</strong></p>\n<ul>\n<li>Check multiple tools in order of preference</li>\n<li><code>clip.exe</code> is built into Windows, so it serves both native Windows (via Git Bash) and WSL (via interop)</li>\n<li>If no bash is available at all, PowerShell's <code>Set-Clipboard</code> is an equivalent native fallback (verified working)</li>\n<li>Linux users may have either <code>xclip</code> or <code>xsel</code></li>\n</ul>\n<p><strong>Content Extraction:</strong></p>\n<ul>\n<li>MCP <code>format_for_clipboard</code> handles all section extraction and formatting</li>\n<li>No manual file parsing needed</li>\n</ul>\n<p><strong>Multiple Matches:</strong></p>\n<ul>\n<li>If track number matches multiple files (shouldn't happen), use the first match</li>\n<li>Warn user if directory structure looks wrong</li>\n</ul>\n","files":[{"path":"SKILL.md","sizeBytes":5433,"isText":true},{"path":"USAGE_EXAMPLES.md","sizeBytes":3478,"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:17:57.804557Z","sha256":"4ED8A8455AD3DD79534F66FD17A0B171CE088D16A2F9B42D1EE15549C5F65149","sizeBytes":3856},"review":null,"source":{"repositoryUrl":"https://github.com/bitwize-music-studio/claude-ai-music-skills","path":"skills/clipboard","license":"CC0-1.0","commit":"8e0e19c0fe7072830ba2918e351102c3c0be9dc4","subtreeSha":"5F0AA38321B86863A0509CA7C0FA0B10BF65B24CB4C2E5D7925A67923594870F","lastSyncedAt":"2026-12-03T17:17:47.083975Z"},"reviewedAt":"2026-12-03T17:18:34.77965Z","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/clipboard"},{"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"}]}