[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F80G1SXMSTJ66QD2MJAHWG":3,"skill-same:01M6F80G1SXMSTJ66QD2MJAHWG":81},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":63,"ownerHtmlUrl":64,"ownerBlogUrl":6,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6F80G1SXMSTJ66QD2MJAHWG","castai-ci-integration",null,"Integrate CAST AI policy validation and cost checks into CI\u002FCD pipelines.\nUse when adding CAST AI savings verification to GitHub Actions,\nvalidating Terraform plans, or gating deployments on cost thresholds.\nTrigger with phrases like \"cast ai CI\", \"cast ai github actions\",\n\"cast ai terraform CI\", \"cast ai pipeline\".","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-ci-integration\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"castai ci integration","integration","ci","write","castai","CI\u002FCD","thresholds","trigger","io","ai pipeline","integrate","edit","code","read","Bash","pipeline","Optimization","github actions","actions","verification","2026-11-10 10:12:30",false,"---\nname: castai-ci-integration\ndescription: |\n  Integrate CAST AI policy validation and cost checks into CI\u002FCD pipelines.\n  Use when adding CAST AI savings verification to GitHub Actions,\n  validating Terraform plans, or gating deployments on cost thresholds.\n  Trigger with phrases like \"cast ai CI\", \"cast ai github actions\",\n  \"cast ai terraform CI\", \"cast ai pipeline\".\nallowed-tools: Read, Write, Edit, Bash(gh:*)\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 CI Integration\n\n## Overview\n\nAdd CAST AI cost validation to CI\u002FCD pipelines: verify savings thresholds, validate Terraform plans before apply, and gate deployments on autoscaler health.\n\n## Prerequisites\n\n- GitHub Actions enabled\n- CAST AI API key stored as repository secret\n- Terraform state accessible from CI (if using Terraform)\n\n## Instructions\n\n### Step 1: GitHub Actions -- Savings Gate\n\n```yaml\n# .github\u002Fworkflows\u002Fcastai-check.yml\nname: CAST AI Cost Check\n\non:\n  pull_request:\n    paths: [\"terraform\u002F**\", \"k8s\u002F**\"]\n  schedule:\n    - cron: \"0 8 * * 1\"  # Weekly Monday report\n\njobs:\n  cost-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Check CAST AI Savings\n        env:\n          CASTAI_API_KEY: ${{ secrets.CASTAI_API_KEY }}\n          CASTAI_CLUSTER_ID: ${{ secrets.CASTAI_CLUSTER_ID }}\n        run: |\n          SAVINGS=$(curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n            \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Fsavings\")\n\n          PERCENT=$(echo \"$SAVINGS\" | jq -r '.savingsPercentage')\n          MONTHLY=$(echo \"$SAVINGS\" | jq -r '.monthlySavings')\n\n          echo \"### CAST AI Savings Report\" >> $GITHUB_STEP_SUMMARY\n          echo \"- Monthly savings: \\$${MONTHLY}\" >> $GITHUB_STEP_SUMMARY\n          echo \"- Savings percentage: ${PERCENT}%\" >> $GITHUB_STEP_SUMMARY\n\n          # Fail if savings drop below threshold\n          if (( $(echo \"$PERCENT \u003C 10\" | bc -l) )); then\n            echo \"WARNING: Savings below 10% threshold\"\n            exit 1\n          fi\n\n      - name: Verify Agent Health\n        env:\n          CASTAI_API_KEY: ${{ secrets.CASTAI_API_KEY }}\n          CASTAI_CLUSTER_ID: ${{ secrets.CASTAI_CLUSTER_ID }}\n        run: |\n          STATUS=$(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 -r '.agentStatus')\n\n          if [ \"$STATUS\" != \"online\" ]; then\n            echo \"CAST AI agent is ${STATUS}, expected online\"\n            exit 1\n          fi\n```\n\n### Step 2: Terraform Plan Validation\n\n```yaml\n  terraform-plan:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: hashicorp\u002Fsetup-terraform@v3\n\n      - name: Terraform Init & Plan\n        working-directory: terraform\u002F\n        env:\n          CASTAI_API_TOKEN: ${{ secrets.CASTAI_API_KEY }}\n        run: |\n          terraform init\n          terraform plan -var-file=environments\u002Fprod.tfvars \\\n            -out=plan.tfplan -no-color | tee plan-output.txt\n\n      - name: Check for Destructive Changes\n        run: |\n          if grep -q \"will be destroyed\" terraform\u002Fplan-output.txt; then\n            echo \"DESTRUCTIVE CHANGES DETECTED in CAST AI resources\"\n            exit 1\n          fi\n```\n\n### Step 3: Store Secrets\n\n```bash\ngh secret set CASTAI_API_KEY --body \"your-api-key\"\ngh secret set CASTAI_CLUSTER_ID --body \"your-cluster-id\"\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Secret not found | Missing `gh secret set` | Add secrets to repo |\n| Savings check fails | Cluster not onboarded | Verify cluster ID is correct |\n| Terraform init fails | State backend misconfigured | Check backend config |\n| Agent offline in CI | Key scope mismatch | Use production API key |\n\n## Resources\n\n- [GitHub Actions Secrets](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\u002Fsecurity-guides\u002Fencrypted-secrets)\n- [CAST AI API Reference](https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fspec\u002Fopenapi.json)\n\n## Next Steps\n\nFor deployment patterns, see `castai-deploy-integration`.\n\n","# CAST AI CI Integration\n\n## Overview\n\nAdd CAST AI cost validation to CI\u002FCD pipelines: verify savings thresholds, validate Terraform plans before apply, and gate deployments on autoscaler health.\n\n## Prerequisites\n\n- GitHub Actions enabled\n- CAST AI API key stored as repository secret\n- Terraform state accessible from CI (if using Terraform)\n\n## Instructions\n\n### Step 1: GitHub Actions -- Savings Gate\n\n```yaml\n# .github\u002Fworkflows\u002Fcastai-check.yml\nname: CAST AI Cost Check\n\non:\n  pull_request:\n    paths: [\"terraform\u002F**\", \"k8s\u002F**\"]\n  schedule:\n    - cron: \"0 8 * * 1\"  # Weekly Monday report\n\njobs:\n  cost-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Check CAST AI Savings\n        env:\n          CASTAI_API_KEY: ${{ secrets.CASTAI_API_KEY }}\n          CASTAI_CLUSTER_ID: ${{ secrets.CASTAI_CLUSTER_ID }}\n        run: |\n          SAVINGS=$(curl -s -H \"X-API-Key: ${CASTAI_API_KEY}\" \\\n            \"https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fkubernetes\u002Fclusters\u002F${CASTAI_CLUSTER_ID}\u002Fsavings\")\n\n          PERCENT=$(echo \"$SAVINGS\" | jq -r '.savingsPercentage')\n          MONTHLY=$(echo \"$SAVINGS\" | jq -r '.monthlySavings')\n\n          echo \"### CAST AI Savings Report\" >> $GITHUB_STEP_SUMMARY\n          echo \"- Monthly savings: \\$${MONTHLY}\" >> $GITHUB_STEP_SUMMARY\n          echo \"- Savings percentage: ${PERCENT}%\" >> $GITHUB_STEP_SUMMARY\n\n          # Fail if savings drop below threshold\n          if (( $(echo \"$PERCENT \u003C 10\" | bc -l) )); then\n            echo \"WARNING: Savings below 10% threshold\"\n            exit 1\n          fi\n\n      - name: Verify Agent Health\n        env:\n          CASTAI_API_KEY: ${{ secrets.CASTAI_API_KEY }}\n          CASTAI_CLUSTER_ID: ${{ secrets.CASTAI_CLUSTER_ID }}\n        run: |\n          STATUS=$(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 -r '.agentStatus')\n\n          if [ \"$STATUS\" != \"online\" ]; then\n            echo \"CAST AI agent is ${STATUS}, expected online\"\n            exit 1\n          fi\n```\n\n### Step 2: Terraform Plan Validation\n\n```yaml\n  terraform-plan:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: hashicorp\u002Fsetup-terraform@v3\n\n      - name: Terraform Init & Plan\n        working-directory: terraform\u002F\n        env:\n          CASTAI_API_TOKEN: ${{ secrets.CASTAI_API_KEY }}\n        run: |\n          terraform init\n          terraform plan -var-file=environments\u002Fprod.tfvars \\\n            -out=plan.tfplan -no-color | tee plan-output.txt\n\n      - name: Check for Destructive Changes\n        run: |\n          if grep -q \"will be destroyed\" terraform\u002Fplan-output.txt; then\n            echo \"DESTRUCTIVE CHANGES DETECTED in CAST AI resources\"\n            exit 1\n          fi\n```\n\n### Step 3: Store Secrets\n\n```bash\ngh secret set CASTAI_API_KEY --body \"your-api-key\"\ngh secret set CASTAI_CLUSTER_ID --body \"your-cluster-id\"\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Secret not found | Missing `gh secret set` | Add secrets to repo |\n| Savings check fails | Cluster not onboarded | Verify cluster ID is correct |\n| Terraform init fails | State backend misconfigured | Check backend config |\n| Agent offline in CI | Key scope mismatch | Use production API key |\n\n## Resources\n\n- [GitHub Actions Secrets](https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\u002Fsecurity-guides\u002Fencrypted-secrets)\n- [CAST AI API Reference](https:\u002F\u002Fapi.cast.ai\u002Fv1\u002Fspec\u002Fopenapi.json)\n\n## Next Steps\n\nFor deployment patterns, see `castai-deploy-integration`.\n\n",{"name":5,"tags":49,"author":53,"license":15,"version":54,"description":55,"allowed-tools":56,"compatible-with":57},[50,51,52,28],"saas","kubernetes","cost-optimization","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Integrate CAST AI policy validation and cost checks into CI\u002FCD pipelines.\nUse when adding CAST AI savings verification to GitHub Actions,\nvalidating Terraform plans, or gating deployments on cost thresholds.\nTrigger with phrases like \"cast ai CI\", \"cast ai github actions\",\n\"cast ai terraform CI\", \"cast ai pipeline\".\n","Read, Write, Edit, Bash(gh:*)","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcastai-ci-integration",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":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill castai-ci-integration",{"tool":73,"command":74},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill castai-ci-integration",{"tool":76,"command":77},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill castai-ci-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcastai-ci-integration\u002FSKILL.md",true,[],[82,94,104,113,119,126],{"skillNo":83,"name":84,"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":85,"categories":86,"keywords":90,"publishedAt":44},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[87],{"categoryNo":88,"categoryName":89,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[91,92,93],"model","model hierarchy","model hierarchy skill",{"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":100,"publishedAt":44},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[99],{"categoryNo":88,"categoryName":89,"taxonomyType":21,"taxonomyTypeDesc":22},[101,102,103],"MCP","zoom","zoom mcp",{"skillNo":105,"name":106,"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":107,"categories":108,"keywords":109,"publishedAt":44},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[110,111,112,102],"sdk","zoom apps sdk","apps",{"skillNo":114,"name":115,"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":116,"categories":117,"keywords":118,"publishedAt":44},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[115],{"skillNo":120,"name":121,"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":122,"categories":123,"keywords":125,"publishedAt":44},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[124],{"categoryNo":88,"categoryName":89,"taxonomyType":21,"taxonomyTypeDesc":22},[121],{"skillNo":127,"name":128,"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":129,"categories":130,"keywords":131,"publishedAt":44},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[128]]