temporal-community/kubehealer — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python demo tool called KubeHealer that can watch a local Kubernetes cluster, find broken pods, explain what’s wrong in plain English using Claude, and fix the easy problems automatically.

I want two ways to use it. One should be an interactive terminal chat where I can ask things like how many pods are running, what’s wrong with a pod, show logs, heal my cluster, and approve fixes. The conversation should survive restarts by using Temporal, so if the CLI or worker dies it can pick up where it left off. The other mode should be a one shot auto heal command that scans, diagnoses, and fixes everything without chatting.

Use Temporal workflows and activities so each scan, Claude call, Kubernetes action, and fix is visible and retryable. Include a setup for a local Kind cluster with a few intentionally broken apps, like a bad image name, a pod with too little memory, and a missing config map. Add clear run instructions and env setup for the Anthropic API key.

Want more depth? Deep Reverse