with one click
logs
View and troubleshoot service logs and pod status
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
View and troubleshoot service logs and pod status
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Deploy services to the dev EKS namespace via ArgoCD (or kubectl for bootstrap)
Deploy services to the prod EKS namespace via ArgoCD (manual sync) with safety checks
Review Terraform code for security, best practices, and conventions
Roll back a failed deployment to the previous revision
Run Checkov security scan on Terraform modules
Run health checks against deployed services
| name | logs |
| description | View and troubleshoot service logs and pod status |
| disable-model-invocation | true |
| argument-hint | [service] [env] |
View logs and debug information for a service in the specified environment.
service — Service name (e.g., config-server, api-gateway, customers-service)env — Target environment: dev or prod (default: dev)Set the namespace based on environment:
dev → petclinic-devprod → petclinic-prodShow pod status for the service:
kubectl get pods -l app.kubernetes.io/name={service} -n petclinic-{env} -o wide
Show recent events for the pod:
kubectl describe pod -l app.kubernetes.io/name={service} -n petclinic-{env} | tail -30
Show logs (last 100 lines):
kubectl logs -l app.kubernetes.io/name={service} -n petclinic-{env} --tail=100
If the pod is in CrashLoopBackOff, show previous container logs:
kubectl logs -l app.kubernetes.io/name={service} -n petclinic-{env} --previous --tail=50
Show resource usage if metrics-server is available:
kubectl top pod -l app.kubernetes.io/name={service} -n petclinic-{env} 2>/dev/null || echo "Metrics server not available"
Present a summary:
## Logs: {service} ({env})
Pod Status: {Running/CrashLoopBackOff/Pending/etc.}
Restarts: {count}
Uptime: {age}
### Recent Events
{key events}
### Log Highlights
{errors/warnings from logs}
### Suggested Actions
{troubleshooting suggestions based on findings}