music

music is a skill for Claude Code, Codex from zhinjs/zhin. It costs 73 tokens per session (418 once invoked), scanned A, original, MIT.

A music search and sharing tool for QQ Music and NetEase Cloud Music. It searches for a song first, then shares the selected result as a rich chat card.

In plain words
What is it for?
Use it to search for songs or singers, choose a result, and share music in a chat.
Why use it?
It avoids needing to find a song manually and ensures that the shared song uses the correct service identifier.

Skill for Claude CodeCodex

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

Good fit Use it to search for songs or singers, choose a result, and share music in a chat.

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

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 music

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

agentmods 80×15 button for music

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhinjs/zhin/music"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 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.
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.00073 $0.00418
Opus 5.5 $0.00029 $0.00167
Sonnet 5.5 $0.00015 $0.00084
Haiku 4.5 $0.00007 $0.00042

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

Security

Grade A, and why

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 26d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (tools/music-search/index.ts, tools/music-share/index.ts), 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.

plugins/utils/music/skills/music/SKILL.md · 51 lines

What it actually says

音乐搜索分享技能

搜索歌曲并以富文本卡片分享到聊天中。

工作流

典型的点歌流程是两步走:先搜后分享。

Example:

用户: 点一首周杰伦的晴天
步骤1: music_search(keyword="周杰伦 晴天", source="qq") → 获取歌曲列表
步骤2: music_share(id=搜索结果中的歌曲ID, source="qq") → 发送卡片
工具 用途 关键参数
music_search 搜索歌曲 keyword(关键词), source(qq/163), count(数量)
music_share 分享歌曲 id(歌曲 ID,来自搜索结果), source(qq/163)

易错点

  1. search 和 share 的 source 必须一致。QQ 音乐搜到的 ID 不能用网易云分享。
  2. 分享需要 ID,不能直接用歌名。必须先搜索获取 ID。
  3. 用户没说平台时,默认用 QQ 音乐(source="qq")。
Files

What ships with it

2 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. 26d ago First seen · 51 lines · 73 tokens per session scan A a33ce38de3af

Subscribe to this mod's changes

music is a skill published in the GitHub repository zhinjs/zhin (136 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 418 once invoked, about $0.0003 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-09-21.

Related

Other skills, from other repositories

Spotify Automation

Automate Spotify music playback, playlist management, and audio analysis workflows.

claude-office-skills/skills · 16 tokens

langbot-eba-adapter-dev

Build, refactor, and test LangBot platform adapters for the Event-Based Agents architecture. Use when adding or migrating Telegram, Discord, or other messaging platform adapters to the EBA adapter layout, validating unified event/message conversion, writing live adapter probes, or using standalone plugin runtime plus…

langbot-app/LangBot · 73 tokens

langbot-plugin-dev

Develop, debug, and test LangBot plugins. Use when creating new LangBot plugins, fixing plugin bugs, setting up a LangBot test environment, or testing plugins via WebSocket. Covers plugin component architecture (EventListener, Command, Tool), the plugin SDK API (invokellm, getllmmodels, sendmessage, plugin storage)…

langbot-app/LangBot · 110 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

langbot-space-ops

Browse and search the LangBot Space marketplaces (plugins, MCP servers, skills) through the Space MCP server. Use when an AI agent needs to discover LangBot extensions on space.langbot.app over MCP. Covers the /mcp endpoint, Personal Access Token (PAT) auth, the tool surface, and client configuration. Triggers on…

langbot-app/LangBot · 101 tokens

tcapi

A helper for managing Tencent Cloud resources through Tencent Cloud's command-line API tool. Tencent Cloud is a cloud-services provider offering products such as virtual servers, storage, networks, and containers.

TencentCloud/Octop · 68 tokens