[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACZFS9QCR6PVX36KGBCSXS":3,"skill-same:01M6ACZFS9QCR6PVX36KGBCSXS":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6ACZFS9QCR6PVX36KGBCSXS","mysql-slow-query-diagnosis",null,"Diagnose slow queries, active sessions, locks, and query plans for a monitored MySQL or MariaDB instance. Use when database latency or query performance is under investigation.","apache\u002Fhertzbeat","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACZ95KCYGBBVQ1J5MAQSXQ",7471,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat\u002Fblob\u002Fmaster\u002Fhertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fmysql-slow-query-diagnosis\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"mysql","mysql slow query diagnosis","query","diagnosis","performance","sessions","diagnose","database","investigation","use","queries","active","latency","plans","for","when","2026-11-10 10:12:30",false,"---\nname: mysql-slow-query-diagnosis\ndescription: Diagnose slow queries, active sessions, locks, and query plans for a monitored MySQL or MariaDB instance. Use when database latency or query performance is under investigation.\n---\n\u003C!--\n  Licensed to the Apache Software Foundation (ASF) under one or more\n  contributor license agreements. See the NOTICE file distributed with\n  this work for additional information regarding copyright ownership.\n  The ASF licenses this file to You under the Apache License, Version 2.0.\n-->\n# MySQL Slow Query Diagnosis\n\n1. Resolve the exact monitor and confirm it is a MySQL or MariaDB monitor.\n2. Use `database.mysql_slow_queries` to identify expensive query patterns.\n3. Use `database.mysql_process_list` to inspect currently active work.\n4. Use `database.mysql_lock_waits` when concurrency or blocking may be involved.\n5. Use `database.mysql_global_status` with a focused pattern for relevant server counters.\n6. Use `database.explain_query` only when the user supplied a concrete SELECT statement that needs plan analysis.\n7. Correlate the observations before recommending indexes, SQL changes, or server tuning.\n8. Separate evidence, inference, and recommendations in the final Markdown report.\n\nNever request database credentials. Use only credentials already configured on the HertzBeat monitor.\n","\u003C!--\n  Licensed to the Apache Software Foundation (ASF) under one or more\n  contributor license agreements. See the NOTICE file distributed with\n  this work for additional information regarding copyright ownership.\n  The ASF licenses this file to You under the Apache License, Version 2.0.\n-->\n# MySQL Slow Query Diagnosis\n\n1. Resolve the exact monitor and confirm it is a MySQL or MariaDB monitor.\n2. Use `database.mysql_slow_queries` to identify expensive query patterns.\n3. Use `database.mysql_process_list` to inspect currently active work.\n4. Use `database.mysql_lock_waits` when concurrency or blocking may be involved.\n5. Use `database.mysql_global_status` with a focused pattern for relevant server counters.\n6. Use `database.explain_query` only when the user supplied a concrete SELECT statement that needs plan analysis.\n7. Correlate the observations before recommending indexes, SQL changes, or server tuning.\n8. Separate evidence, inference, and recommendations in the final Markdown report.\n\nNever request database credentials. Use only credentials already configured on the HertzBeat monitor.\n",{"name":5,"description":7},"master","df897f6e8f1acdb3b2935c6d50bb4763c7182b45","hertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fmysql-slow-query-diagnosis",1368,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat","https:\u002F\u002Fhertzbeat.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-14 20:47:38",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add apache\u002Fhertzbeat --skill mysql-slow-query-diagnosis",{"tool":60,"command":61},"bunx","bunx skills add apache\u002Fhertzbeat --skill mysql-slow-query-diagnosis",{"tool":63,"command":64},"pnpm","pnpm dlx skills add apache\u002Fhertzbeat --skill mysql-slow-query-diagnosis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat\u002Fblob\u002Fmaster\u002Fhertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fmysql-slow-query-diagnosis\u002FSKILL.md",true,[],[69],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":40},"01M6ACZCFADNVPBHWGS3ADSSN1","daily-inspection","Inspect HertzBeat monitor health and metrics storage, then produce a concise operations report. Use for daily checks, fleet health reviews, and monitoring summaries.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat\u002Fblob\u002Fmaster\u002Fhertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fdaily-inspection\u002FSKILL.md",[],[76,77,78,33,79,38,80,81,82,83,84,85,86,87,88,89,90,91],"inspection","daily inspection","daily","summaries","fleet","inspect","concise","reviews","storage","operations","health","monitoring","produce","metrics","report","monitor"]