[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NS8A0SR6WT1DQDTNT77AP3":3,"skill-same:01M6NS8A0SR6WT1DQDTNT77AP3":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":30,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6NS8A0SR6WT1DQDTNT77AP3","mood-music",null,"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.","iuaihub\u002Fgoogle-ai-gemma","iuaihub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F191752626?v=4","01M6NS0MSEXQRH40PS4R4W6RB3","01M6NS0MX8JXDK7S8MCPXB96VA",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"mood music","music","get","genres","can","true","tree","you","gallery","via","apps","github","main","images","Audio","api","analyzing","edge","https","play","2026-11-10 10:12:30",false,"---\nname: mood-music\ndescription: 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.\nmetadata:\n  require-secret: true\n  require-secret-description: you can get api key from https:\u002F\u002Fwww.loudly.com\u002Fdevelopers\u002Fapps after registering an account\n  homepage: https:\u002F\u002Fgithub.com\u002Fgoogle-ai-edge\u002Fgallery\u002Ftree\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\n---\n\n# Mood Music\n\n## Instructions\n\nYou 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.\n\n### Step 1: Fetch Available Genres\nCall the `run_js` tool with `get_genres.html` as the script name and an empty JSON payload (`{}`). \n- This will return a list of currently available genres and their descriptions. \n- You MUST review this list to understand the available musical palettes.\n\n### Step 2: Analyze and Generate\nOnce 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.\n\n**Handling Inputs:**\n- **Text Inputs**: Translate abstract mood requests into a concrete, matching genre from the fetched list, along with an appropriate energy level.\n- **Media Inputs (Images\u002FAudio)**: If the user provides an image or audio clip, analyze the media to determine its underlying mood, atmosphere, or vibe. Translate this analysis strictly into one of the fetched genres.\n\n**Generation Payload (for index.html):**\nYour JSON payload for `index.html` MUST strictly use these text fields to represent the vibe:\n- **genre**: String, Required. MUST be an exact match to a genre name retrieved in Step 1.\n- **genre_blend**: String, Optional. A secondary genre to blend (also from Step 1).\n- **duration**: Integer, Optional. Length in seconds (30-420). Default is 120.\n- **energy**: String, Optional. Vibe (\"low\", \"high\", \"original\").\n- **bpm**: Integer, Optional. Specific tempo in Beats Per Minute.\n\n### Invocation Triggers\nYou should invoke this skill when the user:\n- Asks for music for a specific mood.\n- Asks for playlist ideas for a vibe.\n- Uploads an image or audio clip and asks for music to match it.\n","# Mood Music\n\n## Instructions\n\nYou 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.\n\n### Step 1: Fetch Available Genres\nCall the `run_js` tool with `get_genres.html` as the script name and an empty JSON payload (`{}`). \n- This will return a list of currently available genres and their descriptions. \n- You MUST review this list to understand the available musical palettes.\n\n### Step 2: Analyze and Generate\nOnce 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.\n\n**Handling Inputs:**\n- **Text Inputs**: Translate abstract mood requests into a concrete, matching genre from the fetched list, along with an appropriate energy level.\n- **Media Inputs (Images\u002FAudio)**: If the user provides an image or audio clip, analyze the media to determine its underlying mood, atmosphere, or vibe. Translate this analysis strictly into one of the fetched genres.\n\n**Generation Payload (for index.html):**\nYour JSON payload for `index.html` MUST strictly use these text fields to represent the vibe:\n- **genre**: String, Required. MUST be an exact match to a genre name retrieved in Step 1.\n- **genre_blend**: String, Optional. A secondary genre to blend (also from Step 1).\n- **duration**: Integer, Optional. Length in seconds (30-420). Default is 120.\n- **energy**: String, Optional. Vibe (\"low\", \"high\", \"original\").\n- **bpm**: Integer, Optional. Specific tempo in Beats Per Minute.\n\n### Invocation Triggers\nYou should invoke this skill when the user:\n- Asks for music for a specific mood.\n- Asks for playlist ideas for a vibe.\n- Uploads an image or audio clip and asks for music to match it.\n",{"name":5,"metadata":43,"description":7},{"homepage":44,"require-secret":45,"require-secret-description":46},"https:\u002F\u002Fgithub.com\u002Fgoogle-ai-edge\u002Fgallery\u002Ftree\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music",true,"you can get api key from https:\u002F\u002Fwww.loudly.com\u002Fdevelopers\u002Fapps after registering an account","9de35dc813c3c005909d3701f19f5613c4e5d30f","skills\u002Ffeatured\u002Fmood-music",4,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma","https:\u002F\u002Fgithub.com\u002Fiuaihub","2026-04-07 15:51:22",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":45},[55,58,61],{"tool":56,"command":57},"npx","npx skills add iuaihub\u002Fgoogle-ai-gemma --skill mood-music",{"tool":59,"command":60},"bunx","bunx skills add iuaihub\u002Fgoogle-ai-gemma --skill mood-music",{"tool":62,"command":63},"pnpm","pnpm dlx skills add iuaihub\u002Fgoogle-ai-gemma --skill mood-music","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FSKILL.md",[66,72,76,82,88,92],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002F.gitkeep","ASSET","资产文件",37,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fassets\u002F.gitkeep",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fwebview.html",10221,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fassets\u002Fwebview.html",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"README.md","REFERENCE","参考文档",811,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FREADME.md",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002F.gitkeep","SCRIPT","脚本",38,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002F.gitkeep",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fget_genres.html",1305,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002Fget_genres.html",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Findex.html",4369,"https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002Findex.html",[97,108,124,136,146,158],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":38},"01M6NS94E5VHN890NRDN2XKCAQ","virtual-piano","Show a virtual piano to play music","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fvirtual-piano\u002FSKILL.md",[],[104,105,36,106,29,37,35,19,107,30,26,24],"virtual piano","virtual","google","show",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":38},"01M6NS8EAYM410RRYDY0SXRGTZ","restaurant-roulette","Show a roulette wheel to allow user to randomly select a restaurant based on location and cuisine.","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Frestaurant-roulette\u002FSKILL.md",[],[115,24,23,116,117,25,36,106,118,119,29,120,35,121,122,107,30,123,20,26],"restaurant roulette","wheel","api-key","docs","gemini","dev","select","user","location",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M6NS88DJ4SR5DJVX6879Z3JH","text-spinner","Spin the given text on my head.","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Ftext-spinner\u002FSKILL.md",[],[131,132,133,134,135],"text spinner","spinner","text","my","head",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6NS845EH0W8BY531H6K1TV4","send-email","Send an email.","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fsend-email\u002FSKILL.md",[],[143,144,145],"send","send email","email",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":38},"01M6NS7S8554FWZNC7N793DX9T","query-wikipedia","Query summary from Wikipedia for a given topic.","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fquery-wikipedia\u002FSKILL.md",[],[153,154,155,156,157],"wikipedia","query wikipedia","query","for","summary",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":38},"01M6NS76QRHW2Q2B2FXZX2HGJ2","qr-code","Generates a QR code for the given url.","https:\u002F\u002Fgithub.com\u002Fiuaihub\u002Fgoogle-ai-gemma\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fqr-code\u002FSKILL.md",[],[165,166,167,168,156],"qr code","code","qr","URL"]