suno-music_skill

This skill helps you generate AI-created music and songs with optional lyrics, instrumental tracks, and style tags using Suno AI.
  • Python

4

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill idanbeck/claude-skills --skill suno-music

  • generate_music.py8.3 KB
  • SKILL.md2.8 KB

Overview

This skill generates complete songs, instrumentals, and vocal tracks using Suno AI. It accepts natural-language descriptions, custom lyrics, style tags, and options for instrumental-only output. The skill saves MP3 files and produces multiple variations per request for quick iteration.

How this skill works

The skill sends prompts and options to Suno AI models via an authenticated session token and receives generated audio files. It supports treating the prompt as lyrics, adding style/voice tags, selecting a model, and producing two variations by default. Outputs are saved with timestamped filenames and can be inspected locally.

When to use it

  • You want a quick demo track or mood bed for a product, video, or prototype
  • You need AI-generated vocal songs from custom lyrics
  • You want instrumental-only music for background, trailers, or podcasts
  • You want multiple stylistic variations to compare options
  • You need a fast way to iterate on melody, tempo, and arrangement ideas

Best practices

  • Provide concise, descriptive prompts (genre, mood, instrumentation) for predictable results
  • When supplying lyrics, use the --custom flag and format verses/chorus clearly
  • Include specific style tags (voice gender, tempo, instruments) to guide the model
  • Monitor and refresh the SUNO_COOKIE token regularly — it typically expires after about an hour
  • Keep track of daily credits; free tier limits generation to roughly five songs per day

Example use cases

  • Create an upbeat electronic loop for a product demo: "an upbeat electronic track for a tech product demo"
  • Generate a full song from lyrics: pass verse/chorus text with --custom and tags like "indie folk, acoustic guitar, male voice"
  • Make an instrumental trailer cue: use --instrumental with "epic orchestral trailer music with building tension"
  • Produce variations to choose a final mix: run the same prompt multiple times to compare the two default variations
  • Check remaining credits with the built-in --credits option before large runs

FAQ

Set the SUNO_COOKIE environment variable to the __session JWT token copied from your browser session. The token expires after roughly one hour and must be refreshed periodically.

What if I see a 401 or 402 error?

401 indicates an expired or invalid token — obtain a fresh __session value from the Suno web app. 402 means you’re out of credits; wait for the daily refresh or upgrade your account.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational