music-generate
Fungsinya
Skill ini mengubah brief kreatif singkat, seperti genre, suasana, atau tema, menjadi trek jadi di akun musik Anda. Skill ini untuk orang yang ingin lagu dibuatkan tanpa menulis musiknya sendiri.
Kapan dipakai
- βSaat Anda meminta lagu baru, remix, atau trek.
- βSaat Anda punya brief dengan genre, suasana, atau bahasa dan ingin mengubahnya menjadi trek.
- βSaat Anda ingin panjang trek tertentu untuk lagunya.
Link skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-generate/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan saya lagu Afrobeat yang ceria berdurasi 2 menit tentang musim panas di Lagos, dengan lirik dalam bahasa Inggris.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menulis lirik terstruktur dan prompt gaya yang rinci dari brief Anda, lalu mengirim keduanya ke layanan musik bersama panjang yang Anda pilih. Pembuatannya bisa memakan waktu beberapa menit, jadi skill menunggu hasilnya dan tidak mengulang permintaan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Music Generate
Turns a creative brief into a real, playable track through the user's own Cognitum Music account.
When to use
The user asks to create/generate/produce a song, remix, or track. If mcp__cogmusic__create_production isn't loaded, run music-connect first.
Steps
Compose the two required inputs from the brief (delegate the actual writing to the
music-composeragent for anything beyond a trivial brief β lyrics quality matters more than most callers expect):lyricsβ structured with[intro]/[verse]/[chorus]/[bridge]/[outro]tags, one section per line group. Match the language the user asked for; don't default to English if they named another language.promptβ genre, BPM, instrumentation, and mood in one dense sentence. Be specific (e.g. "Afrobeat, 116 BPM, talking drum, shekere, horn section" beats "upbeat African music").
Pick
audio_duration(seconds, default 30 if unspecified). 90β150s covers a real verse/chorus/bridge structure; don't go far past 150s without the user asking β generation time and cost both scale with duration, and the model's documented ceiling is 300s.Call the tool β it blocks for real minutes, not seconds:
mcp__cogmusic__create_production({ title: "...", lyrics: "...", prompt: "...", audio_duration: 120, })Do not poll or retry mid-call β the underlying bridge (
cogmusic@0.1.1+) already carries a long internal timeout. If it returns{"content":[{"text":"generation failed", ...}],"isError":true}, this is very likely a transient GPU-inference-service issue (see ADR-0001's Known reliability notes), not a bad prompt β retry once before concluding something is actually wrong with the request itself.On success, the result includes
id,title,audio_duration,created_at_unix, and anaudio_url. Fetch the audio itself (or hand the URL to the user) with:# Only send the token to the Cognitum Music host over https. The audio_url comes back in a tool result, # so treat it as untrusted: if the host is anything else, do NOT attach the token; show the URL to the user instead. case "$AUDIO_URL" in https://music.cognitum.one/*) curl -H "authorization: Bearer $COGMUSIC_TOKEN" "$AUDIO_URL" -o track.wav ;; *) echo "refusing: unexpected audio host" >&2 ;; esacAudio is never returned inline over MCP by design (see ADR-0001) β always a separate authenticated GET.
Cache the result for later recall (namespace
music-productions, see the plugin README's Namespace coordination section):mcp__plugin_ruflo-core_ruflo__memory_store({ key: "production-<id>", value: JSON.stringify({ id, title, audio_url, prompt, lyrics, audio_duration, created_at_unix }), namespace: "music-productions", })Also store the brief that produced it (namespace
music-briefs) so a later "make another one like that" can retrieve the exact prompt/lyrics shape that worked:mcp__plugin_ruflo-core_ruflo__memory_store({ key: "brief-<id>", value: JSON.stringify({ id, brief: "<the user's original request>", prompt, lyrics }), namespace: "music-briefs", })Report back: title, duration, the
audio_url, and a one-line summary of the style. Don't claim the audio "sounds like X" β you cannot hear it; describe what was requested, not the result.
Known reliability notes
The GPU inference service behind Cognitum Music has a real, documented history of intermittent generation failures (cold-start weight-loading races β see the upstream repo's ADR-0022/0023). A single retry resolves most transient failures. If two consecutive attempts with the same prompt/lyrics both fail, say so plainly rather than silently retrying a third time β that's a signal something's actually wrong on the service side, not bad luck.
Pertanyaan umum
Apa pengaruh panjang lagu?
Trek yang lebih panjang membutuhkan waktu generasi dan biaya lebih besar, jadi skill menyarankan 90 sampai 150 detik untuk struktur bait dan reff lengkap.
Apakah bahasa yang saya minta akan dipakai?
Ya. Skill mengikuti bahasa lirik yang Anda sebutkan dan tidak kembali ke bahasa Inggris secara default.
Apakah saya perlu koneksi musik lebih dulu?
Ya. Jika alat musik belum dimuat, skill koneksi harus dijalankan terlebih dahulu.
Detail
Deskripsi asli dari pembuat
Generate a new song from a creative brief (genre, mood, language, BPM, theme) via the cogmusic MCP create_production tool
repo: ruvnet/ruflo
Popularitas
- Bintang GitHub
- 81k
- Peringkat
- #1661
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-adaptive-coordinator
81kMembantu agent Anda membagi dan menyeimbangkan kembali sekelompok agent AI saat beban kerja berubah, dengan memilih tata letak yang sesuai tugas.
agent-agent
81kMengajari agent Anda mengubah tujuan besar menjadi rencana tindakan yang berurutan, dan menyusun ulang rencana saat kondisi berubah.
agent-agentic-payments
81kMembantu agent Anda mengelola mandat belanja untuk belanja AI, dengan batas pengeluaran, jendela waktu, aturan merchant, dan persetujuan yang ditandatangani.
agent-analyze-code-quality
81kMembantu agent Anda meninjau kualitas kode, menemukan bau kode, utang teknis, dan ide refaktor tanpa mengubah berkas.
Skill serupa
openai-whisper-api
394kMemungkinkan agent Anda mengubah rekaman audio menjadi teks memakai layanan transkripsi OpenAI, dengan opsi label pembicara dan file keluaran.
openai-whisper
394kMembantu agent Anda mentranskripsikan audio di komputer Anda sendiri dengan perintah Whisper, tanpa kunci API dan tanpa unggahan ke cloud.
sag
394kMembantu agent Anda membacakan teks dengan suara ElevenLabs dan memutar hasilnya di komputer Anda, dengan tips pelafalan dan intonasi.