Skip to content
Back to skills

Mood Music

ASecurity

Suggest or play music based on the user's mood using the Loudly API.

  • 112 stars
  • 0 votes
  • 2 copies
  • 4 views
  • Added August 31, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add loomax-labs/InferrLM --skill mood-music --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mood Music?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mood Music
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loomax-labs-mood-music/badge)](https://www.skillsdirectory.com/skills/loomax-labs-mood-music)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Mood Music
description: Suggest or play music based on the user's mood using the Loudly API.
type: js
scriptName: main
secretRequired: true
secretLabel: Loudly API Key
---
# Mood Music

## Instructions

### Step 1: Fetch genres
Call `run_js` with `get_genres.html` and `{}`.

### Step 2: Generate music
Map the user's mood to a valid genre from step 1, then call `run_js` with `index.html` and:
- `genre`: exact genre name from step 1
- `duration`: seconds (30-420), default 120
- `energy`: `low`, `high`, or `original`

Tell the user to tap the preview card to play the track.

Files in this skill

  • SKILL.md588 B
  • assets/webview.html10 KB
  • scripts/index.html12.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.