[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F813M0QHB5PET8CTB3WP9B":3,"skill-same:01M6F813M0QHB5PET8CTB3WP9B":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6F813M0QHB5PET8CTB3WP9B","castai-debug-bundle",null,"Collect CAST AI diagnostic bundle for support tickets and troubleshooting.\nUse when preparing a support case, collecting agent logs,\nor building a diagnostic snapshot of cluster state.\nTrigger with phrases like \"cast ai debug\", \"cast ai support bundle\",\n\"collect cast ai diagnostics\", \"cast ai logs\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcastai-debug-bundle\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"castai debug bundle","debug","castai","bundle","read","cluster","trigger","io","cast","use","snapshot","kubernetes","Bash","kubectl","Optimization","logs","collect","code","diagnostics","support","2026-11-10 10:12:30",false,"---\nname: castai-debug-bundle\ndescription: |\n  Collect CAST AI diagnostic bundle for support tickets and troubleshooting.\n  Use when preparing a support case, collecting agent logs,\n  or building a diagnostic snapshot of cluster state.\n  Trigger with phrases like \"cast ai debug\", \"cast ai support bundle\",\n  \"collect cast ai diagnostics\", \"cast ai logs\".\nallowed-tools: Read, Bash(kubectl:*), Bash(curl:*), Bash(tar:*), Bash(helm:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, kubernetes, cost-optimization, castai]\ncompatible-with: claude-code\n---\n\n# CAST AI Debug Bundle\n\n## Overview\n\nCollect all CAST AI component logs, cluster state, and configuration into a single archive for troubleshooting or support tickets. The bundle captures agent status, Helm releases, autoscaler policies, node inventory, and recent events.\n\n## Prerequisites\n\n- `kubectl` access to the cluster running CAST AI\n- `CASTAI_API_KEY` and `CASTAI_CLUSTER_ID` configured\n- `helm` installed\n\n## Instructions\n\n### Step 1: Run the Debug Bundle Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# castai-debug-bundle.sh\nset -euo pipefail\n\nBUNDLE_DIR=\"castai-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"=== CAST AI Debug Bundle ===\" | tee \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date -u)\" | tee -a \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Cluster ID: ${CASTAI_CLUSTER_ID:-unknown}\" | tee -a \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# 1. Helm releases\necho \"--- Helm Releases ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nhelm list -n castai-agent -o yaml > \"$BUNDLE_DIR\u002Fhelm-releases.yaml\" 2>&1\n\n# 2. Pod status\necho \"--- Pod Status ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nkubectl get pods -n castai-agent -o wide > \"$BUNDLE_DIR\u002Fpod-status.txt\" 2>&1\n\n# 3. Agent logs (last 200 lines each)\nfor deploy in castai-agent cluster-controller castai-evictor castai-spot-handler castai-workload-autoscaler; do\n  kubectl logs -n castai-agent \"deployment\u002F$deploy\" --tail=200 \\\n    > \"$BUNDLE_DIR\u002F${deploy}-logs.txt\" 2>&1 || echo \"Not found: $deploy\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ndone\n\n# 4. Cluster events (CAST AI related)\nkubectl get events -n castai-agent --sort-by='.lastTimestamp' \\\n  > \"$BUNDLE_DIR\u002Fevents.txt\" 2>&1\n\n# 5. Node inventory\nkubectl get nodes -o wide > \"$BUNDLE_DIR\u002Fnodes.txt\" 2>&1\n\n# 6. API cluster status (redact API key from output)\nif [ -n \"${CASTAI_API_KEY:-}\" ] && [ -n \"${CASTAI_CLUSTER_ID:-}\" ]; then\n  curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fexternal-clusters\u002F${CASTAI_CLUSTER_ID}\" \\\n    | jq '{name, status, agentStatus, providerType, createdAt}' \\\n    > \"$BUNDLE_DIR\u002Fcluster-status.json\" 2>&1\n\n  curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Fpolicies\" \\\n    > \"$BUNDLE_DIR\u002Fpolicies.json\" 2>&1\nfi\n\n# 7. RBAC check\nkubectl get clusterrole -l app.kubernetes.io\u002Fmanaged-by=castai \\\n  > \"$BUNDLE_DIR\u002Frbac.txt\" 2>&1\n\n# 8. Package bundle\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\n```\n\n### Step 2: Review Before Sharing\n\n**Safe to include:**\n- Pod logs (no secrets in CAST AI agent logs)\n- Helm release metadata\n- Node names and instance types\n- Autoscaler policies\n- Cluster events\n\n**Redact before sharing:**\n- API keys (the script never writes them)\n- Custom environment variables\n- Internal hostnames if sensitive\n\n### Step 3: Submit to CAST AI Support\n\n1. Generate bundle: `bash castai-debug-bundle.sh`\n2. Attach `castai-debug-*.tar.gz` to support ticket at support.cast.ai\n3. Include your cluster ID and a description of the issue\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| `kubectl` permission denied | Missing RBAC | Use cluster-admin kubeconfig |\n| Empty log files | Pod not running | Note which components are down |\n| API call fails | Key expired | Bundle still useful with kubectl data |\n| tar fails | Disk full | Clean temp files first |\n\n## Resources\n\n- [CAST AI Support](https:\u002F\u002Fsupport.cast.ai)\n- [CAST AI Status](https:\u002F\u002Fstatus.cast.ai)\n- [Component Troubleshooting](https:\u002F\u002Fdocs.cast.ai\u002Fdocs\u002Fcasti-ai-components)\n\n## Next Steps\n\nFor rate limit handling, see `castai-rate-limits`.\n\n","# CAST AI Debug Bundle\n\n## Overview\n\nCollect all CAST AI component logs, cluster state, and configuration into a single archive for troubleshooting or support tickets. The bundle captures agent status, Helm releases, autoscaler policies, node inventory, and recent events.\n\n## Prerequisites\n\n- `kubectl` access to the cluster running CAST AI\n- `CASTAI_API_KEY` and `CASTAI_CLUSTER_ID` configured\n- `helm` installed\n\n## Instructions\n\n### Step 1: Run the Debug Bundle Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# castai-debug-bundle.sh\nset -euo pipefail\n\nBUNDLE_DIR=\"castai-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\necho \"=== CAST AI Debug Bundle ===\" | tee \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date -u)\" | tee -a \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Cluster ID: ${CASTAI_CLUSTER_ID:-unknown}\" | tee -a \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# 1. Helm releases\necho \"--- Helm Releases ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nhelm list -n castai-agent -o yaml > \"$BUNDLE_DIR\u002Fhelm-releases.yaml\" 2>&1\n\n# 2. Pod status\necho \"--- Pod Status ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nkubectl get pods -n castai-agent -o wide > \"$BUNDLE_DIR\u002Fpod-status.txt\" 2>&1\n\n# 3. Agent logs (last 200 lines each)\nfor deploy in castai-agent cluster-controller castai-evictor castai-spot-handler castai-workload-autoscaler; do\n  kubectl logs -n castai-agent \"deployment\u002F$deploy\" --tail=200 \\\n    > \"$BUNDLE_DIR\u002F${deploy}-logs.txt\" 2>&1 || echo \"Not found: $deploy\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ndone\n\n# 4. Cluster events (CAST AI related)\nkubectl get events -n castai-agent --sort-by='.lastTimestamp' \\\n  > \"$BUNDLE_DIR\u002Fevents.txt\" 2>&1\n\n# 5. Node inventory\nkubectl get nodes -o wide > \"$BUNDLE_DIR\u002Fnodes.txt\" 2>&1\n\n# 6. API cluster status (redact API key from output)\nif [ -n \"${CASTAI_API_KEY:-}\" ] && [ -n \"${CASTAI_CLUSTER_ID:-}\" ]; then\n  curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fexternal-clusters\u002F${CASTAI_CLUSTER_ID}\" \\\n    | jq '{name, status, agentStatus, providerType, createdAt}' \\\n    > \"$BUNDLE_DIR\u002Fcluster-status.json\" 2>&1\n\n  curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Fpolicies\" \\\n    > \"$BUNDLE_DIR\u002Fpolicies.json\" 2>&1\nfi\n\n# 7. RBAC check\nkubectl get clusterrole -l app.kubernetes.io\u002Fmanaged-by=castai \\\n  > \"$BUNDLE_DIR\u002Frbac.txt\" 2>&1\n\n# 8. Package bundle\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\n```\n\n### Step 2: Review Before Sharing\n\n**Safe to include:**\n- Pod logs (no secrets in CAST AI agent logs)\n- Helm release metadata\n- Node names and instance types\n- Autoscaler policies\n- Cluster events\n\n**Redact before sharing:**\n- API keys (the script never writes them)\n- Custom environment variables\n- Internal hostnames if sensitive\n\n### Step 3: Submit to CAST AI Support\n\n1. Generate bundle: `bash castai-debug-bundle.sh`\n2. Attach `castai-debug-*.tar.gz` to support ticket at support.cast.ai\n3. Include your cluster ID and a description of the issue\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| `kubectl` permission denied | Missing RBAC | Use cluster-admin kubeconfig |\n| Empty log files | Pod not running | Note which components are down |\n| API call fails | Key expired | Bundle still useful with kubectl data |\n| tar fails | Disk full | Clean temp files first |\n\n## Resources\n\n- [CAST AI Support](https:\u002F\u002Fsupport.cast.ai)\n- [CAST AI Status](https:\u002F\u002Fstatus.cast.ai)\n- [Component Troubleshooting](https:\u002F\u002Fdocs.cast.ai\u002Fdocs\u002Fcasti-ai-components)\n\n## Next Steps\n\nFor rate limit handling, see `castai-rate-limits`.\n\n",{"name":5,"tags":44,"author":47,"license":15,"version":48,"description":49,"allowed-tools":50,"compatible-with":51},[45,30,46,21],"saas","cost-optimization","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Collect CAST AI diagnostic bundle for support tickets and troubleshooting.\nUse when preparing a support case, collecting agent logs,\nor building a diagnostic snapshot of cluster state.\nTrigger with phrases like \"cast ai debug\", \"cast ai support bundle\",\n\"collect cast ai diagnostics\", \"cast ai logs\".\n","Read, Bash(kubectl:*), Bash(curl:*), Bash(tar:*), Bash(helm:*), Grep","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcastai-debug-bundle",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill castai-debug-bundle",{"tool":67,"command":68},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill castai-debug-bundle",{"tool":70,"command":71},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill castai-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcastai-debug-bundle\u002FSKILL.md",true,[],[76,85,94,103,109,115],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[82,83,84],"model","model hierarchy","model hierarchy skill",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[91,92,93],"MCP","zoom","zoom mcp",{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[100,101,102,92],"sdk","zoom apps sdk","apps",{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[105],{"skillNo":110,"name":111,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[111],{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[117]]