Skip to main content
skill

multimodal-audiocraft — Claude Code skill: setup and features

Equips Claude Code with workflows for text-to-music and sound generation using Meta's AudioCraft tools. Helpful when building audio synthesis pipelines.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/multimodal-audiocraft
Open on GitHub

What multimodal-audiocraft does

This skill gives Claude Code workflows for generating music and audio effects. It covers MusicGen and AudioGen. The templates handle text prompts alongside melody conditioning with reference audio. Under the hood, it details T5 embeddings and EnCodec decoding.

Running the code requires torch>=2.0.0 and audiocraft. Large model checkpoints will require a capable GPU. It also includes standard bounds for duration and guidance scales.

What it helps with

  • write Python code for text-to-music generation with MusicGen
  • synthesize background sound effects using AudioGen
  • condition song generation on an input melody track
  • configure sampling parameters like temperature and guidance scale

Example prompts for the agent

  • Generate a 30-second electronic track prompt using MusicGen
  • Write a script to synthesize barking dog sounds with AudioGen
  • Show how to pass melody.wav into musicgen-melody with torchaudio

How to install multimodal-audiocraft

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/multimodal-audiocraft

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill multimodal-audiocraft -a claude-code

3Manually: put the files in place

~/.claude/skills/multimodal-audiocraft/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/multimodal-audiocraft/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about multimodal-audiocraft

How do I install multimodal-audiocraft in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/multimodal-audiocraft in your console. You can also place the template manually into ~/.claude/skills/multimodal-audiocraft/SKILL.md.

What does multimodal-audiocraft do?

It provides prompt templates and code examples for MusicGen and AudioGen models. It helps Claude Code generate audio clips and handle melody conditioning.

What dependencies are required to run the generated code?

The environment needs audiocraft, torch>=2.0.0, and transformers>=4.30.0.

Similar skills

All skills for AI and ML →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor