Mood music

From knooob/pocket-llm-server-android · View interactive version

Mood music is an AI agent skill from the GitHub repository knooob/pocket-llm-server-android. A skill to suggest or play music based on the user's mood, including analyzing images or audio, by querying available genres and generating music via the Loudly API.

How to use this skill

Skill file

Mood Music

Instructions

You MUST use a strict two-step process to generate music. This ensures you only request musical genres that are currently supported by the Loudly API.

Step 1: Fetch Available Genres

Call the run_js tool with get_genres.html as the script name and an empty JSON payload ({}).

Step 2: Analyze and Generate

Once you have the valid genres, map the user's request to the best fit and call run_js with index.html to generate the track.

Handling Inputs:

Generation Payload (for index.html):

Your JSON payload for index.html MUST strictly use these text fields to represent the vibe:

Invocation Triggers

You should invoke this skill when the user:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.