Agent skill

Youtube Music

by happycapy-ai in happycapy-ai/Happycapy-skills

Search and play music tracks on YouTube Music through MCP integration.

MITAuto-check passedAgent Workflows

Install Youtube Music

skills CLI
$ npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a claude-code

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

GitHub CLI
$ gh skill install happycapy-ai/Happycapy-skills youtube-music --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/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/youtube-music .claude/skills/youtube-music && 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
youtube-music
GitHub stars
137
Token cost
~632 tokens
SKILL.md length
230 words
Files
2
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Search and play music tracks on YouTube Music through MCP integration.

  • Works in 2 steps: A valid Google YouTube API Key from the… → Cursor or Claude Desktop properly…
  • User wants to search for songs
  • SKILL.md covers Overview, Available Tools, Prerequisites and Installation, plus 5 more sections
  • Needs YOUTUBE_API_KEY

What it does

Youtube Music is an agent skill from happycapy-ai/Happycapy-skills. Search and play music tracks on YouTube Music through MCP integration. Use when user wants to search for songs, play music, or discover tracks on YouTube Music platform.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Agent Workflows, covering MCP servers. It works with YouTube and Model Context Protocol. The repository describes itself as: A curated collection of high-quality Claude Code skills to enhance your development workflow. The licence is MIT.

When your agent uses it

  • User wants to search for songs
  • Discover tracks on YouTube Music platform

Example prompts

  • “/youtube-music”

Requirements

  • A credential in YOUTUBE_API_KEY
  • A credential in YOUR_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. A valid Google YouTube API Key from the Google Cloud Console
  2. Cursor or Claude Desktop properly configured

What it can do on your machine

Read from SKILL.md and the folder at commit 9ff72fe. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • console.cloud.google.com
    • x.com
    • github.com
    • instructa.ai

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

  • Credentials

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

    • YOUTUBE_API_KEY

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

Context cost

Youtube Music loads about 632 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 230 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from happycapy-ai/Happycapy-skills at commit 9ff72fe, republished under its MIT licence (© happycapy-ai). 230 words, ~632 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-music/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
youtube-music
description
Search and play music tracks on YouTube Music through MCP integration. Use when user wants to search for songs, play music, or discover tracks on YouTube Music platform.

YouTube Music MCP

🎵 A Model Context Protocol (MCP) server that enables AI assistants to search for and play tracks on YouTube Music.

Overview

This skill provides integration with YouTube Music through the MCP protocol, allowing you to search for songs by title or artist name and play them directly in the user's default web browser.

Available Tools

  • searchTrack - Search for music tracks on YouTube Music by title or artist name
  • playTrack - Search and automatically open tracks in the default web browser

Prerequisites

Before using this skill, ensure you have:

  1. A valid Google YouTube API Key from the Google Cloud Console
  2. Cursor or Claude Desktop properly configured

Installation

Add the following configuration to your .cursor/mcp.json file (or Claude Desktop configuration):

json
{
  "mcpServers": {
    "youtube-music-mcp": {
      "command": "npx",
      "args": ["-y", "@instructa/mcp-youtube-music"],
      "env": {
        "YOUTUBE_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Replace <YOUR_API_KEY> with your actual YouTube API key.

Usage Examples

Searching for Tracks
User: "Search for Bohemian Rhapsody by Queen"
Assistant: [Uses searchTrack tool to find the track on YouTube Music]
Playing Tracks
User: "Play some jazz music"
Assistant: [Uses playTrack tool to search and open jazz music in browser]

Guidelines

  • Always verify that the YouTube API key is configured before attempting to use the tools
  • Provide clear feedback to users about what tracks were found or played
  • If a track cannot be found, suggest alternative search terms or artists
  • The playTrack tool will open tracks in the user's default web browser
  • Respect user preferences for music genres and artists

Technical Details

  • Protocol: Model Context Protocol (MCP)
  • Platform: YouTube Music
  • Execution: Runs via npx without requiring local installation
  • License: MIT

Author

Created by Kevin Kern / Instructa (@kregenrek)

Resources

© happycapy-ai, 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 1 other file in skills/youtube-music of happycapy-ai/Happycapy-skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 9ff72fe

Compare with similar skills

Youtube Music 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.

Youtube Music compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube Music this skillhappycapy-ai/Happycapy-skills137—~632Automated safety check: PassMIT
FcpxmlDareDev256/fcp-mcp-server121—~1.7kAutomated safety check: PassMIT
Premiere Batch Deliveryayushozha/AdobePremiereProMCP120—~776Automated safety check: PassMIT
Linkdigest Social Link Readersickn33/agentic-awesome-skills47k—~3.4kAutomated safety check: PassMIT
Nlm Skilliusztinpaul/ai-research-os-workshop1791 repos~6.9kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0

Similar skills

  • Fcpxml

    DareDev256/fcp-mcp-server

    Work with Final Cut Pro timelines and .fcpxml/.fcpxmld files.

    121 GitHub stars~1.7k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Premiere Batch Delivery

    ayushozha/AdobePremiereProMCP

    Validate, export, and inspect multiple Adobe Premiere Pro deliverables with explicit pending and unverified states.

    120 GitHub stars~776 tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Linkdigest Social Link Reader

    sickn33/agentic-awesome-skills

    Read one public Xiaohongshu, Douyin, TikTok, YouTube, X or WeChat article link into text an agent can use (transcript, image text, key points) via the LinkDigest API or MCP server.

    47k GitHub stars~3.4k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Nlm Skill

    iusztinpaul/ai-research-os-workshop

    Expert guide for the NotebookLM CLI (nlm) and MCP server - interfaces for Google NotebookLM.

    179 GitHub starsUsed in 1 repo~6.9k tokens
    Knowledge ManagementAuto-check passed
  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed

More from happycapy-ai/Happycapy-skills

All 28 skills in this repo
  • Happycapy Skill Creator

    happycapy-ai/Happycapy-skills

    Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository.

    137 GitHub stars~627 tokensUpdated 1 mo ago
    Auto-check passed
  • 360 Panorama Viewer

    happycapy-ai/Happycapy-skills

    Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file.

    137 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Generate Image

    happycapy-ai/Happycapy-skills

    Generate and transform images using AI Gateway API. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check: notes
  • LLM Council

    happycapy-ai/Happycapy-skills

    Multi-model LLM Council with live dashboard. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~581 tokensUpdated 1 mo ago
    Auto-check passed
  • PPTX

    happycapy-ai/Happycapy-skills

    Create polished PowerPoint (.pptx) presentations directly from a topic or content description.

    137 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • World Class Carousel

    happycapy-ai/Happycapy-skills

    Generate world-class Instagram carousel content on any topic.

    137 GitHub stars~16k tokensUpdated 1 mo ago
    Auto-check: notes

Categories

Questions about Youtube Music

What does Youtube Music do?

Search and play music tracks on YouTube Music through MCP integration. Youtube Music is an agent skill from happycapy-ai/Happycapy-skills. Search and play music tracks on YouTube Music through MCP integration.

When should I use Youtube Music?

Youtube Music fits situations like: user wants to search for songs; discover tracks on YouTube Music platform.

How do I install Youtube Music in Claude Code?

Run `npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a claude-code`. Or copy the skill folder (skills/youtube-music in happycapy-ai/Happycapy-skills) into .claude/skills/youtube-music in your project. Claude Code loads it when a task matches its description.

How do I install Youtube Music in Codex?

Run `npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a codex`. Or copy the skill folder (skills/youtube-music in happycapy-ai/Happycapy-skills) into .agents/skills/youtube-music in your project. Codex loads it when a task matches its description.

Can I use Youtube Music 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 happycapy-ai/Happycapy-skills --skill youtube-music -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/youtube-music, .gemini/skills/youtube-music, .github/skills/youtube-music and .opencode/skills/youtube-music in your project.

What does Youtube Music need to run?

Going by SKILL.md and its folder, Youtube Music needs credentials named YOUTUBE_API_KEY. Our summary lists: A credential in YOUTUBE_API_KEY; A credential in YOUR_API_KEY.

Does Youtube Music access the network?

SKILL.md names 4 domains. As links in the text: console.cloud.google.com, x.com, github.com and instructa.ai. This is read from the text; nothing was executed.

Is Youtube Music 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. Review the folder before installing.

What licence does Youtube Music use?

Youtube Music 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 Youtube Music use?

About 632 tokens (SKILL.md is roughly 2.5k 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 Youtube Music?

Skills that share tags, products or a category with Youtube Music: Fcpxml (DareDev256/fcp-mcp-server, 121 stars), Premiere Batch Delivery (ayushozha/AdobePremiereProMCP, 120 stars), Linkdigest Social Link Reader (sickn33/agentic-awesome-skills, 47k stars) and Nlm Skill (iusztinpaul/ai-research-os-workshop, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube Music?

happycapy-ai (a GitHub user) maintains it in happycapy-ai/Happycapy-skills, which has 137 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on September 3, 2026.

Source: happycapy-ai/Happycapy-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.