Pular para o conteúdo
Skillpedia
Áudio e voz81 mil · #1661

music-generate

O que ela faz

Esta skill transforma um briefing criativo curto, como um gênero, um clima ou um tema, em uma faixa finalizada na sua conta de música. Ela é para quem quer uma música criada sem precisar compor.

Quando usar

  • ✓Quando você pede uma música nova, um remix ou uma faixa.
  • ✓Quando você tem um briefing com gênero, clima ou idioma e quer transformá-lo em uma faixa.
  • ✓Quando você quer uma duração específica para a música.

Link da skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-generate/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-generate/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Crie uma música afrobeat animada de 2 minutos sobre o verão em Lagos, com letra em inglês.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill escreve uma letra estruturada e um prompt de estilo detalhado a partir do seu briefing, e envia os dois ao serviço de música com a duração escolhida. A criação pode levar vários minutos, então a skill espera o resultado em vez de repetir o pedido.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

  1. Compose the two required inputs from the brief (delegate the actual writing to the music-composer agent 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").
  2. 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.

  3. 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.

  4. On success, the result includes id, title, audio_duration, created_at_unix, and an audio_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 ;; esac
    

    Audio is never returned inline over MCP by design (see ADR-0001) — always a separate authenticated GET.

  5. 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",
    })
    
  6. 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.

Perguntas frequentes

O que a duração da música altera?

Faixas mais longas levam mais tempo de geração e custam mais, então a skill sugere de 90 a 150 segundos para uma estrutura completa de verso e refrão.

Ela vai usar o idioma que eu pedi?

Sim. A skill usa o idioma da letra que você indicar, em vez de usar inglês por padrão.

Preciso da conexão com a música antes?

Sim. Se as ferramentas de música não estiverem carregadas, a skill de conexão precisa ser executada primeiro.

Detalhes

Descrição original do autor

Generate a new song from a creative brief (genre, mood, language, BPM, theme) via the cogmusic MCP create_production tool

repo: ruvnet/ruflo

Popularidade

Estrelas no GitHub
81 mil
Posição no ranking
#1661
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas