tools.kubectl

Community

Token-efficient kubectl patterns for Kubernetes

Authorlburgazzoli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

kubectl/oc commands often produce verbose output that is difficult to parse and manage. This skill provides patterns and guidance to minimize output and use structured formats (jsonpath, json, jq) to extract precisely what you need.

Core Features & Use Cases

  • Output minimization: avoid dumping full resources and leverage targeted formats.
  • Output formats: use -o name, -o jsonpath, -o json, or pipe to jq for precise data extraction.
  • Batch and efficiency: perform multi-resource fetches efficiently and apply selectors.
  • oc-specific commands: verify context, routes, cluster version, and more to streamline OpenShift workflows.
  • Anti-patterns: avoid fragile text parsing and prefer structured queries.

Quick Start

Invoke kubectl with a concise -o format (e.g., jsonpath or json | jq) to extract the exact fields you need from the target resources.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tools.kubectl
Download link: https://github.com/lburgazzoli/claude-plugins/archive/main.zip#tools-kubectl

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.