Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Opentofu Kubernetes Explorer Skill

BSecurity

Explore and manage Kubernetes clusters and resources using OpenTofu/Terraform

6 stars
0 votes
0 copies
0 views
Added 9/20/2026
devopsgokubernetesawsterraformbackend

Security Analysis

B75/100
criticalAccesses sensitive system or user directories

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add darellchua2/opencode-config-template --skill opentofu-kubernetes-explorer-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opentofu Kubernetes Explorer Skill?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Opentofu Kubernetes Explorer Skill
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/darellchua2-opentofu-kubernetes-explorer-skill/badge)](https://www.skillsdirectory.com/skills/darellchua2-opentofu-kubernetes-explorer-skill)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: opentofu-kubernetes-explorer-skill
description: Explore and manage Kubernetes clusters and resources using OpenTofu/Terraform
license: Apache-2.0
compatibility: opencode
category: OpenTofu
---

# OpenTofu Kubernetes Explorer

## What I do

Manage Kubernetes resources as code with the Kubernetes/Helm providers for OpenTofu: namespaces, config, deployments, services, ingress, storage, Helm releases.

## When to use me

- Kubernetes resource management as code (pods, deployments, services, configmaps, secrets)
- Ingress controllers, load balancers, persistent storage, storage classes
- Helm chart deployment via OpenTofu

## Prerequisites (house chain)

**Complete `opentofu-provider-setup-skill` first** — provider authentication and state backend live there; this skill assumes they're done. OpenTofu/Terraform are interchangeable here (OpenTofu is provider-compatible).

## House conventions

**Version pins** (`versions.tf`) — current house pins, update deliberately:

```hcl
terraform {
  required_providers {
    kubernetes = { source = "hashicorp/kubernetes", version = "~> 2.24.0" }
    helm       = { source = "hashicorp/helm",       version = "~> 2.11.0" }
  }
  required_version = ">= 1.0"

  backend "s3" {
    bucket         = "terraform-state"
    key            = "kubernetes/terraform.tfstate"
    region         = "ap-southeast-1"
    encrypt        = true
    dynamodb_table = "terraform-locks"
  }
}
```

**Provider connection** (`provider.tf`) — pick one method:
1. Default kubeconfig (`~/.kube/config`) — local dev, single cluster
2. `config_path = var.kubeconfig_path`
3. `config_context = "my-cluster-context"`
4. EKS direct: `host`/`cluster_ca_certificate`/`token` from `data.aws_eks_cluster` + `data.aws_eks_cluster_auth`

**Resource conventions**: every resource gets labels incl. `managedBy = "terraform"`; namespaces per concern (app, monitoring, ingress); secrets NEVER in ConfigMaps (Kubernetes Secrets only); RollingUpdate with `max_unavailable = 0`; resources always declare requests+limits; liveness+readiness probes on every deployment; Helm chart versions pinned; TLS terminates at ingress (cert-manager).

**Workflow**: `tofu init` → `tofu plan` → review → `tofu apply` → verify with `kubectl get events --sort-by='.lastTimestamp'` / `kubectl describe` when things pend.

**Provider docs** (authoritative, version-matched):
- Kubernetes provider: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs
- Helm provider: https://registry.terraform.io/providers/hashicorp/helm/latest/docs

> Removed 2026-09: the 15-step HCL-per-resource tutorial (namespace/configmap/secret/deployment/service/ingress/PV/HPA/helm/variables/outputs), kubectl triage recipes, and full examples — the model knows the provider schema; this file keeps the house pins, backend, connection methods, and resource conventions.

Attribution

darellchua2darellchua2
View sourceMore from darellchua2 →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

393431 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2459130 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

929660 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

805540 votes
View all in devops →