Help us improve
Share bugs, ideas, or general feedback.
From syncable-cli-skills
Analyzes Kubernetes manifests and live cluster metrics to recommend pod right-sizing, estimate costs, detect over-provisioned containers, resource waste, and configuration drift.
npx claudepluginhub syncable-dev/syncable-cli --plugin syncable-cli-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/syncable-cli-skills:syncable-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze K8s manifests and optionally live cluster metrics to recommend resource right-sizing, estimate costs, and detect drift. `--full` adds kubelint + helmlint checks.
Implement cloud cost optimization for Kubernetes using Kubecost, HPA/VPA autoscaling, spot instances, and resource quotas. Use for rising costs, misaligned requests, or showback reporting.
Optimizes Kubernetes costs using CAST AI APIs for spot instance strategies, workload right-sizing, savings analysis, and policy configuration.
Reviews OVHcloud Managed Kubernetes cluster lifecycle, node pool sizing, autoscaling, version upgrades, workload placement, network policies, RBAC, and Terraform IaC for ovh_cloud_project_kube resources.
Share bugs, ideas, or general feedback.
Analyze K8s manifests and optionally live cluster metrics to recommend resource right-sizing, estimate costs, and detect drift. --full adds kubelint + helmlint checks.
| Flag | Purpose |
|---|---|
--agent | Compressed output (always use) |
--cluster [CONTEXT] | Live K8s cluster (current context if omitted) |
--prometheus <URL> | Prometheus for historical metrics |
--namespace <NS> | Target namespace (* for all) |
--period <DURATION> | Metrics period (e.g., 7d, 30d) |
--full | Include kubelint + helmlint |
--cloud-provider {aws|gcp|azure|onprem} | Cost estimation |
--region <REGION> | Pricing region (default: us-east-1) |
--fix | Generate fix suggestions (does NOT modify files) |
--apply | Write fixes to files. Requires --fix. Never use without user confirmation. |
--dry-run | Preview --apply changes |
--severity <LEVEL> | Minimum severity |
--threshold <0-100> | Minimum waste percentage |
sync-ctl optimize <PATH> --agent
Success criteria: JSON output with summary containing recommendation count and estimated savings.
Priority: right-sizing recommendations with savings > critical security findings (from --full) > drift issues > cost breakdown.
Always follow this sequence — never skip dry-run:
sync-ctl optimize <PATH> --fix --dry-run --agent # Preview
# Show user the changes, get explicit confirmation
sync-ctl optimize <PATH> --fix --apply # Apply only after approval
Success criteria: User has seen and approved the dry-run output before --apply.
sync-ctl retrieve <ref_id> --query "severity:high"
sync-ctl retrieve <ref_id> --query "container:my-app"
Available queries: severity:<level>, container:<name>
| Mistake | Fix |
|---|---|
Using --apply without showing dry-run first | Always --fix --dry-run first, confirm, then --fix --apply |
Skipping --cloud-provider when user asks about costs | Cost estimation requires this flag |
| Running live cluster analysis without checking connectivity | Verify kubectl cluster-info first |
| Error | Action |
|---|---|
No Kubernetes manifests found | Run sync-ctl analyze to check for K8s presence |
Cannot connect to cluster | Verify kubectl cluster-info, check context name |
Prometheus unreachable | Verify URL, fall back to static analysis |