agentsclimarketplace

K8s core

Skill ComeOnOliver/skillshub/skills/rohitg00/kubectl-mcp-server/k8s-core

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill k8s-core

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.8 KB, 725 tokens by cl100k_base, as published. Nobody here has run it

Core Kubernetes Resources

Manage fundamental Kubernetes objects using kubectl-mcp-server's core tools.

When to Apply

Use this skill when:

  • User mentions: "pods", "namespaces", "configmaps", "secrets", "nodes", "events"
  • Operations: listing resources, describing objects, creating/deleting resources
  • Keywords: "show me", "list", "get", "describe", "create", "delete"

Priority Rules

PriorityRuleImpactTools
1Check namespace exists before operationsCRITICALget_namespaces
2Never expose secrets in plain textCRITICALHandle get_secret output carefully
3Use labels for filteringHIGHlabel_selector parameter
4Check events after changesMEDIUMget_events

Quick Reference

TaskToolExample
List podsget_podsget_pods(namespace="default")
Describe poddescribe_poddescribe_pod(name, namespace)
Get logsget_pod_logsget_pod_logs(name, namespace)
List namespacesget_namespacesget_namespaces()
Get configmapget_configmapget_configmap(name, namespace)
List nodesget_nodesget_nodes()

Pods

get_pods(namespace="default")
get_pods(namespace="kube-system", label_selector="app=nginx")

describe_pod(name="my-pod", namespace="default")

get_pod_logs(name="my-pod", namespace="default")
get_pod_logs(name="my-pod", namespace="default", previous=True)

delete_pod(name="my-pod", namespace="default")

Namespaces

get_namespaces()

create_namespace(name="my-namespace")

delete_namespace(name="my-namespace")

ConfigMaps

get_configmaps(namespace="default")

get_configmap(name="my-config", namespace="default")

create_configmap(
    name="app-config",
    namespace="default",
    data={"key": "value", "config.yaml": "setting: true"}
)

Secrets

get_secrets(namespace="default")

get_secret(name="my-secret", namespace="default")

create_secret(
    name="db-credentials",
    namespace="default",
    data={"username": "admin", "password": "secret123"}
)

Nodes

get_nodes()

describe_node(name="node-1")

get_nodes_summary()

cordon_node(name="node-1")
uncordon_node(name="node-1")

drain_node(name="node-1", ignore_daemonsets=True)

Events

get_events(namespace="default")

get_events(namespace="default", field_selector="involvedObject.name=my-pod")

Multi-Cluster Support

All tools support context parameter:

get_pods(namespace="default", context="production-cluster")
get_nodes(context="staging-cluster")

Related Skills

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.