Whatdies — DevOps skill for Claude Code
See what your AI agent's infrastructure command would actually destroy before it runs: a Claude Code hook that reads Terraform plans and kubectl state.
How to install Whatdies
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open somaz94/whatdies and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Whatdies does
See what your AI agent's infrastructure command would actually destroy before it runs: a Claude Code hook that reads Terraform plans and kubectl state.
Alternatives in DevOps
- Contributing To Terraform Skill — Thank you for your interest in improving terraform-skill 1.4k ★
- Infra Deploy — Use when changing Terraform, Docker, AWS or Azure deployment assets, or deployment documentation, including te 47 ★
- Chop — CLI output compressor for Claude Code 43 ★
README
whatdies
[](https://github.com/somaz94/whatdies/actions/workflows/ci.yml) [](https://opensource.org/licenses/MIT)
**See what your AI agent's infrastructure command would actually destroy, before it runs.**

Same command, opposite verdict. A guard that reads the command text cannot tell these apart, because the text is identical:
$ whatdies check "kubectl delete ns shop"
DENY
deletes namespace shop on kind-whatdies-demo with 1 pod(s), 0 deployment(s), 0 statefulset(s), 1 PVC(s)
PVC data -> PV pvc-da35d82e (1Gi) reclaim=Delete: the volume and its data are deleted
# reclaim policy changed to Retain; the command is identical
$ whatdies check "kubectl delete ns shop"
ASK
deletes namespace shop on kind-whatdies-demo with 1 pod(s), 0 deployment(s), 0 statefulset(s), 1 PVC(s); its volumes have reclaim=Retain, so they outlive it
And the opposite trap, a command that looks routine:
$ whatdies check "terraform apply tfplan"
DENY
replaces aws_db_instance.main (aws_db_instance holds data)
whatdies is a single Go binary that runs as a [Claude Code](https://code.claude.com/docs/en/hooks) `PreToolUse` hook. It needs no API key and sends nothing anywhere: it reads your saved Terraform plan and asks your own `kubectl` read-only questions.
Why
Coding agents have run `terraform destroy` against production and taken the database and its snapshots with it ([AI Incident 1424](https://incidentdatabase.ai/cite/1424)). The developer in that case watched the command go by and did not stop it. An approval prompt only helps if the person can see what the command does, and `terraform apply` does not say.
Install
Related Skills
Airing
See which .env, .git, keys and source maps Cloudflare Pages, Vercel, Netlify or Firebase would publish — befor
Guardrail
Guardrails for AI coding agents. A Claude Code plugin that blocks or asks before risky actions (dropping table
Kubectl Guard For Claude Code
A PreToolUse hook for Claude Code that restricts what an AI agent can do with kubectl and helm through the Bas
Deploy Gates
Post-merge deploy checklist for a task — reads gates from the notes, checks current state read-only, outputs o
Destroy
You are tearing down an always-on Claude Code workspace on AWS. Confirm with the user before deleting anything
Cc Sentinel
Governance infrastructure for Claude Code — hooks, agents, and workflows that prevent the failure modes autono
Related Agents
Engineer Infra
Builds one infrastructure ticket - Terraform, CI workflows, deploy and rollback - formats, validates and plans
Terraform Specialist
You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state managem... opus w
Terraform Engineer
Expert Terraform engineer specializing in infrastructure as code, multi-cloud provisioning, and modular archit