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.
npx skills add JOYLINK-LTD/lacuna-toolkit --skill lacuna-musicgit clone --depth 1 https://github.com/JOYLINK-LTD/lacuna-toolkitWrote 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.
[](https://agentmods.dev/skills/joylink-ltd/lacuna-toolkit/lacuna-music)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00104 | $0.01563 |
| Opus 5.5 | $0.00042 | $0.00625 |
| Sonnet 5.5 | $0.00021 | $0.00313 |
| Haiku 4.5 | $0.00010 | $0.00156 |
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 2mo 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.
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.
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.
- 2mo ago First seen · 129 lines · 104 tokens per session scan A 321a186ed0c1
lacuna-music is a skill published in the GitHub repository JOYLINK-LTD/lacuna-toolkit (5 stars, last pushed 3mo ago), licensed MIT. It adds 104 tokens to every session and 1,563 once invoked, about $0.0004 per session on Opus 5.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.
lacuna-music compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lacuna-musicJOYLINK-LTD/lacuna-toolkit | Skill | 5 | 3mo ago | MIT | A | 104 | Claude Code, Codex |
| weak-agent-testkklimuk/docx-cli | Skill | 241 | yesterday | MIT | A | 218 | Claude Code |
| commitkklimuk/docx-cli | Skill | 241 | yesterday | MIT | A | 49 | Claude Code |
| security-reviewkklimuk/docx-cli | Skill | 241 | yesterday | MIT | A | 47 | Claude Code |
| docx-clikklimuk/docx-cli | Skill | 241 | yesterday | MIT | B | 124 | Claude Code |
| tui-designgfargo/tui-design-skill | Skill | 45 | 8d ago | MIT | A | 135 | Claude Code, Codex |
| storyStorybloq/storybloq | Skill | 788 | yesterday | none | A | 23 | Codex |