[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AX11X7RJS8A0GBJV2X0WD":3,"skill-same:01M69AX11X7RJS8A0GBJV2X0WD":74},{"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":26,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M69AX11X7RJS8A0GBJV2X0WD","skill-kql-queries",null,"[Skill] kql, queries, log analytics, container logs - KQL query templates for Koji container logs, pod errors, restarts, Kubernetes events, build job activity, and node resource usage via Log Analytics.","microsoft\u002Fazurelinux","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AVY9Y3D59ZBRVNKRJ851E",5364,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-kql-queries\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"skill kql queries","kql","queries","for","kubernetes","usage","errors","activity","via","events","false","query","build","log","container","node","templates","logs","analytics","2026-11-10 10:12:30",false,"---\nname: skill-kql-queries\ndescription: \"[Skill] kql, queries, log analytics, container logs - KQL query templates for Koji container logs, pod errors, restarts, Kubernetes events, build job activity, and node resource usage via Log Analytics.\"\nuser-invocable: false\ndisable-model-invocation: false\n---\n\n# Koji KQL Log Queries\n\n## Tools\n\n| Tool | Purpose |\n|------|---------|\n| `monitor_workspace_log_query` | KQL queries across entire Log Analytics workspace |\n| `monitor_resource_log_query` | KQL queries scoped to a specific resource |\n| `monitor_table_list` | List available tables in the workspace |\n\n## Koji pod namespace\n\nKoji pods run in the **`default`** namespace. Always filter:\n- `Namespace == \"default\"` (KubePodInventory, KubeEvents)\n- `PodNamespace == \"default\"` (ContainerLogV2)\n- Combine with: `Name startswith \"koji-\"` or `PodName startswith \"koji-\"`\n\n## Query reference\n\n### Pod health and status\n```kql\nKubePodInventory\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| summarize arg_max(TimeGenerated, *) by Name\n| project TimeGenerated, Name, ContainerStatus, ContainerRestartCount, PodRestartCount\n| order by Name asc\n```\n\n### Container errors (all Koji pods)\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-\"\n| where LogLevel == \"error\" or LogMessage contains \"ERROR\" or LogMessage contains \"Traceback\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 50\n```\n\n### Koji Hub logs\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-hub\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n\n### Koji Builder logs\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-builder\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n\n### Node resource usage\n```kql\nPerf\n| where ObjectName == \"K8SNode\"\n| where CounterName in (\"cpuUsageNanoCores\", \"cpuCapacityNanoCores\", \"memoryWorkingSetBytes\", \"memoryCapacityBytes\")\n| summarize AvgValue=avg(CounterValue) by Computer, CounterName\n| evaluate pivot(CounterName, take_any(AvgValue))\n| extend CPUPercent = round(cpuUsageNanoCores \u002F cpuCapacityNanoCores * 100, 1),\n         MemPercent = round(memoryWorkingSetBytes \u002F memoryCapacityBytes * 100, 1),\n         MemUsedGB = round(memoryWorkingSetBytes \u002F 1073741824, 1),\n         MemCapGB = round(memoryCapacityBytes \u002F 1073741824, 1)\n| project Computer, CPUPercent, MemPercent, MemUsedGB, MemCapGB\n| order by Computer asc\n```\n\n### Pod restarts\n```kql\nKubePodInventory\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| summarize MaxRestarts = max(ContainerRestartCount) by Name, ContainerName, ContainerStatus\n| where MaxRestarts > 0\n| order by MaxRestarts desc\n```\n\n### Kubernetes warning events\n```kql\nKubeEvents\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| where Reason in (\"BackOff\", \"Unhealthy\", \"Failed\", \"Killing\", \"OOMKilling\")\n| project TimeGenerated, Name, Reason, Message\n| order by TimeGenerated desc\n| take 50\n```\n> KubeEvents may be empty under Group-Default DCR preset. Fall back to KubePodInventory restart counts.\n\n### Build job activity\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-builder\"\n| where LogMessage contains \"build\" or LogMessage contains \"task\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n","# Koji KQL Log Queries\n\n## Tools\n\n| Tool | Purpose |\n|------|---------|\n| `monitor_workspace_log_query` | KQL queries across entire Log Analytics workspace |\n| `monitor_resource_log_query` | KQL queries scoped to a specific resource |\n| `monitor_table_list` | List available tables in the workspace |\n\n## Koji pod namespace\n\nKoji pods run in the **`default`** namespace. Always filter:\n- `Namespace == \"default\"` (KubePodInventory, KubeEvents)\n- `PodNamespace == \"default\"` (ContainerLogV2)\n- Combine with: `Name startswith \"koji-\"` or `PodName startswith \"koji-\"`\n\n## Query reference\n\n### Pod health and status\n```kql\nKubePodInventory\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| summarize arg_max(TimeGenerated, *) by Name\n| project TimeGenerated, Name, ContainerStatus, ContainerRestartCount, PodRestartCount\n| order by Name asc\n```\n\n### Container errors (all Koji pods)\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-\"\n| where LogLevel == \"error\" or LogMessage contains \"ERROR\" or LogMessage contains \"Traceback\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 50\n```\n\n### Koji Hub logs\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-hub\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n\n### Koji Builder logs\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-builder\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n\n### Node resource usage\n```kql\nPerf\n| where ObjectName == \"K8SNode\"\n| where CounterName in (\"cpuUsageNanoCores\", \"cpuCapacityNanoCores\", \"memoryWorkingSetBytes\", \"memoryCapacityBytes\")\n| summarize AvgValue=avg(CounterValue) by Computer, CounterName\n| evaluate pivot(CounterName, take_any(AvgValue))\n| extend CPUPercent = round(cpuUsageNanoCores \u002F cpuCapacityNanoCores * 100, 1),\n         MemPercent = round(memoryWorkingSetBytes \u002F memoryCapacityBytes * 100, 1),\n         MemUsedGB = round(memoryWorkingSetBytes \u002F 1073741824, 1),\n         MemCapGB = round(memoryCapacityBytes \u002F 1073741824, 1)\n| project Computer, CPUPercent, MemPercent, MemUsedGB, MemCapGB\n| order by Computer asc\n```\n\n### Pod restarts\n```kql\nKubePodInventory\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| summarize MaxRestarts = max(ContainerRestartCount) by Name, ContainerName, ContainerStatus\n| where MaxRestarts > 0\n| order by MaxRestarts desc\n```\n\n### Kubernetes warning events\n```kql\nKubeEvents\n| where Namespace == \"default\"\n| where Name startswith \"koji-\"\n| where Reason in (\"BackOff\", \"Unhealthy\", \"Failed\", \"Killing\", \"OOMKilling\")\n| project TimeGenerated, Name, Reason, Message\n| order by TimeGenerated desc\n| take 50\n```\n> KubeEvents may be empty under Group-Default DCR preset. Fall back to KubePodInventory restart counts.\n\n### Build job activity\n```kql\nContainerLogV2\n| where PodNamespace == \"default\"\n| where PodName startswith \"koji-builder\"\n| where LogMessage contains \"build\" or LogMessage contains \"task\"\n| project TimeGenerated, PodName, LogMessage\n| order by TimeGenerated desc\n| take 100\n```\n",{"name":5,"description":7,"user-invocable":47,"disable-model-invocation":47},"4.0","431ad36a7a827e8ec414e96ae75517ec1ded115d",".agents\u002Fskills\u002Fskill-kql-queries",714,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-13 03:11:46",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add microsoft\u002Fazurelinux --skill skill-kql-queries",{"tool":66,"command":67},"bunx","bunx skills add microsoft\u002Fazurelinux --skill skill-kql-queries",{"tool":69,"command":70},"pnpm","pnpm dlx skills add microsoft\u002Fazurelinux --skill skill-kql-queries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-kql-queries\u002FSKILL.md",true,[],[75,95,119,140,164,181],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":82,"publishedAt":46},"01M69AX4PP9MJPS4TE3XDW93NJ","skill-metrics","[Skill] metrics, azure-monitor, aks - Query Azure Monitor metrics for Koji AKS node CPU, memory, disk usage, and pod readiness.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-metrics\u002FSKILL.md",[81],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[83,84,85,86,87,88,89,90,42,38,91,37,92,93,94,32,30],"skill metrics","metrics","memory","azure","monitor","azure-monitor","aks","disk","azure monitor","readiness","CPU","disk usage",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":102,"publishedAt":46},"01M69AX2WT9YWZTVMMQ6QWHG3Y","skill-mass-triage","[Skill] Batch-triage build failures from a JSON results file — diagnose with parallel sub-agents, bucketize by root cause, and produce a consolidated summary. Use when asked to triage a Koji results file. Triggers: batch triage, mass triage, triage results file, bucketize failures.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-mass-triage\u002FSKILL.md",[101],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[103,104,105,106,107,108,109,110,111,112,39,113,114,115,116,117,118],"triage","skill mass triage","diagnose","produce","batch","file","json","parallel","results","use","summary","triggers","with","root","root cause","when",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":126,"publishedAt":46},"01M69AWYRJY05J3N3K9PZ0X38H","skill-koji-triage","[Skill] Examine Koji builds, fetch task info and logs from the Koji Web UI, identify failures, and provide root cause analysis. Use when triaging Koji build failures, investigating failed tasks, downloading build logs, or searching for broken packages. Triggers: koji failure, koji build failed, koji task, koji log, koji triage, build failure analysis.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-koji-triage\u002FSKILL.md",[125],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[103,127,128,129,130,131,132,44,133,134,135,112,40,136,137,114,138,139,30,117,118],"skill koji triage","web","root cause analysis","tasks","packages","ui","analysis","broken","fetch","task","info","failure analysis","web ui",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":147,"publishedAt":46},"01M69AWWNGM4S4DDN6MSXMJ1XY","skill-fedora-mirror-injections","[Skill] Diagnose Azure Linux Stage 1 (bootstrap-mirror) BuildRequires resolution failures and backfill missing RPMs into the prod Fedora updates mirror via the azl-infra injections file. Use when triaging stage-1 \u002F azl4-bootstrap-mirror build failures, finding dependency gaps in the Fedora mirror, deciding whether a failure is a real mirror gap vs a transient timeout or a spec bug, adding entries to azl4-stage1-injections.yaml, or opening a PR with mirror injections. Triggers: bootstrap-mirror, stage 1 build failure, fedora mirror gap, missing BuildRequires, nothing provides crate, no match for argument, injections file, azl4-stage1-injections, mirror injection.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-fedora-mirror-injections\u002FSKILL.md",[146],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[148,149,150,151,152,105,86,153,154,155,112,156,157,158,159,114,160,161,162,30,163,118],"skill fedora mirror injections","fedora","mirror","spec","linux","pr","bootstrap","injection","dependency","bug","infra","entries","missing","argument","updates","backfill",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":46},"01M69AWTVNFMTX4KQVR6EK62C0","skill-deployment-context","[Skill] deployment context, aks, azure, koji - Resolve Koji AKS deployment context -- resource group, cluster name, subscription, Log Analytics workspace, and monitoring resource names from deployment_summary.yaml when available, or discover them dynamically from Azure.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-deployment-context\u002FSKILL.md",[170],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[172,173,174,45,86,175,176,89,177,40,113,178,37,179,180,118],"skill deployment context","deployment","context","yaml","monitoring","workspace","discover","name","cluster",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":188,"publishedAt":46},"01M69AWS0NN17EN4JDDKYBNY6X","skill-aks-health","[Skill] aks, aks health, cluster health, node pool, activity logs - Inspect Koji AKS cluster health, node pool status, autoscaling, activity logs, deployment failures, and Azure control-plane operations.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fazurelinux\u002Fblob\u002F4.0\u002F.agents\u002Fskills\u002Fskill-aks-health\u002FSKILL.md",[187],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[189,89,190,191,86,173,44,192,42,193,194,37,195,180,34,196,197,198,199],"skill aks health","health","status","control-plane","operations","control","cluster health","plane","inspect","pool","autoscaling"]