
Skill
gke-skill-creator
generate specialized GKE operational skills
Description
Dynamically generates specialized GKE skills for complex troubleshooting, operational workflows, architectural setup, or performance/cost optimization. Trigger this skill whenever the user faces a novel or non-obvious GKE challenge, needs custom cluster management workflows, or standard agent capabilities fall short, even if they don't explicitly ask to create a skill.
SKILL.md
GKE Skill Creator
Overview
This meta-skill acts as an interactive assistant to diagnose novel or complex Google Kubernetes Engine (GKE) issues and dynamically generate a specialized troubleshooting skill tailored to the exact problem discovered.
Core Mandate: Public-Facing Output
During the investigation and research phase, you should leverage official GKE documentation, public Kubernetes issue trackers, and trusted SRE resources to deeply understand the issue.
CRITICAL: The generated skill must be strictly public-facing. It MUST NOT
contain any internal codenames, acronyms, or references to internal Google
systems. All remediation logic must be expressed in terms of standard, public
tools like kubectl and gcloud. This ensures the skill is usable by external
GKE customers.
Workflow
1. Capture Intent & Investigate
- Ask the user for specific GKE symptoms (e.g., Pods stuck in
CrashLoopBackOff, Service 503 errors, Node pressure). - Use read-only tools to pull live context:
kubectl get <resource> -o yamlkubectl describe <resource>kubectl logs <pod> --tail=100kubectl get events --sort-by='.lastTimestamp'gcloud container clusters describe <cluster>
2. Perform Deep Research
- Before drafting the skill, perform deep research on the identified topic.
- Understand default argument values, potential side effects, and best practices for the commands you plan to include.
- Use trusted public sources to ensure accuracy.
- Use web search to find specific technical details from official
documentation and trusted sources (e.g., Google Cloud, GKE, Kubernetes),
such as:
- Exact error message matches and their documented causes.
- Command references for
kubectlorgcloudto verify syntax and flags. - Known issues, limitations, or version-specific caveats.
- Official troubleshooting workflows and decision trees.
3. Draft the Skill
- Use the generated_skill_skeleton.md template.
- Cheat sheet Philosophy: Write the
SKILL.mdto be terse and opinionated. Focus on "gotchas", exact command patterns, and specific pitfalls rather than long explanations. - Progressive Disclosure: For complex issues, avoid a monolithic
SKILL.md. Suggest breaking down long lists of commands or log analysis patterns into separate reference artifacts inreferences/. - Make Descriptions Pushy: Ensure the generated skill's description explicitly states when it should be used, covering variations of the problem.
- Fallback Remediation: If the primary method depends on specific
high-level tools (e.g., MCP tools, API integrations) or environment
configurations that might fail, include standard CLI fallback alternatives
(like raw
kubectlorgcloudcommands) to achieve the same result. - Match User Intent: Instruct executing agents to match the user's intent: explain/investigate if requested, or execute remediation if asked to fix the issue.
- Ensure the draft contains:
- Precise Symptoms.
- User Intent & Execution Rules.
- Step-by-step Diagnosis commands.
- Remediation (Fix) commands with impact descriptions.
- Verification steps.
- Technical Explanation (explaining why the fix works).
4. Review & Iterate
- Present the proposed diagnosis and the draft commands to the user.
- Human-in-the-loop: The user must approve the logic before finalization.
- Incorporate any user feedback or constraints.
5. Finalize & Handoff
- Once approved, provide the finalized
SKILL.mdcontent directly in the chat. - Handoff: Instruct the user that they can use this diagnosis and remediation logic directly in their current session, or save it to a local file for reference.
- Clarify that this process is for generating dynamic, session-specific skills and is distinct from adding permanent skills to the GKE-MCP codebase.
Safety Guardrails
- Read-Only Discovery: Never execute modifying commands during the investigation phase.
- Destructive Actions: Generated skills MUST instruct the agent to seek
explicit human confirmation before running destructive commands (e.g.,
kubectl delete,gcloud container clusters update). - Impact Description: Every remediation command must have a clear explanation of what it does.
References
More skills from the gke-mcp repository
View all 25 skillscustom-golden-image-discovery
discover golden base images for GKE nodes
Jul 12DeploymentGoogle CloudKubernetesgke-ai-troubleshooting-handle-disruption-gpu-tpu
diagnose GPU and TPU workload disruptions
Jul 28DebuggingGoogle CloudKubernetesPerformancegke-ai-troubleshooting-jobset-interruption
diagnose GKE JobSet interruptions
Jul 12DebuggingGoogle CloudKubernetesObservabilitygke-ai-troubleshooting-skill-creation-guide
create GKE troubleshooting skill bundles
Jul 12DocumentationEngineeringGoogle CloudTechnical Writinggke-ai-troubleshooting-tpu-connection-failure-vbar-oom
diagnose GKE TPU connection failures
Jul 12DebuggingGoogle CloudKubernetesPerformancegke-app-onboarding
containerize and deploy apps to GKE
Jul 12ContainersDeploymentGoogle CloudKubernetes +1
More from Google Cloud
View publisherkb-search
search and extract local knowledge base documents
knowledge-catalog
Jul 12DocumentationKnowledge BaseSearchknowledge_catalog_discovery_agent
search and rank Knowledge Catalog data entries
knowledge-catalog
Jul 12Data AnalysisGoogle CloudKnowledge ManagementSearchcontributing
contribute to Cloud Foundation Fabric
cloud-foundation-fabric
Jul 31AutomationEngineeringGitHubGoogle Cloud +1fabric-builder
generate Terraform code for Google Cloud
cloud-foundation-fabric
Jul 12Google CloudInfrastructure as CodeTerraformfast-0-org-setup-prereqs
prepare prerequisites for FAST 0-org-setup
cloud-foundation-fabric
Jul 12Google CloudOperationsagent-aware-cli
design agent-aware command-line interfaces
vertex-ai-creative-studio
Jul 12CLIEngineeringGoogle Cloud