| name | debug |
| description | Comprehensive debugging skill for agents, Temporal workflows, and Kubernetes infrastructure in distributed environments |
| version | 1.0.0 |
| risk_level | low |
| autonomy | fully_auto |
| layer | temporal |
| action_name | debug_system |
| input_schema | {"type":"object","properties":{"target_component":{"type":"string","enum":["agents","workflows","infrastructure","all"],"description":"Component to debug"},"issue_type":{"type":"string","enum":["performance","errors","timeouts","connectivity","resource","behavior"],"description":"Type of issue to investigate"},"time_range":{"type":"string","pattern":"^\\d+[mhd]$","description":"Time range for analysis (e.g., 30m, 2h, 1d)"},"namespace":{"type":"string","default":"temporal","description":"Kubernetes namespace to investigate"},"verbose":{"type":"boolean","default":false,"description":"Enable verbose logging"},"auto_fix":{"type":"boolean","default":false,"description":"Attempt automatic fixes for common issues"}},"required":["target_component","issue_type"]} |
| output_schema | {"type":"object","properties":{"debug_session_id":{"type":"string","description":"Unique identifier for this debug session"},"findings":{"type":"array","items":{"type":"object","properties":{"component":{"type":"string"},"severity":{"type":"string","enum":["critical","warning","info"]},"issue":{"type":"string"},"root_cause":{"type":"string"},"evidence":{"type":"array","items":{"type":"string"}},"recommendations":{"type":"array","items":{"type":"string"}}}}},"metrics_summary":{"type":"object","properties":{"total_issues":{"type":"integer"},"critical_issues":{"type":"integer"},"warnings":{"type":"integer"},"auto_fixes_applied":{"type":"integer"}}},"execution_time":{"type":"number","description":"Debug session duration in seconds"},"next_steps":{"type":"array","items":{"type":"string"}}},"required":["debug_session_id","findings","metrics_summary","execution_time"]} |
| human_gate | {"required":false,"description":"No human approval required for read-only debugging operations. Auto-fix requires review for critical components."} |
| dependencies | ["kubectl","curl","jq","python3","temporal-cli (optional)"] |
| environment_variables | ["KUBECONFIG","TEMPORAL_HOST","METRICS_ENDPOINT"] |
| tags | ["debugging","monitoring","troubleshooting","distributed-systems","agents","kubernetes","temporal"] |