[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACZFS9QCR6PVX36KGBCSXS":3,"skill-same:01M6ACZFS9QCR6PVX36KGBCSXS":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":17,"updatedAt":60,"install":61,"resources":74},"01M6ACZFS9QCR6PVX36KGBCSXS","mysql-slow-query-diagnosis","MySQL 慢查询诊断","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.","针对受监控的 MySQL 或 MariaDB 实例，诊断慢查询、活动会话、锁和查询计划。当正在排查数据库延迟或查询性能问题时使用。","apache\u002Fhertzbeat","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACZ95KCYGBBVQ1J5MAQSXQ",7471,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat\u002Fblob\u002Fmaster\u002Fhertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fmysql-slow-query-diagnosis\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C0TB31G8AP3NPCQDCRXCW2","数据库管理员","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"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":9,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add apache\u002Fhertzbeat --skill mysql-slow-query-diagnosis",{"tool":67,"command":68},"bunx","bunx skills add apache\u002Fhertzbeat --skill mysql-slow-query-diagnosis",{"tool":70,"command":71},"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,[],[76],{"skillNo":77,"name":78,"nameZh":79,"description":80,"descriptionZh":81,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":90,"publishedAt":47},"01M6ACZCFADNVPBHWGS3ADSSN1","daily-inspection","HertzBeat 日常巡检","Inspect HertzBeat monitor health and metrics storage, then produce a concise operations report. Use for daily checks, fleet health reviews, and monitoring summaries.","检查 HertzBeat 监控健康状况和指标存储，然后生成简明的运维报告。用于日常巡检、机群健康审查和监控总结。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fhertzbeat\u002Fblob\u002Fmaster\u002Fhertzbeat-ai-gateway\u002Fsrc\u002Fmain\u002Fresources\u002Fagent-skills\u002Fdaily-inspection\u002FSKILL.md",[84,87],{"categoryNo":85,"categoryName":86,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":88,"categoryName":89,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[91,92,93,40,94,45,95,96,97,98,99,100,101,102,103,104,105,106],"inspection","daily inspection","daily","summaries","fleet","inspect","concise","reviews","storage","operations","health","monitoring","produce","metrics","report","monitor"]