muse ai

muse ai is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 261 tokens per session (6,750 once invoked), scanned A, original, MIT.

An AI music-creation assistant that generates original songs, instrumental music, and background tracks through conversation. It supports creating lyrics, melodies, arrangements, and different music styles.

In plain words
What is it for?
Use it to write songs and lyrics, compose music, make instrumental tracks, or create background music and soundtracks.
Why use it?
It gives you a way to turn a brief idea or custom lyrics into music without manually handling every part of songwriting and production.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to write songs and lyrics, compose music, make instrumental tracks, or create background music and soundtracks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/ai-music-muse
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,141 stars · on GitHub · myclaw.ai

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 LeoYeAI/openclaw-master-skills --skill ai-music-muse
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-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 muse ai

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-music-muse"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-music-muse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 261 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,750 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 18
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 18
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00261 $0.06750
Opus 5 $0.00130 $0.03375
Sonnet 5 $0.00052 $0.01350
Haiku 4.5 $0.00026 $0.00675

Measured 9d ago against content hash 40f474b43876, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

muse ai 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (install.sh, scripts/muse_api.py, scripts/poll_song.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.

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/ai-music-muse/SKILL.md · 603 lines

How it starts

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

Muse - AI 音乐创作助手

帮助用户在聊天环境中通过简单对话生成原创歌曲。核心价值:3 轮交互出一首歌

环境配置

工作目录:执行任何 bash 命令前,必须先 cd 到本 SKILL.md 所在目录(即 skill 安装目录)。所有脚本路径(scripts/assets/references/)均基于此目录。

Token 由脚本自动管理,存储于 ~/.muse/token,无需手动操作。

工作流程

Step 0: 认证兜底(Token 失败统一入口)

任何步骤中遇到 HTTP 401(Token 无效/过期)或 Token 缺失(code=-2)时,统一执行以下流程:

  1. 获取注册链接:
python3 scripts/muse_api.py register-url

返回 JSON 中的 url 字段即为 $REGISTER_URL。 2. 读取 assets/register-guide.md 获取引导提示 3. 向用户展示注册引导,使用上面获取的 $REGISTER_URL

你的登录已过期(或尚未登录),需要先完成验证。

1️⃣ 点击链接注册 👉 $REGISTER_URL
2️⃣ 注册完成后 Token 会自动复制到剪贴板
3️⃣ 回到这里,直接粘贴发送即可

整个过程只需 30 秒~
  1. 等待用户粘贴 Token(见「粘贴 Token 识别」)
  2. Token 验证成功后,回到触发本兜底的原始步骤继续执行

触发场景

触发点 说明
Step 1 认证检查 member-info 返回 code=-2(未登录)或 HTTP 401
Step 3 提交生成 generate 接口返回 HTTP 401
Step 4 同步轮询 poll_song.py 输出 {"event":"error","code":401}
任意 API 调用 脚本 stderr 包含 "code": 401

Step 1: 认证检查

直接调用 python3 scripts/muse_api.py member-info(无需传 --token,脚本自动从 ~/.muse/token 读取)。

  • 成功 → 认证有效,展示积分信息
  • 返回 code=-2(未登录) → 跳转 Step 0: 认证兜底
  • 返回 HTTP 401 → 跳转 Step 0: 认证兜底

粘贴 Token 识别

当用户发送的消息以 eyJ 开头(JWT 格式),按以下流程处理:

  1. 调用 python3 scripts/register.py verify --token {用户粘贴的内容} 验证有效性
  2. 验证成功 → Token 已由脚本自动保存到 ~/.muse/token,直接进入创作流程
  3. 验证失败 → 提示用户 Token 无效,请重新注册获取

认证成功后展示欢迎语:

🎵 欢迎使用 Muse 音乐创作助手!
当前积分:{credits 或 credit} | 会员状态:{isMember 或 memberType>0 ? "✨ VIP" : "普通用户"}
每首歌消耗约 10-15 积分,你还可以创作约 {积分/15} 首歌曲。

Step 2: 模式分流

认证通过后,向用户展示模式选择:

🎵 你想怎么创作?

A. 灵感模式 — 一句话描述,AI 全权创作(风格由 AI 根据描述决定)
B. 定制模式 — 选风格、定歌词,精准控制每个细节
C. 纯音乐   — 无人声的背景音乐 / BGM

直接回复字母即可~

自动检测:如果用户原始消息已包含明确意图,可跳过选择直接进入对应模式:

  • "做首歌""来一首""随便来一首" → 灵感模式
  • "我有歌词""帮我谱曲""自定义""我想要说唱风格" → 定制模式
  • "纯音乐""伴奏""BGM" → 纯音乐模式
  • 提到具体风格(如"来首民谣""说唱风的歌") → 定制模式(因为用户有风格要求)

灵感模式(mode="lite",不传 style)

AI 根据描述自主决定曲风,不承诺风格可控

交互步骤:

  1. 问音色(男声/女声/都可以)
  2. 请用户用一句话描述想要的歌(至少 10 个字

灵感模式不设风格和情绪选项,因为极简模式下 AI 音乐引擎会根据描述自主决定曲风,用户选的风格标签不会被严格执行。

Read the full file on GitHub · 603 lines

Files

What ships with it

9 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. 9d ago First seen · 603 lines · 261 tokens per session scan A 40f474b43876

Subscribe to this mod's changes

muse ai is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,141 stars, last pushed 1mo ago), licensed MIT. It adds 261 tokens to every session and 6,750 once invoked, about $0.0013 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-09-03.

Related

Other skills, from other repositories

comfyui-skill-openclaw

Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

openclaw-auto-dream

Cognitive memory architecture for OpenClaw agents — periodic dream cycles that consolidate daily logs into structured long-term memory with importance scoring, insights, and push notifications. Use when: user asks for 'auto memory', 'dream', 'auto-dream', 'memory consolidation', 'memory dashboard'. Powered by…

LeoYeAI/openclaw-auto-dream · 79 tokens

openclaw-ultra-scraping

Powerful web scraping, crawling, and data extraction with stealth anti-bot bypass. Bypasses anti-bot systems (Cloudflare Turnstile, CAPTCHAs) out of the box. Use when: (1) scraping websites that block normal requests, (2) extracting structured data from web pages, (3) crawling multiple pages with concurrency, (4)…

LeoYeAI/openclaw-ultra-scraping · 180 tokens

myclaw-backup

Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data. Part of the MyClaw.ai (https://myclaw.ai) open skills ecosystem — the AI personal assistant platform that gives every user a full server with complete code control. Use when the user wants to create a snapshot of their OpenClaw…

LeoYeAI/openclaw-backup · 179 tokens

agentsec

Audit AI agent skills for security vulnerabilities. Use when scanning installed skills against the OWASP Agentic Skills Top 10, checking skills before running them, gating CI/CD on skill safety, or generating audit reports (text, JSON, SARIF, HTML) for stakeholders.

semiotic-ai/agentsec · 57 tokens

create-teammate

Distill a teammate into an AI Skill. Auto-collect Slack/Teams/GitHub data, generate Work Skill + 5-layer Persona, with continuous evolution. Use when: user wants to capture a colleague's knowledge before they leave, create an AI version of a teammate, distill tribal knowledge into a reusable skill, or says…

LeoYeAI/teammate-skill · 78 tokens