suno-music
Skill4 starsChanged 8 months agoApache-2.0View on GitHub
Generate music using Suno AI through dmxapi.cn API. Supports two modes - inspiration mode (generate from description) and custom mode (generate from lyrics, title, and style tags). Use when users request music generation, AI music creation, or mention Suno. Automatically polls task status until completion and returns audio URLs and cover images. Requires DMX_API_KEY or 302AI_API_KEY environment variable.
- Reads credentials
3 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- AceDataCloud/Skillstheir own version, first seen Nov 8, 2026
- sergeeey/Claude-cod-top-2026their own version, first seen May 13, 2026
- kunwl123456/zeroclaw-skills-collectionedited, first seen Feb 19, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- kunwl123456/zeroclaw-skills-collection★ 2725% same
Wrote their own version · 2
- AceDataCloud/Skills★ 17same name
- sergeeey/Claude-cod-top-2026★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .claude/skills/f-fund-advisor/CLAUDE.mdCLAUDE.md
- .claude/skills/t-supabase/CLAUDE.mdCLAUDE.md
- agent-browserSkill
- find-skillsSkill
- skill-creatorSkill
- fund-advisorSkill
- fundamentalsSkill
- fund-assistantSkill
- fund-screenerSkill
- eastmoney_fin_dataSkill
- eastmoney_fin_searchSkill
- f-mx-select-stockSkill
- mx_self_selectSkill
- eastmoney_stock_simulatorSkill
- baoyu-article-illustratorSkill
- xhs-note-creatorSkill
- auto-wechatSkill
- auto-xSkill
- doubao-image-genSkill
- doubao-videoSkill
- minimaxSkill
- nano-banana2Skill
- remotion-best-practicesSkill
- whisper-subtitleSkill
- arxivSkill
- bar-chart-race-generatorSkill
- perfect-PPTmakerSkill
- tech-news-dailySkill
- x-apiSkill
- yt-dlp-downloaderSkill
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- supabase-postgres-best-practicesSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 133
Use inspiration mode for quick experimentation
- Distinctive: line 134
Use custom mode when you have specific lyrics
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Suno Music Generation
Generate AI music using Suno through the dmxapi.cn API.
Environment Setup
Required: Set API key before use:
export DMX_API_KEY="your_api_key_here"
# OR
export 302AI_API_KEY="your_api_key_here"Default output directory: ./assets/audios/ (auto-created)
Generation Modes
Inspiration Mode
Generate music from a text description. Best for quick creative exploration.
python3 scripts/generate_music.py \
--mode inspiration \
--description "中国风trap音乐,融合古筝和现代节奏" \
--instrumental \
--downloadParameters:
--description, -d: Music description (required)--instrumental, -i: Generate instrumental (no lyrics)--model: Model version (default: chirp-v5)--download: Download audio files--output, -o: Output directory for downloads
Custom Mode
Generate music with specific lyrics, title, and style tags. Best for precise control.
python3 scripts/generate_music.py \
--mode custom \
--lyrics "歌词内容..." \
--title "歌曲标题" \
--tags "pop,upbeat,romantic" \
--downloadParameters:
--lyrics, -l: Song lyrics (required)--title, -t: Song title (required)--tags: Style tags, comma-separated (optional)--model: Model version (default: chirp-v5)--download: Download audio files--output, -o: Output directory for downloads
Available Models
chirp-v5(default, latest)chirp-v4chirp-v3
Available Style Tags
Common tags: pop, rock, electronic, classical, jazz, hip-hop, r&b, country, folk, blues, reggae, latin, ambient, cinematic, lo-fi, trap, house, techno, dubstep, romantic, upbeat, melancholic, energetic, peaceful, dramatic
Output Format
The script returns JSON with audio URLs and cover images:
[
{
"title": "Song Title",
"duration": 180,
"audio_url": "https://...",
"image_url": "https://..."
}
]Python API Usage
from scripts.generate_music import SunoMusicGenerator
generator = SunoMusicGenerator()
# Inspiration mode
results = generator.generate_inspiration(
description="轻松的爵士乐",
make_instrumental=False,
model="chirp-v5"
)
# Custom mode
results = generator.generate_custom(
lyrics="歌词内容...",
title="我的歌",
tags="pop,upbeat",
model="chirp-v5"
)
# Download audio
for result in results:
generator.download_audio(
audio_url=result["audio_url"],
filename=f"{result['title']}.mp3"
)Task Polling
The script automatically polls task status every 3 seconds for up to 60 attempts (3 minutes total). Progress is displayed during generation.
Error Handling
Common errors:
- Missing API key: Set
DMX_API_KEYor302AI_API_KEY - Task timeout: Generation took longer than 3 minutes
- Task failed: API returned failure status
- Invalid model: Use one of the supported models
Tips
- Use inspiration mode for quick experimentation
- Use custom mode when you have specific lyrics
- Combine multiple style tags for unique sounds
- Enable
--downloadto save files locally - Suno typically generates 2 variations per request
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

