music-server
Skill232 starsChanged 5 months agoMITView on GitHub
Generate audio with the portable Music Server.
In this repository82 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apple-notesSkill
- apple-remindersSkill
- findmySkill
- imessageSkill
- claude-codeSkill
- codexSkill
- computer-useSkill
- hermes-agentSkill
- merge-reconcilerSkill
- opencodeSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-infographicSkill
- claude-designSkill
- comfyuiSkill
- design-mdSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- p5jsSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- songwriting-and-ai-musicSkill
- touchdesigner-mcpSkill
- sdlc-reviewSkill
- email-inbox-triageSkill
- himalayaSkill
- portable-comfyuiSkill
- tts-serverSkill
- getting-startedSkill
- codebase-inspectionSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-issue-to-prSkill
- github-pr-workflowSkill
- github-repo-managementSkill
- lm-studioSkill
- gif-searchSkill
- songseeSkill
- youtube-contentSkill
- huggingface-hubSkill
- obsidianSkill
- airtableSkill
- boxSkill
- document-to-action-itemsSkill
- docxSkill
- google-workspaceSkill
- mapsSkill
- meeting-action-itemsSkill
- nano-pdfSkill
- notionSkill
- ocr-and-documentsSkill
- pdfSkill
- powerpointSkill
- product-price-monitorSkill
- session-librarianSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use this skill when the user wants to install or manage the portable Music Server, load its models, or generate music, songs, or sound …
- Distinctive: line 28
If the server isn't running, start it with the terminal tool:
- Distinctive: line 33
If it's not installed yet, install it:
- Very specific: line 39
Check installed models: GET /api/models/status
- Very specific: line 136
Use duration param to control length (5-60 seconds depending on model)
- Very specific: line 138
Use terminal tool with python -c "import httpx.
- Very specific: line 139
Always check server health first: httpx.get("http://127.0.0.1:9150/health")
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Music Generation Server - Hermes Skill
You have access to a portable Music Generation Server running locally. Use it to generate music, songs, and sound effects from text prompts.
When to Use
Use this skill when the user wants to install or manage the portable Music Server, load its models, or generate music, songs, or sound effects locally.
Server Info
- Base URL:
http://127.0.0.1:9150 - Docs:
http://127.0.0.1:9150/docs - Location:
extensions/music-server/
Quick Start
If the server isn't running, start it with the terminal tool:
cd extensions/music-server && launcher.bat apiIf it's not installed yet, install it:
cd extensions/music-server && install.batAvailable Models
Check installed models: GET /api/models/status
Supported models: stable-audio, musicgen, musicgen-large, audioldm2, audioldm2-large, riffusion, mustango, tango2
Core API Endpoints (use via terminal with curl or python httpx)
Generate Music
import httpx, json
r = httpx.post("http://127.0.0.1:9150/api/music/{model}", json={
"prompt": "upbeat electronic dance music with synths",
"duration": 10.0, # seconds
"guidance_scale": 7.0,
}, timeout=300)
result = r.json() # Returns {"output_id": "...", "audio_url": "/api/outputs/{id}/audio", ...}List Available Models
r = httpx.get("http://127.0.0.1:9150/api/models")Check Model Status (installed/loaded/running)
r = httpx.get("http://127.0.0.1:9150/api/models/status")Install a Model
r = httpx.post("http://127.0.0.1:9150/api/install/{model_id}")Download Model Weights
r = httpx.post("http://127.0.0.1:9150/api/install/{model_id}/download")Load/Unload Model (GPU memory management)
httpx.post("http://127.0.0.1:9150/api/models/{model}/load")
httpx.post("http://127.0.0.1:9150/api/models/{model}/unload")List Workers
r = httpx.get("http://127.0.0.1:9150/api/workers")Spawn/Kill Workers
httpx.post("http://127.0.0.1:9150/api/workers/spawn", json={"model": "musicgen", "device": "cuda:0"})
httpx.delete("http://127.0.0.1:9150/api/workers/{worker_id}")
httpx.post("http://127.0.0.1:9150/api/workers/kill-all")List Generated Outputs
r = httpx.get("http://127.0.0.1:9150/api/outputs")Get/Download Audio
r = httpx.get("http://127.0.0.1:9150/api/outputs/{entry_id}/audio")
# Returns audio file bytesGet Model Parameters & Presets
r = httpx.get("http://127.0.0.1:9150/api/models/{model}/params")
r = httpx.get("http://127.0.0.1:9150/api/models/{model}/presets")CLAP Audio Scoring (optional)
httpx.post("http://127.0.0.1:9150/api/clap/start")
r = httpx.post("http://127.0.0.1:9150/api/clap/score", json={"audio_url": "...", "text": "..."})GPU/Device Info
r = httpx.get("http://127.0.0.1:9150/api/devices")Available Tools (use these instead of raw API calls)
| Tool | What it does |
music_status | Check server status and model availability |
music_generate | Generate music from text prompt |
music_models | List all models with load/install status |
music_model_load | Load a model (spawn GPU worker) |
music_model_unload | Unload model to free GPU memory |
music_outputs | List generated music library |
music_install | Install a model (venv + weights download) |
Tips
- Workers auto-spawn when you request a model that isn't loaded yet
- Use
durationparam to control length (5-60 seconds depending on model) - Generated audio is saved to
extensions/music-server/output/ - Use terminal tool with
python -c "import httpx; ..."to call these endpoints - Always check server health first:
httpx.get("http://127.0.0.1:9150/health")
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.

