kubectl — community kubectl, dataspoke-baseline, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Cloud Infrastructure Agents requiring advanced Kubernetes cluster management capabilities. AI Data Catalog Starter

selhorys selhorys
[14]
[0]
Updated: 3/1/2026

Agent Capability Analysis

The kubectl skill by selhorys is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Cloud Infrastructure Agents requiring advanced Kubernetes cluster management capabilities.

Core Value

Empowers agents to manage Kubernetes resources, verify cluster configurations, and interact with namespaces like DataHub and DataSpoke using kubectl commands, facilitating seamless integration with docker-desktop and other kube contexts.

Capabilities Granted for kubectl

Verifying prerequisites with kubectl version and config commands
Reading cluster configurations from .env files
Managing namespaces and resources within Kubernetes clusters

! Prerequisites & Limits

  • Requires kubectl installation and configuration
  • Needs access to .env files containing cluster configuration details
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

kubectl

Install kubectl, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Setup

  1. Read cluster config: Read dev_env/.env to get:

    • DATASPOKE_DEV_KUBE_CLUSTER — kube context (e.g., docker-desktop)
    • DATASPOKE_DEV_KUBE_DATAHUB_NAMESPACE — DataHub namespace (e.g., datahub-01)
    • DATASPOKE_DEV_KUBE_DATASPOKE_NAMESPACE — DataSpoke namespace (e.g., dataspoke-01)
    • DATASPOKE_DEV_KUBE_DUMMY_DATA_NAMESPACE — Example sources namespace (e.g., dummy-data1)
  2. Verify prerequisites:

bash
1kubectl version --client 2kubectl config current-context # confirm correct context 3kubectl get nodes # confirm cluster access

If tools are missing or cluster is unreachable, stop and inform the user.


Execution Strategy for $ARGUMENTS

Before acting: identify the operation type from $ARGUMENTS — read, create, modify, or delete.

Read operations (safe, execute immediately):

bash
1kubectl get <type> -n <namespace> 2kubectl describe <type> <name> -n <namespace> 3kubectl logs <pod> -n <namespace> --tail=100 4kubectl get events -n <namespace> --sort-by='.lastTimestamp' 5helm status <release> -n <namespace> 6helm history <release> -n <namespace> 7helm get values <release> -n <namespace>

Create/apply operations (use dry-run first):

bash
1# Validate first 2kubectl apply -f <file.yaml> --dry-run=server 3 4# Then apply 5kubectl apply -f <file.yaml> -n <namespace>

Modify operations (confirm intent, then execute):

bash
1kubectl rollout restart deployment/<name> -n <namespace> 2helm upgrade <release> <chart> -n <namespace> -f <values.yaml>

Delete operations — always follow this safety workflow:

bash
1# 1. Confirm you're in the right context 2kubectl config current-context 3 4# 2. Describe before deleting 5kubectl describe <type> <name> -n <namespace> 6 7# 3. Delete 8kubectl delete <type> <name> -n <namespace> 9 10# 4. Verify 11kubectl get <type> -n <namespace>

Never delete namespaces. For scale-to-zero or namespace-level destructive operations, confirm with the user first.


Report Results

After every operation, summarize:

  • What was executed
  • What changed (before/after state if relevant)
  • Any warnings, errors, or events triggered
  • Suggested next steps if issues are found

For errors, consult reference.md for common causes and resolutions.


See reference.md for helm chart management, resource creation patterns, capacity planning, and error reference.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is kubectl?

Ideal for Cloud Infrastructure Agents requiring advanced Kubernetes cluster management capabilities. AI Data Catalog Starter

How do I install kubectl?

Run the command: npx killer-skills add selhorys/dataspoke-baseline. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for kubectl?

Key use cases include: Verifying prerequisites with kubectl version and config commands, Reading cluster configurations from .env files, Managing namespaces and resources within Kubernetes clusters.

Which IDEs are compatible with kubectl?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for kubectl?

Requires kubectl installation and configuration. Needs access to .env files containing cluster configuration details.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add selhorys/dataspoke-baseline. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use kubectl immediately in the current project.

Related Skills

Looking for an alternative to kubectl or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI