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 danicat/skills --skill lyriagit clone --depth 1 https://github.com/danicat/skillsWrote 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/danicat/skills/lyria)<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.
<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>- NVIDIA SkillSpector pass
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.04489 |
| Opus 5.5 | $0.00042 | $0.01796 |
| Sonnet 5.5 | $0.00021 | $0.00898 |
| Haiku 4.5 | $0.00010 | $0.00449 |
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.
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) 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-apifails, is not installed, or lacks Vertex AI authentication, runuv run scripts/lyria.pywith 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") orGEMINI_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"orexport 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 viagoogle-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-genaiPydantic schemas, mocked end-to-end audio/lyrics writes (output_audio,steps, andmodelsAPI), ADC/quota-project authentication, MP3/WAV constraints, and retired model rejection.
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.
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.
- 10d ago Changed 3110ab2aa60a
- 17d ago Changed · -74 lines · -36 tokens per session 615903a1f813
- 25d ago Changed · +170 lines · +35 tokens per session scan E → C 6f796ba35d40
- 1mo ago Changed · +45 lines · +12 tokens per session scan A → E 504de8eccab3
- 1mo ago Changed 88e12dda8e48
- 2mo ago Changed · +2 lines · -2 tokens per session 6bb818591385
- 3mo ago First seen · 167 lines · 95 tokens per session scan A 1342bf7cefa0
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.
lyria compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lyriadanicat/skills | Skill | 26 | 8d ago | Apache-2.0 | C | 104 | Claude Code, Codex |
| conductor-new-trackgemini-cli-extensions/conductor | Skill | 3.8k | 3mo ago | Apache-2.0 | A | 26 | Claude Code, Codex |
| conductor-implementgemini-cli-extensions/conductor | Skill | 3.8k | 3mo ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| conductor-statusgemini-cli-extensions/conductor | Skill | 3.8k | 3mo ago | Apache-2.0 | A | 21 | Claude Code, Codex |
| README 文档生成cdavid817/vanehub-ai | Skill | 110 | 3d ago | Apache-2.0 | A | 21 | Claude Code, Codex |
| doctorSinanTufekci/agent-intern | Skill | 35 | 5d ago | MIT | A | 75 | Claude Code |
| TDD 开发纪律助手cdavid817/vanehub-ai | Skill | 110 | 3d ago | Apache-2.0 | A | 27 | Claude Code, Codex |