[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M720SA82S8SXZ3M2S7YM09TW":3,"skill-same:01M720SA82S8SXZ3M2S7YM09TW":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M720SA82S8SXZ3M2S7YM09TW","pod-crashloop-oom",null,"Finds why a named pod or workload keeps restarting. Use for CrashLoopBackOff, Error, OOMKilled or exit code 137, a non-zero exit code, failing liveness or readiness probes (NotReady), Evicted or Failed pods, and high restart counts on one workload. Reads the last termination, previous logs and limits, and proposes the manifest fix.","gke-labs\u002Fkube-agents","gke-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197140281?v=4","01M720MEZR8K6WD2WTHNQE346Q","01M720MF0BRA9RGH1QVT4J0M0E",126,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fcluster\u002Fpersona\u002Fskills\u002Fpod-crashloop-oom\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: pod-crashloop-oom\ndescription: Finds why a named pod or workload keeps restarting. Use for CrashLoopBackOff, Error, OOMKilled or exit code 137, a non-zero exit code, failing liveness or readiness probes (NotReady), Evicted or Failed pods, and high restart counts on one workload. Reads the last termination, previous logs and limits, and proposes the manifest fix.\n---\n\n# Task\n\nName the cause of one workload's restarts, quote the evidence, and propose the manifest patch. Investigate one representative pod: replicas of one controller share a cause.\n\n# Workflow\n\n1. Read the container state, limits, probes, command and owner in one projected call:\n\n   ```bash\n   kubectl get pod \u003Cpod> -n \u003Cnamespace> -o json | jq '{owner: .metadata.ownerReferences, node: .spec.nodeName, initContainers: [.spec.initContainers[]? | {name, image, command, args, resources, env: [.env[]? | {name, valueFrom}], envFrom}], containers: [.spec.containers[] | {name, image, command, args, resources, env: [.env[]? | {name, valueFrom}], envFrom, livenessProbe, readinessProbe}], initStatus: [.status.initContainerStatuses[]? | {name, ready, restartCount, state, lastState}], status: [.status.containerStatuses[]? | {name, ready, restartCount, state, lastState}], reason: .status.reason, message: .status.message}'\n   ```\n\n2. Read the previous container's log tail, or pass `-c \u003Ccontainer>` without `-p` when step 1 shows `restartCount: 0` (or `-c \u003Cinit-container> -p` when an init container is restarting while app containers wait in `PodInitializing`):\n\n   ```bash\n   kubectl logs \u003Cpod> -n \u003Cnamespace> --all-containers -p --tail=50\n   ```\n\n3. Read this pod's events only:\n\n   ```bash\n   kubectl get events -n \u003Cnamespace> --field-selector involvedObject.name=\u003Cpod> -o custom-columns=LAST:.lastTimestamp,TYPE:.type,REASON:.reason,COUNT:.count,MESSAGE:.message\n   ```\n\n   Events last about an hour. For a failure reported as earlier (\"since this morning\"), read the window from Cloud Logging instead, centred on the last `finishedAt` from step 1 (30 minutes either side):\n\n   ```bash\n   gcloud logging read \"resource.type=\\\"k8s_cluster\\\" AND logName=\\\"projects\u002F\u003Cproject_id>\u002Flogs\u002Fevents\\\" AND jsonPayload.involvedObject.namespace=\\\"\u003Cnamespace>\\\" AND timestamp>=\\\"\u003Cstart_time>\\\" AND timestamp\u003C=\\\"\u003Cend_time>\\\"\" --project=\u003Cproject_id> --limit=50 --format=\"table(timestamp,jsonPayload.reason,jsonPayload.message)\"\n   ```\n\n4. Match the evidence, then record the finding as [`workload-triage-scan\u002Freferences\u002Freporting.md`](..\u002Fworkload-triage-scan\u002Freferences\u002Freporting.md) describes. Stop once the cause, the evidence and the patch are written.\n\n# Signatures\n\n| Evidence                                                         | Cause                                      | Patch                                                                     |\n| ---------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |\n| `exitCode: 137`, `reason: OOMKilled`                             | Memory limit reached                       | Raise `resources.limits.memory`, or fix the leak the log and command show |\n| `exitCode: 1` or another non-zero code, stack trace in the log   | Application crash                          | Name the exception; propose the config or image fix it points to          |\n| Log names a missing variable, password, file or key              | Missing configuration                      | Add the `env`, `envFrom` or Secret\u002FConfigMap reference                    |\n| `Read-only file system` or `Permission denied` on `\u002Ftmp`, `\u002Fvar` | `readOnlyRootFilesystem` with no scratch   | Mount an `emptyDir` at that path                                          |\n| `Liveness probe failed` or `Readiness probe failed` events       | Probe path, port or timing wrong           | Correct the probe, or raise `initialDelaySeconds`                         |\n| `Connection timed out`, `dial tcp: i\u002Fo timeout` in the log       | Dependency unreachable                     | Load `service-connectivity` for the target service                        |\n| `reason: Evicted`, node pressure message                         | Node memory or disk pressure               | Set requests near real usage; check the node in the message               |\n| `exitCode: 143` with no other error                              | SIGTERM: stopped by the kubelet or a probe | Read the probe events; extend `terminationGracePeriodSeconds` if needed   |\n\nFor an OOM, tell an application leak or loop (unbounded growth in the log, a command that loads everything into memory) from a limit set below real demand. When a GKE event reason or exit code is unfamiliar, search the `developer_knowledge` MCP server's tools before a web search.\n\n# Rules\n\n- Budget about five commands. Do not `describe` or log every replica.\n- A pod under the scan's 10-minute startup grace period (`Running` not Ready or `PodInitializing` while under 10 minutes old with `restartCount: 0` and no non-zero container termination in the last 60 minutes) is initializing: report it with no proposed patch, do not wait.\n- Never `sleep` or `--watch` for the next restart.\n","# Task\n\nName the cause of one workload's restarts, quote the evidence, and propose the manifest patch. Investigate one representative pod: replicas of one controller share a cause.\n\n# Workflow\n\n1. Read the container state, limits, probes, command and owner in one projected call:\n\n   ```bash\n   kubectl get pod \u003Cpod> -n \u003Cnamespace> -o json | jq '{owner: .metadata.ownerReferences, node: .spec.nodeName, initContainers: [.spec.initContainers[]? | {name, image, command, args, resources, env: [.env[]? | {name, valueFrom}], envFrom}], containers: [.spec.containers[] | {name, image, command, args, resources, env: [.env[]? | {name, valueFrom}], envFrom, livenessProbe, readinessProbe}], initStatus: [.status.initContainerStatuses[]? | {name, ready, restartCount, state, lastState}], status: [.status.containerStatuses[]? | {name, ready, restartCount, state, lastState}], reason: .status.reason, message: .status.message}'\n   ```\n\n2. Read the previous container's log tail, or pass `-c \u003Ccontainer>` without `-p` when step 1 shows `restartCount: 0` (or `-c \u003Cinit-container> -p` when an init container is restarting while app containers wait in `PodInitializing`):\n\n   ```bash\n   kubectl logs \u003Cpod> -n \u003Cnamespace> --all-containers -p --tail=50\n   ```\n\n3. Read this pod's events only:\n\n   ```bash\n   kubectl get events -n \u003Cnamespace> --field-selector involvedObject.name=\u003Cpod> -o custom-columns=LAST:.lastTimestamp,TYPE:.type,REASON:.reason,COUNT:.count,MESSAGE:.message\n   ```\n\n   Events last about an hour. For a failure reported as earlier (\"since this morning\"), read the window from Cloud Logging instead, centred on the last `finishedAt` from step 1 (30 minutes either side):\n\n   ```bash\n   gcloud logging read \"resource.type=\\\"k8s_cluster\\\" AND logName=\\\"projects\u002F\u003Cproject_id>\u002Flogs\u002Fevents\\\" AND jsonPayload.involvedObject.namespace=\\\"\u003Cnamespace>\\\" AND timestamp>=\\\"\u003Cstart_time>\\\" AND timestamp\u003C=\\\"\u003Cend_time>\\\"\" --project=\u003Cproject_id> --limit=50 --format=\"table(timestamp,jsonPayload.reason,jsonPayload.message)\"\n   ```\n\n4. Match the evidence, then record the finding as [`workload-triage-scan\u002Freferences\u002Freporting.md`](..\u002Fworkload-triage-scan\u002Freferences\u002Freporting.md) describes. Stop once the cause, the evidence and the patch are written.\n\n# Signatures\n\n| Evidence                                                         | Cause                                      | Patch                                                                     |\n| ---------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |\n| `exitCode: 137`, `reason: OOMKilled`                             | Memory limit reached                       | Raise `resources.limits.memory`, or fix the leak the log and command show |\n| `exitCode: 1` or another non-zero code, stack trace in the log   | Application crash                          | Name the exception; propose the config or image fix it points to          |\n| Log names a missing variable, password, file or key              | Missing configuration                      | Add the `env`, `envFrom` or Secret\u002FConfigMap reference                    |\n| `Read-only file system` or `Permission denied` on `\u002Ftmp`, `\u002Fvar` | `readOnlyRootFilesystem` with no scratch   | Mount an `emptyDir` at that path                                          |\n| `Liveness probe failed` or `Readiness probe failed` events       | Probe path, port or timing wrong           | Correct the probe, or raise `initialDelaySeconds`                         |\n| `Connection timed out`, `dial tcp: i\u002Fo timeout` in the log       | Dependency unreachable                     | Load `service-connectivity` for the target service                        |\n| `reason: Evicted`, node pressure message                         | Node memory or disk pressure               | Set requests near real usage; check the node in the message               |\n| `exitCode: 143` with no other error                              | SIGTERM: stopped by the kubelet or a probe | Read the probe events; extend `terminationGracePeriodSeconds` if needed   |\n\nFor an OOM, tell an application leak or loop (unbounded growth in the log, a command that loads everything into memory) from a limit set below real demand. When a GKE event reason or exit code is unfamiliar, search the `developer_knowledge` MCP server's tools before a web search.\n\n# Rules\n\n- Budget about five commands. Do not `describe` or log every replica.\n- A pod under the scan's 10-minute startup grace period (`Running` not Ready or `PodInitializing` while under 10 minutes old with `restartCount: 0` and no non-zero container termination in the last 60 minutes) is initializing: report it with no proposed patch, do not wait.\n- Never `sleep` or `--watch` for the next restart.\n",{"name":5,"description":7},"main","af354bf2b99e17df77e52c512a7ba968c37c2306","agents\u002Fcluster\u002Fpersona\u002Fskills\u002Fpod-crashloop-oom",44,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents","https:\u002F\u002Fgke-labs.github.io\u002Fkube-agents\u002F","https:\u002F\u002Fgithub.com\u002Fgke-labs","2026-11-14 20:53:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add gke-labs\u002Fkube-agents --skill pod-crashloop-oom",{"tool":37,"command":38},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill pod-crashloop-oom",{"tool":40,"command":41},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill pod-crashloop-oom","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fcluster\u002Fpersona\u002Fskills\u002Fpod-crashloop-oom\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M72168JZM6CYRZFWW204PA2V","gke-workload-troubleshooting","Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-troubleshooting\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","gke-workload-security","Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-security\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M721618QGFKZRWHS0RFVG7WT","gke-workload-scaling","Manages scaling for GKE workloads using HPA and VPA. Use when configuring Horizontal Pod Autoscaler (HPA), configuring Vertical Pod Autoscaler (VPA), or applying best practices for GKE workload autoscaling. Do not use for cluster-level autoscaling (Cluster Autoscaler), static cluster sizing, or configuring node-level machine styles directly.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-scaling\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7215WA1TNFDZE22VJEN3XXW","gke-workload-identity","Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 \"iam.serviceAccounts.getAccessToken\" \u002F permission denied, \"could not find default credentials\", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA\u002FGSA bindings (`roles\u002Fiam.workloadIdentityUser`, `iam.gke.io\u002Fgcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-identity\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7215PJTBTZ0W15ZZ2W32FF9","gke-upgrades","Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre\u002Fpost-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like \"we need to upgrade our clusters\" or \"plan our next GKE maintenance\" or \"our upgrade is stuck.\" Don't use for GKE cluster creation, application onboarding, general networking\u002Frouting setup, or security policy configurations (use gke-basics or relevant GKE skills instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-upgrades\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7215JX0FBZBTG4570CJ20HS","gke-tpu-metrics-monitoring","Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. Use when monitoring TensorCore duty cycle, TPU memory, node readiness, multi-host TPU node pool availability, host maintenance or preemption interruptions, and calculating MTTR or MTBI metrics for GKE TPUs. Don't use for general non-TPU GKE workload monitoring or non-metric TPU debugging.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-tpu-metrics-monitoring\u002FSKILL.md",[],[]]