[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78Y0D37548XAE7GZ9B3C75P":3,"skill-same:01M78Y0D37548XAE7GZ9B3C75P":57},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M78Y0D37548XAE7GZ9B3C75P","castai-webhooks-events",null,"Configure CAST AI webhook notifications for cluster events and audit logs.\nUse when setting up alerts for node scaling, cost threshold events,\nor integrating CAST AI events with Slack, PagerDuty, or custom endpoints.\nTrigger with phrases like \"cast ai webhooks\", \"cast ai notifications\",\n\"cast ai slack alerts\", \"cast ai events\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--castai-pack--castai-webhooks-events\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: castai-webhooks-events\ndescription: |\n  Configure CAST AI webhook notifications for cluster events and audit logs.\n  Use when setting up alerts for node scaling, cost threshold events,\n  or integrating CAST AI events with Slack, PagerDuty, or custom endpoints.\n  Trigger with phrases like \"cast ai webhooks\", \"cast ai notifications\",\n  \"cast ai slack alerts\", \"cast ai events\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\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 Webhooks & Events\n\n## Overview\n\nCAST AI emits events for node lifecycle changes, autoscaler decisions, and security findings. Configure webhook endpoints or use the audit log API to track all cluster operations. Integrates with Slack, PagerDuty, and custom HTTP endpoints.\n\n## Prerequisites\n\n- CAST AI cluster connected and active\n- HTTPS endpoint for receiving webhooks (or Slack webhook URL)\n- API key with Full Access\n\n## Instructions\n\n### Step 1: Configure Notification Channels in Console\n\nNavigate to console.cast.ai > your cluster > Notifications. Available channels:\n\n- **Slack**: Webhook URL integration\n- **Email**: Per-user notifications\n- **PagerDuty**: Incident escalation\n- **Custom webhook**: Any HTTPS endpoint\n\n### Step 2: Query Audit Log via API\n\n```bash\n# Get recent cluster operations\ncurl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n  \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Faudit-log?limit=20\" \\\n  | jq '.items[] | {\n    time: .createdAt,\n    action: .action,\n    initiator: .initiatedBy,\n    details: .details\n  }'\n```\n\n### Step 3: Build a Custom Notification Handler\n\n```typescript\n\u002F\u002F castai-webhook-handler.ts\nimport express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\ninterface CastAIEvent {\n  eventType: string;\n  clusterId: string;\n  clusterName: string;\n  timestamp: string;\n  data: {\n    nodeName?: string;\n    instanceType?: string;\n    lifecycle?: string;\n    action?: string;\n    savingsImpact?: number;\n  };\n}\n\napp.post(\"\u002Fcastai\u002Fevents\", async (req, res) => {\n  const event: CastAIEvent = req.body;\n\n  switch (event.eventType) {\n    case \"node.added\":\n      console.log(\n        `Node added: ${event.data.nodeName} (${event.data.instanceType}, ${event.data.lifecycle})`\n      );\n      await notifySlack(\n        `New ${event.data.lifecycle} node: ${event.data.instanceType}`\n      );\n      break;\n\n    case \"node.removed\":\n      console.log(`Node removed: ${event.data.nodeName}`);\n      break;\n\n    case \"node.spot_interrupted\":\n      console.log(`Spot interruption: ${event.data.nodeName}`);\n      await notifyPagerDuty(\"Spot instance interrupted\", event);\n      break;\n\n    case \"savings.threshold\":\n      console.log(`Savings threshold crossed: ${event.data.savingsImpact}%`);\n      break;\n\n    default:\n      console.log(`Unhandled event: ${event.eventType}`);\n  }\n\n  res.status(200).json({ received: true });\n});\n\nasync function notifySlack(message: string): Promise\u003Cvoid> {\n  await fetch(process.env.SLACK_WEBHOOK_URL!, {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({\n      text: `:kubernetes: CAST AI: ${message}`,\n    }),\n  });\n}\n\napp.listen(3000, () => console.log(\"CAST AI webhook handler on :3000\"));\n```\n\n### Step 4: Kubernetes-Native Event Monitoring\n\n```bash\n# Watch CAST AI events in the cluster\nkubectl get events -n castai-agent --watch \\\n  --field-selector=source=castai\n\n# Or use a CronJob to post daily summaries\n```\n\n```yaml\napiVersion: batch\u002Fv1\nkind: CronJob\nmetadata:\n  name: castai-daily-summary\nspec:\n  schedule: \"0 9 * * *\"\n  jobTemplate:\n    spec:\n      template:\n        spec:\n          containers:\n            - name: summary\n              image: curlimages\u002Fcurl\n              command:\n                - sh\n                - -c\n                - |\n                  SAVINGS=$(curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n                    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CLUSTER_ID}\u002Fsavings\")\n                  curl -X POST ${SLACK_WEBHOOK_URL} \\\n                    -H \"Content-Type: application\u002Fjson\" \\\n                    -d \"{\\\"text\\\": \\\"Daily CAST AI savings: $(echo $SAVINGS | jq -r '.monthlySavings') USD\u002Fmonth\\\"}\"\n          restartPolicy: Never\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Webhook not firing | Wrong URL in console | Verify endpoint is reachable |\n| Slack message empty | Payload format changed | Check current event schema |\n| Duplicate events | No idempotency | Track event IDs in your handler |\n| Events delayed | Queue backlog | Monitor CAST AI status page |\n\n## Resources\n\n- [CAST AI Notifications](https:\u002F\u002Fdocs.cast.ai\u002Fdocs\u002Fgetting-started)\n- [CAST AI API Reference](https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fspec\u002Fopenapi.json)\n\n## Next Steps\n\nFor performance optimization, see `castai-performance-tuning`.\n","# CAST AI Webhooks & Events\n\n## Overview\n\nCAST AI emits events for node lifecycle changes, autoscaler decisions, and security findings. Configure webhook endpoints or use the audit log API to track all cluster operations. Integrates with Slack, PagerDuty, and custom HTTP endpoints.\n\n## Prerequisites\n\n- CAST AI cluster connected and active\n- HTTPS endpoint for receiving webhooks (or Slack webhook URL)\n- API key with Full Access\n\n## Instructions\n\n### Step 1: Configure Notification Channels in Console\n\nNavigate to console.cast.ai > your cluster > Notifications. Available channels:\n\n- **Slack**: Webhook URL integration\n- **Email**: Per-user notifications\n- **PagerDuty**: Incident escalation\n- **Custom webhook**: Any HTTPS endpoint\n\n### Step 2: Query Audit Log via API\n\n```bash\n# Get recent cluster operations\ncurl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n  \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Faudit-log?limit=20\" \\\n  | jq '.items[] | {\n    time: .createdAt,\n    action: .action,\n    initiator: .initiatedBy,\n    details: .details\n  }'\n```\n\n### Step 3: Build a Custom Notification Handler\n\n```typescript\n\u002F\u002F castai-webhook-handler.ts\nimport express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\ninterface CastAIEvent {\n  eventType: string;\n  clusterId: string;\n  clusterName: string;\n  timestamp: string;\n  data: {\n    nodeName?: string;\n    instanceType?: string;\n    lifecycle?: string;\n    action?: string;\n    savingsImpact?: number;\n  };\n}\n\napp.post(\"\u002Fcastai\u002Fevents\", async (req, res) => {\n  const event: CastAIEvent = req.body;\n\n  switch (event.eventType) {\n    case \"node.added\":\n      console.log(\n        `Node added: ${event.data.nodeName} (${event.data.instanceType}, ${event.data.lifecycle})`\n      );\n      await notifySlack(\n        `New ${event.data.lifecycle} node: ${event.data.instanceType}`\n      );\n      break;\n\n    case \"node.removed\":\n      console.log(`Node removed: ${event.data.nodeName}`);\n      break;\n\n    case \"node.spot_interrupted\":\n      console.log(`Spot interruption: ${event.data.nodeName}`);\n      await notifyPagerDuty(\"Spot instance interrupted\", event);\n      break;\n\n    case \"savings.threshold\":\n      console.log(`Savings threshold crossed: ${event.data.savingsImpact}%`);\n      break;\n\n    default:\n      console.log(`Unhandled event: ${event.eventType}`);\n  }\n\n  res.status(200).json({ received: true });\n});\n\nasync function notifySlack(message: string): Promise\u003Cvoid> {\n  await fetch(process.env.SLACK_WEBHOOK_URL!, {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({\n      text: `:kubernetes: CAST AI: ${message}`,\n    }),\n  });\n}\n\napp.listen(3000, () => console.log(\"CAST AI webhook handler on :3000\"));\n```\n\n### Step 4: Kubernetes-Native Event Monitoring\n\n```bash\n# Watch CAST AI events in the cluster\nkubectl get events -n castai-agent --watch \\\n  --field-selector=source=castai\n\n# Or use a CronJob to post daily summaries\n```\n\n```yaml\napiVersion: batch\u002Fv1\nkind: CronJob\nmetadata:\n  name: castai-daily-summary\nspec:\n  schedule: \"0 9 * * *\"\n  jobTemplate:\n    spec:\n      template:\n        spec:\n          containers:\n            - name: summary\n              image: curlimages\u002Fcurl\n              command:\n                - sh\n                - -c\n                - |\n                  SAVINGS=$(curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n                    \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CLUSTER_ID}\u002Fsavings\")\n                  curl -X POST ${SLACK_WEBHOOK_URL} \\\n                    -H \"Content-Type: application\u002Fjson\" \\\n                    -d \"{\\\"text\\\": \\\"Daily CAST AI savings: $(echo $SAVINGS | jq -r '.monthlySavings') USD\u002Fmonth\\\"}\"\n          restartPolicy: Never\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Webhook not firing | Wrong URL in console | Verify endpoint is reachable |\n| Slack message empty | Payload format changed | Check current event schema |\n| Duplicate events | No idempotency | Track event IDs in your handler |\n| Events delayed | Queue backlog | Monitor CAST AI status page |\n\n## Resources\n\n- [CAST AI Notifications](https:\u002F\u002Fdocs.cast.ai\u002Fdocs\u002Fgetting-started)\n- [CAST AI API Reference](https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fspec\u002Fopenapi.json)\n\n## Next Steps\n\nFor performance optimization, see `castai-performance-tuning`.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","kubernetes","cost-optimization","castai","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Configure CAST AI webhook notifications for cluster events and audit logs.\nUse when setting up alerts for node scaling, cost threshold events,\nor integrating CAST AI events with Slack, PagerDuty, or custom endpoints.\nTrigger with phrases like \"cast ai webhooks\", \"cast ai notifications\",\n\"cast ai slack alerts\", \"cast ai events\".\n","Read, Write, Edit, Bash(curl:*)","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--castai-pack--castai-webhooks-events",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill castai-webhooks-events",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill castai-webhooks-events",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill castai-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--castai-pack--castai-webhooks-events\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]