スキル一覧に戻る

clipboard

bitwize-music-studio
更新日 Yesterday
2 閲覧
209
37
209
GitHubで表示
その他general

について

このスキルは、歌詞やスタイルプロンプトなどのトラックコンテンツをシステムクリップボードにコピーし、Sunoなどの外部ツールで使用できるようにします。自動的にプラットフォーム(macOS、WSL、Linux)を検出し、適切なクリップボードユーティリティを使用します。開発者はこれを使用して、トラックファイルからコンテンツを素早く抽出し、他のアプリケーションに貼り付けることができます。

クイックインストール

Claude Code

推奨
メイン
npx skills add bitwize-music-studio/claude-ai-music-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/bitwize-music-studio/claude-ai-music-skills
Git クローン代替
git clone https://github.com/bitwize-music-studio/claude-ai-music-skills.git ~/.claude/skills/clipboard

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Your Task

Input: $ARGUMENTS

Copy content from track files to the system clipboard for pasting into Suno or other tools.


Clipboard Skill

Copy specific sections from track files directly to your clipboard.

Step 1: Detect Platform & Check Clipboard Tool

Run detection:

if command -v pbcopy >/dev/null 2>&1; then
  echo "macOS"
elif command -v clip.exe >/dev/null 2>&1; then
  echo "WSL"
elif command -v xclip >/dev/null 2>&1; then
  echo "Linux-xclip"
elif command -v xsel >/dev/null 2>&1; then
  echo "Linux-xsel"
else
  echo "NONE"
fi

If NONE:

Error: No clipboard utility found.

Install instructions:
- macOS: pbcopy (built-in)
- Linux: sudo apt install xclip
- WSL: clip.exe (built-in)

Step 2: Parse Arguments

Expected format: <content-type> <album-name> <track-number>

Content types:

  • lyrics - Suno Lyrics Box
  • style - Suno Style Box (auto-appends Exclude Styles if present)
  • exclude - Exclude Styles only (negative prompts)
  • streaming-lyrics - Streaming Lyrics (for distributors)
  • all - All Suno inputs (Style + Exclude + Lyrics combined)
  • suno - JSON object (title, style, exclude_styles, lyrics) for Suno auto-fill via Tampermonkey

Examples:

  • /clipboard lyrics sample-album 03
  • /clipboard style sample-album 05
  • /clipboard streaming-lyrics sample-album 02
  • /clipboard all sample-album 01

If arguments are missing:

Usage: /clipboard <content-type> <album-name> <track-number>

Content types: lyrics, style, exclude, streaming-lyrics, all, suno

Example: /clipboard lyrics sample-album 03

Step 3: Extract Content via MCP

Call format_for_clipboard(album_slug, track_slug, content_type) — extracts and formats the requested content in one call.

  • content_type: "lyrics", "style", "exclude", "streaming", "all", or "suno"
  • Returns the formatted content ready for clipboard
  • Handles track resolution, section extraction, and formatting automatically

If track not found: MCP returns an error with available tracks.

Step 6: Copy to Clipboard

Use the detected platform's clipboard command:

PlatformCommand
macOSpbcopy
WSLclip.exe
Linux (xclip)xclip -selection clipboard
Linux (xsel)xsel --clipboard --input

Example (use printf '%s' to safely handle special characters in lyrics):

printf '%s' "$content" | pbcopy  # macOS
printf '%s' "$content" | xclip -selection clipboard  # Linux

Step 7: Confirm

Report:

✓ Copied to clipboard: {content-type} from track {track-number}
  Album: {album}
  Track: {track-filename}

Error Handling

Track file not found:

Error: Track {track-number} not found in album {album}

Available tracks:
- 01-track-name.md
- 02-track-name.md

Content section not found:

Error: {content-type} section not found in track {track-number}

The track file may not have this section yet.

Config missing:

Error: Config not found at ~/.bitwize-music/config.yaml
Run /configure to set up.

Examples

Copy Suno Lyrics

/clipboard lyrics sample-album 03

Output:

✓ Copied to clipboard: lyrics from track 03
  Album: sample-album
  Track: 03-t-day-beach.md

Copy Style Prompt

/clipboard style sample-album 05

Copy Streaming Lyrics

/clipboard streaming-lyrics sample-album 02

Copy All Suno Inputs

/clipboard all sample-album 01

Output:

✓ Copied to clipboard: all suno inputs from track 01
  Album: sample-album
  Track: 01-intro.md

Contents:
- Style Box (with Exclude Styles if present)
- Lyrics Box

Copy Suno Auto-Fill JSON

/clipboard suno sample-album 01

Output:

✓ Copied to clipboard: suno auto-fill JSON from track 01
  Album: sample-album
  Track: 01-intro.md

Clipboard contains JSON with: title, style, exclude_styles, lyrics
Paste into Suno with the Tampermonkey auto-fill script (Ctrl+Shift+V).
See tools/userscripts/README.md for setup.

Implementation Notes

Clipboard Detection:

  • Check multiple tools in order of preference
  • WSL has clip.exe which works from Linux subsystem
  • Linux users may have either xclip or xsel

Content Extraction:

  • MCP format_for_clipboard handles all section extraction and formatting
  • No manual file parsing needed

Multiple Matches:

  • If track number matches multiple files (shouldn't happen), use the first match
  • Warn user if directory structure looks wrong

GitHub リポジトリ

bitwize-music-studio/claude-ai-music-skills
パス: skills/clipboard
0
ai-musicai-music-toolsaudio-masteringclaudeclaude-codeclaude-code-plugin

関連スキル

llamaguard

その他

LlamaGuardは、暴力やヘイトスピーチなど6つの安全性カテゴリーにおいて、LLMの入力と出力をモデレートするMetaの70-80億パラメータモデルです。94〜95%の精度を提供し、vLLM、Hugging Face、Amazon SageMakerを使用してデプロイ可能です。このスキルを使用して、AIアプリケーションにコンテンツフィルタリングと安全策を簡単に統合できます。

スキルを見る

cost-optimization

その他

このClaudeスキルは、リソースの適正サイジング、タグ付け戦略、支出分析を通じて、開発者がクラウドコストを最適化することを支援します。AWS、Azure、GCPにわたるクラウド支出の削減とコストガバナンスの実施のためのフレームワークを提供します。インフラコストの分析、リソースの適正サイジング、または予算制約への対応が必要な際にご利用ください。

スキルを見る

quantizing-models-bitsandbytes

その他

このスキルは、bitsandbytesを使用してLLMを8ビットまたは4ビット精度に量子化し、精度の低下を最小限に抑えつつ50〜75%のメモリ削減を実現します。限られたGPUメモリでより大規模なモデルを実行したり、推論を高速化するのに理想的で、INT8、NF4、FP4などのフォーマットをサポートしています。HuggingFace Transformersと統合され、QLoRAトレーニングや8ビットオプティマイザーを可能にします。

スキルを見る

dispatching-parallel-agents

その他

このClaudeスキルは、複数のエージェントを配備し、3つ以上の独立した問題を並行して調査・修正します。共有状態や依存関係がなく解決可能な、無関係な障害が発生するシナリオ向けに設計されています。中核となる機能は並列問題解決であり、効率を最大化するために独立した問題領域ごとに1つのエージェントを割り当てます。

スキルを見る