lyria

lyria is a skill for Claude Code, Codex from danicat/skills. It costs 104 tokens per session (4,489 once invoked), scanned C, original, Apache-2.0.

A music and audio generator that creates songs, instrumental tracks, and short music clips from text or reference images using Google Lyria models.

In plain words
What is it for?
Make songs with lyrics, instrumental soundtracks, music loops, and themes based on artwork or screenshots, with MP3 or WAV export.
Why use it?
It lets you create audio from a written description or visual idea without composing and recording it manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Make songs with lyrics, instrumental soundtracks, music loops, and themes based on artwork or screenshots, with MP3 or WAV export.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danicat/skills/lyria
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 danicat/skills --skill lyria
Clone the repo
git clone --depth 1 https://github.com/danicat/skills

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 lyria

README.md
[![agentmods](https://agentmods.dev/badge/skills/danicat/skills/lyria/github.svg)](https://agentmods.dev/skills/danicat/skills/lyria)
Your own site
<a href="https://agentmods.dev/skills/danicat/skills/lyria"><img src="https://agentmods.dev/badge/skills/danicat/skills/lyria/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 lyria

Your own site · 80×15
<a href="https://agentmods.dev/skills/danicat/skills/lyria"><img src="https://agentmods.dev/badge/skills/danicat/skills/lyria.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 4,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.04489
Opus 5.5 $0.00042 $0.01796
Sonnet 5.5 $0.00021 $0.00898
Haiku 4.5 $0.00010 $0.00449

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

Security

Grade C, and why

lyria scanned grade C with 2 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/lyria.py, scripts/test_lyria.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

command -v gemini-api >/dev/null 2>&1 || (curl -fsSL https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bash)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

command -v gemini-api >/dev/null 2>&1 || (curl -fsSL https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bash)
media/lyria/SKILL.md · 310 lines

How it starts

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

Lyria music generation (lyria)

Generate 44.1 kHz stereo music, full songs with structured lyrics, and instrumental audio tracks from text prompts or reference images using Google's Lyria models (lyria-3.5, lyria-3-clip-preview, and lyria-3-pro-preview) via uv run scripts/lyria.py, the gemini-api CLI (gemini-api music), or Google Gen AI SDKs across Gemini Enterprise / Vertex AI (global location) and the Gemini Developer API.

[!CAUTION] Strict fail-fast authentication policy:

  • If gemini-api fails, is not installed, or lacks Vertex AI authentication, run uv run scripts/lyria.py with Vertex AI / Application Default Credentials (gcloud auth application-default login --billing-project YOUR_PROJECT_ID, GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION="global", GOOGLE_GENAI_USE_ENTERPRISE="true") or GEMINI_API_KEY.
  • If authentication still fails in scripts/lyria.py, stop immediately, report the exact authentication error to the user, and ask them to configure credentials (gcloud auth application-default login --billing-project YOUR_PROJECT_ID + export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" or export GEMINI_API_KEY=...).
  • Never synthesize placeholder audio files, never silently swap models, and never inspect credential stores outside standard environment variables and ADC.

Available scripts

  • scripts/lyria.py: PEP 723 standalone Python CLI (uv run scripts/lyria.py) for text-to-music and image-to-music generation, lyric export, and MP3/WAV output via google-genai. Supports Gemini Enterprise / Vertex AI (--enterprise, --vertexai, --project, --location, GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION, ADC) and Gemini Developer API (GEMINI_API_KEY).
  • scripts/test_lyria.py: Automated contract and execution test suite validating Interactions API payloads directly against google-genai Pydantic schemas, mocked end-to-end audio/lyrics writes (output_audio, steps, and models API), ADC/quota-project authentication, MP3/WAV constraints, and retired model rejection.

Read the full file on GitHub · 310 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed 3110ab2aa60a
  2. 17d ago Changed · -74 lines · -36 tokens per session 615903a1f813
  3. 25d ago Changed · +170 lines · +35 tokens per session scan E → C 6f796ba35d40
  4. 1mo ago Changed · +45 lines · +12 tokens per session scan A → E 504de8eccab3
  5. 1mo ago Changed 88e12dda8e48
  6. 2mo ago Changed · +2 lines · -2 tokens per session 6bb818591385
  7. 3mo ago First seen · 167 lines · 95 tokens per session scan A 1342bf7cefa0

Subscribe to this mod's changes

lyria is a skill published in the GitHub repository danicat/skills (26 stars, last pushed 8d ago), licensed Apache-2.0. It adds 104 tokens to every session and 4,489 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

lyria compared with skills from other repositories

lyria next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lyriadanicat/skillsSkill268d agoApache-2.0C104Claude Code, Codex
conductor-new-trackgemini-cli-extensions/conductorSkill3.8k3mo agoApache-2.0A26Claude Code, Codex
conductor-implementgemini-cli-extensions/conductorSkill3.8k3mo agoApache-2.0A34Claude Code, Codex
conductor-statusgemini-cli-extensions/conductorSkill3.8k3mo agoApache-2.0A21Claude Code, Codex
README 文档生成cdavid817/vanehub-aiSkill1103d agoApache-2.0A21Claude Code, Codex
doctorSinanTufekci/agent-internSkill355d agoMITA75Claude Code
TDD 开发纪律助手cdavid817/vanehub-aiSkill1103d agoApache-2.0A27Claude Code, Codex