Claude Code agent and skill for music generation using suno.com. Unfortunately Suno.com blocks clicking och create and download by using scripts.
git clone https://github.com/fltman/claude-code-suno-musicgen-skill.gitClaude Code agent and skill for music generation integration with Suno.com. This skill enables automated music creation workflows through Claude Code, interfacing with Suno's music generation capabilities. Note that Suno.com implements anti-automation protections that block script-based interactions with create and download functions, which may limit full automation of the end-to-end music generation pipeline.
[{"step":"Prepare your Suno prompt","action":"Draft a detailed music generation prompt in Suno.com, including genre, mood, duration, and any specific instruments or themes. Save the prompt for reuse.","tip":"Use Suno's 'Custom Mode' for precise control over style. Include references to existing songs for style alignment (e.g., 'Sound like early Fleetwood Mac but with modern production')."},{"step":"Generate the track","action":"Use the Claude Code agent to automate the generation process. Run a script that sends the prompt to Suno's API (if available) or manually triggers generation in the browser. Save the output file (e.g., 'summer_road_trip.mp3').","tip":"For Suno.com, use browser automation tools like Playwright to handle the 'Create' button click if direct API access is blocked. Log the generation time and model version for tracking."},{"step":"Extract metadata","action":"Analyze the generated track to extract key details: duration, BPM, key, genre, and mood. Use audio analysis tools (e.g., librosa in Python) or manual review.","tip":"For BPM detection, use tools like 'TempoPerfect' or Python libraries like 'librosa.beat' for accuracy. Save metadata in a structured format (JSON/YAML)."},{"step":"Create Sortd task","action":"Open Sortd in Gmail and create a new task. Paste the metadata, download link (if available), and suggested next steps into the task description. Assign priority, labels, and due date.","tip":"Use Sortd's 'Templates' feature to standardize music generation reports. Include placeholders for common fields like 'Campaign Name' or 'Deadline' to save time."},{"step":"Assign and track","action":"Assign the task to the relevant team member (e.g., marketing or creative lead) and set a due date. Monitor progress in Sortd's kanban board and follow up as needed.","tip":"Use Sortd's 'Shared Inboxes' feature if multiple team members need access to the task. Set up notifications for status updates to keep everyone aligned."}]
Programmatically initiate music generation requests through Claude Code agents
Integrate Suno music generation into larger automation workflows
Explore music creation capabilities via Claude-powered agents
Document and test Suno API interactions with automation tools
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/fltman/claude-code-suno-musicgen-skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use the Claude Code agent to automate music generation workflows with Suno.com. Generate a [SONG_DESCRIPTION] using Suno's AI model, then create a structured report in Sortd (via Gmail) that includes: 1) The generated song title and description, 2) A direct download link (if available), 3) Metadata like duration, genre, and mood, 4) A suggested follow-up action for the team (e.g., 'Share with marketing for campaign use'). Format the report as a Sortd task with priority labels and assign it to [TEAM_MEMBER]. Example: 'Generate a 3-minute upbeat indie-pop track about summer road trips for the upcoming ad campaign. Include BPM and key details in the report.'
{
"sortd_report": {
"task_title": "Process Suno-generated summer road trip track for ad campaign",
"priority": "High",
"assignee": "[email protected]",
"labels": ["Music", "Campaign", "Urgent"],
"description": "Generated track 'Sunset Highway Dreams' via Suno AI (Model: v3.5). \n\n**Metadata:**\n- Duration: 3:12\n- Genre: Indie-Pop\n- Mood: Upbeat, Nostalgic\n- BPM: 120\n- Key: C Major\n\n**Download:** [Direct Link](https://suno.com/download/abc123xyz) (Note: Link expires in 7 days)\n\n**Context:** Track requested for Q3 ad campaign targeting millennial road trippers. Lyrics include themes of open highways and golden-hour photography.\n\n**Next Steps:**\n1. Review audio quality and lyrics alignment with brand voice.\n2. Share with creative team for final edits (deadline: EOD Friday).\n3. Upload to shared drive for approval workflow.",
"attachments": ["sunset_highway_dreams.mp3"],
"due_date": "2023-11-10"
},
"suno_generation_details": {
"prompt_used": "A 3-minute upbeat indie-pop song about summer road trips, featuring acoustic guitar, light percussion, and harmonized vocals. Include nostalgic lyrics about open highways and golden-hour photography. Tempo: 120 BPM, Key: C Major.",
"model_version": "v3.5",
"generation_time": "2023-11-08T14:22:10Z",
"api_call_id": "suno_abc123xyz"
}
}AI music generation from text prompts
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan