[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R66TP3EV0N5RVHNYR16A7A":3,"skill-same:01M6R66TP3EV0N5RVHNYR16A7A":99},{"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":22,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":25,"commitSha":51,"skillDirectory":52,"forksCount":13,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M6R66TP3EV0N5RVHNYR16A7A","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.","riley1802\u002FHUSK","riley1802","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219228115?v=4","01M6QN9H2TQ5RGH45C60WDFF0S","01M6R63ACMKSRJP4ZW1R1AC5T2",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"mood music","music","main","genres","can","true","tree","you","via","apps","get","github","images","user","Audio","api","analyzing","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\u002Friley1802\u002FHUSK\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":47,"description":7},{"homepage":48,"require-secret":49,"require-secret-description":50},"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Ftree\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music",true,"you can get api key from https:\u002F\u002Fwww.loudly.com\u002Fdevelopers\u002Fapps after registering an account","148f9e7d0886184988275f41504ba40a25f8ce38","skills\u002Ffeatured\u002Fmood-music","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK","https:\u002F\u002Fgithub.com\u002Friley1802","2026-04-15 09:26:00",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":49},[58,61,64],{"tool":59,"command":60},"npx","npx skills add riley1802\u002FHUSK --skill mood-music",{"tool":62,"command":63},"bunx","bunx skills add riley1802\u002FHUSK --skill mood-music",{"tool":65,"command":66},"pnpm","pnpm dlx skills add riley1802\u002FHUSK --skill mood-music","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FSKILL.md",[69,75,79,85,91,95],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002F.gitkeep","ASSET","资产文件",37,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fassets\u002F.gitkeep",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Fwebview.html",10221,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fassets\u002Fwebview.html",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"README.md","REFERENCE","参考文档",808,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002FREADME.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002F.gitkeep","SCRIPT","脚本",38,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002F.gitkeep",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fget_genres.html",1305,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002Fget_genres.html",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Findex.html",4369,"https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fmood-music\u002Fscripts\u002Findex.html",[100,110,126,138,151,163],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":42},"01M6R674S8E11C4B8D6WDJE6B4","virtual-piano","Show a virtual piano to play music","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Fvirtual-piano\u002FSKILL.md",[],[107,108,41,34,40,24,109,25,29],"virtual piano","virtual","show",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":42},"01M6R6714NEGHE9XR9MMH3BN0K","restaurant-roulette","Show a roulette wheel to allow user to randomly select a restaurant based on location and cuisine.","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Ffeatured\u002Frestaurant-roulette\u002FSKILL.md",[],[117,30,29,28,27,118,119,33,120,25,109,36,121,38,40,122,34,123,124,125],"restaurant roulette","wheel","api-key","location","select","dev","gemini","docs","google",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":42},"01M6R66RWK4F5581BYX7TVHYGQ","text-spinner","Spin the given text on my head.","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Ftext-spinner\u002FSKILL.md",[],[133,134,135,136,137],"text spinner","spinner","text","head","my",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":147,"publishedAt":42},"01M6R66N19K3XA8KDBWS48CM30","send-email","Send an email.","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fsend-email\u002FSKILL.md",[144],{"categoryNo":145,"categoryName":146,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000005","邮件与沟通",[148,149,150],"send","send email","email",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":42},"01M6R66JV8VYBA02YT8WB1618E","query-wikipedia","Query summary from Wikipedia for a given topic.","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fquery-wikipedia\u002FSKILL.md",[],[158,159,160,161,162],"wikipedia","query wikipedia","query","for","summary",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":174,"publishedAt":42},"01M6R66H1BE41HFK4G1AS5Y22B","qr-code","Generates a QR code for the given url.","https:\u002F\u002Fgithub.com\u002Friley1802\u002FHUSK\u002Fblob\u002Fmain\u002Fskills\u002Fbuilt-in\u002Fqr-code\u002FSKILL.md",[169],{"categoryNo":170,"categoryName":171,"taxonomyType":172,"taxonomyTypeDesc":173},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[175,176,177,178,161],"qr code","code","qr","URL"]