lacuna-music

lacuna-music is a skill for Claude Code, Codex from JOYLINK-LTD/lacuna-toolkit. It costs 104 tokens per session (1,563 once invoked), scanned A, original, MIT.

A tool for creating music with artificial intelligence from style descriptions or custom lyrics, including background tracks, jingles, and vocal songs.

In plain words
What is it for?
Making music for videos, demos, presentations, apps, intros, outros, short sound effects, or songs based on user-written lyrics.
Why use it?
It removes the need to compose or produce every audio track manually when a project needs original music.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Making music for videos, demos, presentations, apps, intros, outros, short sound effects, or songs based on user-written lyrics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joylink-ltd/lacuna-toolkit/lacuna-music
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JOYLINK-LTD/lacuna-toolkit --skill lacuna-music
Clone the repo
git clone --depth 1 https://github.com/JOYLINK-LTD/lacuna-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lacuna-music

README.md
[![agentmods](https://agentmods.dev/badge/skills/joylink-ltd/lacuna-toolkit/lacuna-music/github.svg)](https://agentmods.dev/skills/joylink-ltd/lacuna-toolkit/lacuna-music)
Your own site
<a href="https://agentmods.dev/skills/joylink-ltd/lacuna-toolkit/lacuna-music"><img src="https://agentmods.dev/badge/skills/joylink-ltd/lacuna-toolkit/lacuna-music/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lacuna-music

Your own site · 80×15
<a href="https://agentmods.dev/skills/joylink-ltd/lacuna-toolkit/lacuna-music"><img src="https://agentmods.dev/badge/skills/joylink-ltd/lacuna-toolkit/lacuna-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.01563
Opus 5 $0.00052 $0.00781
Sonnet 5 $0.00021 $0.00313
Haiku 4.5 $0.00010 $0.00156

Measured 10d ago against content hash 321a186ed0c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lacuna-music scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/lacuna-music/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

lacuna-music

Generate AI music programmatically through the Lacuna Music API.

When to use this

Activate when the user wants to:

  • Generate a track from a style description ("lofi piano, 70 bpm", "synthwave, retro drums")
  • Add background music to a video, demo, presentation, or app
  • Produce a jingle, intro, outro, or stinger from a brief
  • Compose a vocal song from custom lyrics

Pick a transport

Three packages, same underlying API. Pick the first that fits the user's environment:

When the user is using… Use
Claude Code, Claude Desktop, Cursor, Zed, or another MCP client lacuna-mcp
A Node / TypeScript script or backend lacuna-sdk
Their shell, a CI job, a one-off prompt lacuna-toolkit

lacuna-mcp (preferred for AI agents)

claude mcp add lacuna -- npx -y lacuna-mcp

Set LACUNA_API_KEY in the MCP env block. After adding, three tools become available: generate_music, get_generation, wait_for_generation. Call generate_music then wait_for_generation to receive the final audio_url.

lacuna-sdk

import Lacuna from 'lacuna-sdk'

const lacuna = new Lacuna({ apiKey: process.env.LACUNA_API_KEY })

const task = await lacuna.music.generations.create({
  style: 'lofi piano, 70 bpm, mellow',
  title: 'Study session',
  instrumental: true,
})

const finished = await lacuna.music.generations.waitFor(task.id)
console.log(finished.tracks[0]?.audio_url)

lacuna-toolkit

npx lacuna-toolkit music generate \
  --style "synthwave, retro drums, 110 bpm" \
  --title "Neon Drive" \
  --instrumental \
  --wait \
  --output json

Authentication

Get a key at lacuna.fm/profile/api. It begins with lyr_live_ and is shown once at creation. Pass it via LACUNA_API_KEY env var.

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 129 lines · 104 tokens per session scan A 321a186ed0c1

Subscribe to this mod's changes

lacuna-music is a skill published in the GitHub repository JOYLINK-LTD/lacuna-toolkit (4 stars, last pushed 1mo ago), licensed MIT. It adds 104 tokens to every session and 1,563 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ai-media-generator

A workflow for turning ideas into prompts for AI-generated images, videos, and music across several media platforms. When needed, it can also send those prompts to the chosen platform through browser automation.

Hao0321/ai-media-generator · 380 tokens

cmd-art

Design and render terminal/CMD visual effects and ASCII art from a one-line request via the pluggable fx engine (30 effects, hot-swappable and themeable, plus scripted shows). Effects include donut, matrix rain, plasma, fire, a spinning 3D ball, a solar-system orrery, Game of Life, wireframe cube, 3D text banners…

dwgx/SmartCLI · 133 tokens

voice-to-instrument-guide

Expert guidance for converting voice recordings into realistic instrument sounds using AI tools. Use this skill whenever a user asks about voice-to-instrument conversion, how to record voice input for music AI, which instrument suits their voice, prompt engineering for text-to-music tools, or troubleshooting common…

stark-ydq/voice-to-instrument-skills · 69 tokens

suno-songsmith

Turn a song or album idea into release-ready Suno material: a precise Style prompt, fully structured lyrics with metatags, a title, and the iteration plan to refine it. Use this skill whenever the user wants to make music with Suno (or Suno AI / Suno V5 / V5.5), write song lyrics intended for AI music generation…

RealBombi/suno-songsmith · 199 tokens

recording

Capture screenshots on registered computers, record on macOS or HarmonyOS, and manage saved captures. Probe capabilities before recording.

Hmbown/Codewhale · 27 tokens

ffmpeg

Process audio and video with the ffmpeg / ffprobe CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.

AtomicBot-ai/atomic-agent · 47 tokens