castai-core-workflow-b
БесплатноБез исполняемых скриптовНе проверенEnable CAST AI optimization through a measured canary with explicit node and workload policy boundaries. Use when observation-first onboarding is complete and…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
CAST AI Controlled Optimization Rollout
Overview
Turn recommendations into automation one bounded control at a time. Separate node capacity, vertical workload rightsizing, and horizontal replica control so each has an observable success condition and rollback.
Prerequisites
- A healthy connected cluster and representative cost/workload baseline
- Current scaling policies, node templates, PDBs, HPAs, quotas, and protected namespaces
- A low-risk canary workload with an accountable owner
Instructions
Step 1: Define the control matrix
Use Read and Grep to map Node Autoscaling, Workload Autoscaler vertical mode, horizontal autoscaling, existing HPAs, and external provisioners. Record one owner for each control. Do not transfer HPA ownership implicitly.
Step 2: Set guardrails
Use Write or Edit to define approved node templates, availability zones, instance lifecycle constraints, maximum CPU, workload minimums/maximums, policy assignment, PDB expectations, and rollback thresholds. Do not add the deprecated cluster minimum CPU setting.
Step 3: Preview the change
Use Bash(terraform:) to produce a saved reviewed plan when Terraform owns the configuration. Use Bash(castctl:) only for supported inspection or documented feature operations. Confirm the diff affects the intended cluster and canary only.
Step 4: Enable a workload canary
Choose Immediate mode only when controlled pod replacement is acceptable; the Eviction API will enforce PDBs. Choose Deferred mode when recommendations should apply on natural recreation. If horizontal autoscaling is enabled, review the native autoscaling/v2 HPA configuration and any take-ownership decision.
Step 5: Observe capacity and workload outcomes
Use Bash(kubectl:*) to inspect pending pods, scheduling events, HPA state, pod replacements, PDBs, requests, and node changes. Compare availability, latency, saturation, and spend to the pre-change baseline; do not optimize on cost alone.
Step 6: Expand or roll back
Expand one policy assignment group at a time only after the canary window passes. Roll back automation or policy assignment when error budget, capacity, disruption, or performance thresholds fail, while preserving evidence.
Tool Discipline
Use Read and Grep for ownership and policy evidence. Use Write and Edit for the control matrix and rollback record. Use Bash(terraform:), Bash(castctl:), and Bash(kubectl:*) only inside the approved plan, rollout, and observation boundaries.
Output
- Node/workload/HPA ownership matrix
- Guardrails and canary selection
- Before-and-after availability, capacity, and cost evidence
- Expansion decision or tested rollback receipt
Examples
A stateless deployment starts in Deferred vertical mode with no HPA ownership transfer. A later reviewed change enables policy-managed horizontal scaling after the workload owner approves replica bounds and stabilization behavior.
Error Handling
| Failure | Response |
|---|---|
| PDB blocks Immediate mode | Preserve availability and select Deferred mode or revise with owner approval |
| Pending pods cannot match templates | Roll back and correct template constraints |
| Existing HPA is unexpectedly replaced | Disable managed horizontal scaling and restore declared ownership |
| Cost falls while latency regresses | Roll back; performance guardrails take precedence |
Resources
Установить castai-core-workflow-b в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepWriteEditBash(kubectl:*)Bash(terraform:*)Bash(castctl:*)Вложенные файлы
FAQ
Что делает скилл castai-core-workflow-b?
Enable CAST AI optimization through a measured canary with explicit node and workload policy boundaries. Use when observation-first onboarding is complete and Node Autoscaling, Workload Autoscaling, or managed HPA behavior can be activated. Trigger with: "enable CAST AI automation", "canary CAST AI autoscaling", "apply CAST AI optimization policies".
Как установить скилл castai-core-workflow-b?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл castai-core-workflow-b запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic