Agent skill

Openrouter Text2music

by QinghongLin in QinghongLin/data2story-skill

Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

MITAuto-check passedAI & LLM Engineering

Install Openrouter Text2music

skills CLI
$ npx skills add QinghongLin/data2story-skill --skill openrouter-text2music -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install QinghongLin/data2story-skill openrouter-text2music --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/QinghongLin/data2story-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/data2story/designer/scripts/openrouter-text2music .claude/skills/openrouter-text2music && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openrouter-text2music
GitHub stars
155
Token cost
~407 tokens
SKILL.md length
149 words
Files
3 (incl. scripts)
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

  • Tasks that involve Model routing and gateways
  • SKILL.md covers Usage, Flags, Pricing and Notes
  • Runs Python scripts from its folder; calls python3; needs OPENROUTER_API_KEY
  • Tasks that involve Music and audio generation

What it does

Openrouter Text2music is an agent skill from QinghongLin/data2story-skill. Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `config.json` and `scripts/generate_music.py`).

It sits in AI & LLM Engineering, covering Model routing and gateways and Music and audio generation. It works with OpenRouter. The repository describes itself as: Data Journalist Agent: Transforming Data into Verifiable Multimodal Story. The licence is MIT.

When your agent uses it

  • Tasks that involve Model routing and gateways
  • Tasks that involve Music and audio generation

Example prompts

  • “/openrouter-text2music”

Requirements

  • Python 3
  • A credential in OPENROUTER_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 63a55c1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENROUTER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openrouter Text2music loads about 407 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 149 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~407

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from QinghongLin/data2story-skill at commit 63a55c1, republished under its MIT licence (© QinghongLin). 149 words, ~407 tokens.

Download SKILL.mdSave it as .claude/skills/openrouter-text2music/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
openrouter-text2music
description
Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

openrouter-text2music

Text → music via OpenRouter. Default model: google/lyria-3-pro-preview.

⚠️ This is a music-generation model, not TTS. It produces 48kHz stereo audio with instrumentation, and can include vocals and timed lyrics based on the prompt. For narration/voiceover, use a dedicated TTS tool (e.g., OpenAI tts-1, ElevenLabs).

Usage

Resolve TOOL_DIR = the directory containing this SKILL.md. Commands below use TOOL_DIR as a symbolic placeholder; replace it with the resolved, quoted path before running Bash.

bash
export OPENROUTER_API_KEY=sk-or-v1-...

python3 TOOL_DIR/scripts/generate_music.py \
  --prompt "Driving synthwave, 120 BPM, nostalgic lead over a pulsing arpeggio, no vocals" \
  --download PROJECT_DIR/assets/bg_music.wav

Flags

FlagDefaultDescription
--promptrequiredText prompt (genre, mood, instruments, tempo, optional lyrics)
--downloadrequiredOutput audio file path
--modelgoogle/lyria-3-pro-previewAlt: google/lyria-3-clip-preview (shorter clips)

Pricing

  • lyria-3-pro-preview: $0.08 per song

Notes

  • Request uses POST /api/v1/chat/completions with modalities: ["audio","text"].
  • Response parsing handles several shapes: message.audio, a content part with type=audio, or a data:audio/... URL embedded in the text content.
  • Output format is typically WAV (48kHz stereo); the script saves whatever bytes the API returns — choose the extension to match.

© QinghongLin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/data2story/designer/scripts/openrouter-text2music of QinghongLin/data2story-skill.

  • SKILL.md
  • config.json
  • scripts/generate_music.py

Open the folder on GitHubat commit 63a55c1

Compare with similar skills

Openrouter Text2music next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openrouter Text2music compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openrouter Text2music this skillQinghongLin/data2story-skill155—~407Automated safety check: PassMIT
To Imgrtadewald/skills185—~673Automated safety check: NotesNone
Add Modelget-convex/convex-evals130—~1.5kAutomated safety check: NotesApache-2.0
Openrouterdavidondrej/skills4.1k—~1.3kAutomated safety check: PassMIT
Provision Model Keysswyxio/skills176—~1.3kAutomated safety check: PassMIT
Fabrica Personagenscorosolto/client257—~1.6kAutomated safety check: NotesAGPL-3.0

Similar skills

  • To Img

    rtadewald/skills

    Gera imagens em paralelo via OpenRouter a partir de um pedido simples ou de um batch com prompts e filenames definidos.

    185 GitHub stars~673 tokensUpdated 12 days ago
    AI & LLM EngineeringAuto-check: notes
  • Add Model

    get-convex/convex-evals

    Add a new model to the convex-evals coding leaderboard, and optionally the decision benchmark, through a PR, then dispatch its baseline runs.

    130 GitHub stars~1.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Openrouter

    davidondrej/skills

    Design, build, debug, and optimize OpenRouter API integrations.

    4.1k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Provision app-specific Claude, OpenAI, OpenRouter, ElevenLabs or fal.ai API keys, install secrets, rotate keys or adjust their budgets using saved authorization.

    176 GitHub stars~1.3k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Fabrica Personagens

    corosolto/client

    Fábrica de personagens e skins do CS BRASIL, da ficha ao personagem no jogo com avatar e arte de resultado.

    257 GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Darwinian Evolver

    Luciole-Studio/Misaka-Agent

    Evolve prompts/regex/SQL/code with Imbue's evolution loop. An agent skill from Luciole-Studio/Misaka-Agent.

    171 GitHub starsUsed in 2 repos~2.1k tokens
    AI & LLM EngineeringAuto-check: warnings

More from QinghongLin/data2story-skill

All 31 skills in this repo
  • Inspector

    QinghongLin/data2story-skill

    Run sentence-level traceability verification on a Data2Story blog (verify.py - verifier.json), then emit the in-page Inspector panel (the reader-facing runnable verifier) + the verify/ artifacts…

    155 GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check: notes
  • Auditor

    QinghongLin/data2story-skill

    Audit a generated Data2Story blog for build correctness across ALL modalities by ACTUALLY RENDERING it in a real headless browser (when available) — catching blank/0-width charts, broken/oversized…

    155 GitHub stars~6.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Critic

    QinghongLin/data2story-skill

    Review a finished Data2Story blog against the 5 quality rubric dimensions (visualdesign, narrativepacing, datamethodtransparency, claimdataalignment, insightvalue), score each 1-7 with on-page…

    155 GitHub stars~4.7k tokensUpdated 3 mo ago
    Auto-check: notes
  • Detective

    QinghongLin/data2story-skill

    Research external context for a dataset — domain background, history, related studies, and why this data matters.

    155 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Inspector

    QinghongLin/data2story-skill

    Run sentence-level traceability verification on a blog, then generate viewer.html with interactive evidence panel.

    155 GitHub stars~697 tokensUpdated 3 mo ago
    Auto-check: notes
  • Data2story Pro

    QinghongLin/data2story-skill

    A skill your agent uses to turn a dataset into a verifiable multimedia blog (a data story / data-driven article / interactive dashboard from a dataset).

    155 GitHub stars~14k tokensUpdated 3 mo ago
    Auto-check: notes

Works with

Questions about Openrouter Text2music

What does Openrouter Text2music do?

Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro. Openrouter Text2music is an agent skill from QinghongLin/data2story-skill. Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

When should I use Openrouter Text2music?

Openrouter Text2music fits situations like: tasks that involve Model routing and gateways; tasks that involve Music and audio generation.

How do I install Openrouter Text2music in Claude Code?

Run `npx skills add QinghongLin/data2story-skill --skill openrouter-text2music -a claude-code`. Or copy the skill folder (skills/data2story/designer/scripts/openrouter-text2music in QinghongLin/data2story-skill) into .claude/skills/openrouter-text2music in your project. Claude Code loads it when a task matches its description.

How do I install Openrouter Text2music in Codex?

Run `npx skills add QinghongLin/data2story-skill --skill openrouter-text2music -a codex`. Or copy the skill folder (skills/data2story/designer/scripts/openrouter-text2music in QinghongLin/data2story-skill) into .agents/skills/openrouter-text2music in your project. Codex loads it when a task matches its description.

Can I use Openrouter Text2music in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add QinghongLin/data2story-skill --skill openrouter-text2music -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openrouter-text2music, .gemini/skills/openrouter-text2music, .github/skills/openrouter-text2music and .opencode/skills/openrouter-text2music in your project.

What does Openrouter Text2music need to run?

Going by SKILL.md and its folder, Openrouter Text2music needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named OPENROUTER_API_KEY. Our summary lists: Python 3; A credential in OPENROUTER_API_KEY.

Does Openrouter Text2music access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openrouter Text2music safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openrouter Text2music use?

Openrouter Text2music is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openrouter Text2music use?

About 407 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openrouter Text2music?

Skills that share tags, products or a category with Openrouter Text2music: To Img (rtadewald/skills, 185 stars), Add Model (get-convex/convex-evals, 130 stars), Openrouter (davidondrej/skills, 4.1k stars) and Provision Model Keys (swyxio/skills, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openrouter Text2music?

QinghongLin (a GitHub user) maintains it in QinghongLin/data2story-skill, which has 155 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on July 5, 2026.

Source: QinghongLin/data2story-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.