music-generate
Qué hace
Esta skill convierte un encargo creativo breve, como un género, un ambiente o un tema, en una pista terminada en tu cuenta de música. Es para personas que quieren una canción sin escribir la música ellas mismas.
Cuándo usarla
- ✓Cuando pides una canción nueva, un remix o una pista.
- ✓Cuando tienes un encargo con género, ambiente o idioma y quieres convertirlo en pista.
- ✓Cuando quieres una duración específica para la canción.
Link de la skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-generate/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Hazme una canción afrobeat animada de 2 minutos sobre el verano en Lagos, con letra en inglés.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill escribe una letra estructurada y un prompt de estilo detallado a partir de tu encargo, y envía ambos al servicio de música con la duración que elijas. La llamada puede tardar varios minutos, así que la skill espera el resultado en lugar de repetir la solicitud.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Qué afecta la duración de la canción?
Las pistas más largas toman más tiempo y costo de generación, así que la skill sugiere de 90 a 150 segundos para una estructura completa de estrofa y coro.
¿Usará el idioma que pedí?
Sí. La skill usa el idioma de letra que indiques, en lugar de usar inglés por defecto.
¿Necesito primero la conexión con la música?
Sí. Si las herramientas de música no están cargadas, primero hay que ejecutar la skill de conexión.
Detalles
Descripción original del autor
Generate a new song from a creative brief (genre, mood, language, BPM, theme) via the cogmusic MCP create_production tool
repo: ruvnet/ruflo
Popularidad
- Estrellas en GitHub
- 81 mil
- Posición en el ranking
- #1661
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-adaptive-coordinator
81 milAyuda a tu agente a dividir y reequilibrar un grupo de agentes de IA cuando cambia la carga de trabajo, eligiendo una distribución que encaje con la tarea.
agent-agent
81 milEnseña a tu agente a convertir una meta grande en un plan ordenado de acciones, y a replanificar cuando cambien las condiciones.
agent-agentic-payments
81 milAyuda a tu agente a administrar mandatos de gasto para compras con IA, con topes de gasto, ventanas de tiempo, reglas por comercio y aprobaciones firmadas.
agent-analyze-code-quality
81 milAyuda a tu agente a revisar la calidad del código, encontrando malos olores, deuda técnica e ideas de refactorización sin cambiar los archivos.
Skills parecidas
openai-whisper-api
394 milPermite que tu agente convierta una grabación de audio en texto usando el servicio de transcripción de OpenAI, con opciones para etiquetas de hablante y archivos de salida.
openai-whisper
394 milAyuda a tu agente a transcribir audio en tu propio ordenador con el comando Whisper, sin clave API ni subida a la nube.
sag
394 milAyuda a tu agente a leer texto en voz alta con voces de ElevenLabs y reproducir el resultado en tu ordenador, con consejos de pronunciación y expresión.