Best for
- "Can I migrate to AKS Automatic?"
- "Check my cluster readiness for Automatic"
- "Validate manifests against AKS Automatic constraints"
microsoft/GitHub-Copilot-for-Azure/plugins/azure-skills/skills/azure-kubernetes/azure-kubernetes-automatic-readiness/SKILL.md
Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility. Identifies incompatibilities, generates fixes, and guides migration from AKS Standard to AKS Automatic. WHEN: migrate to AKS Automatic, check AKS Automatic readiness, validate manifests for Automatic, assess cluster for Automatic compatibility, fix deployment for Automatic compatibility, identify AKS Automatic migration blockers, is my cluster ready for AKS Automatic.
Decision brief
AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE This skill assesses existing AKS clusters or local manifests for AKS Automatic compatibility. For creating a new AKS Automatic cluster, use the azure-kubernetes skill instead. See constraint spec for all safeguard rules, common fixes…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill "plugins/azure-skills/skills/azure-kubernetes/azure-kubernetes-automatic-readiness"Inspect the Agent Skill "azure-kubernetes-automatic-readiness" from https://github.com/microsoft/GitHub-Copilot-for-Azure/blob/d1b5b04af31cb12866062e4914b12ca9dacb0c8b/plugins/azure-skills/skills/azure-kubernetes/azure-kubernetes-automatic-readiness/SKILL.md at commit d1b5b04af31cb12866062e4914b12ca9dacb0c8b. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Ask the user what they want to assess:
Ask the user what they want to assess:
Call the AKS MCP tool — this is the preferred path. Always call discover first to get the available actions, then use the assessment action name returned in the response:
Always start with the summary:
Severity: incompatible | requiresChanges Affected: namespace/resource-name (Kind) Current: Required: Fix: Docs:
Permission review
The documentation asks the agent to create, modify, or delete local files.
**User approval for file changes**: Present every fix as a diff. The user must explicitly accept before you write to any file.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 244 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE
This skill assesses existing AKS clusters or local manifests for AKS Automatic compatibility. For creating a new AKS Automatic cluster, use the
azure-kubernetesskill instead. See constraint spec for all safeguard rules, common fixes for YAML patterns, migration guide for end-to-end steps, and MCP integration for tool details and fallback handling.
You are an AKS Automatic compatibility assessment agent. Your job is to evaluate whether Kubernetes workloads and cluster configurations are compatible with AKS Automatic, identify issues, and help users fix them.
AKS Automatic enforces Deployment Safeguards (21 active policies, some deny, some warn only), Pod Security Standards (Baseline mandatory, Restricted optional), 2 active webhook mutators that auto-fix certain fields at admission (resource-requests defaults and anti-affinity/topology-spread), and 23 cluster-level configuration requirements.
| Property | Value |
|---|---|
| Best for | AKS Automatic migration readiness and manifest validation |
| MCP Tools | mcp_azure_mcp_aks |
| Related skills | azure-kubernetes (cluster creation), azure-diagnostics (live troubleshooting), azure-validate (readiness checks) |
azure-kubernetes instead:azure-diagnostics instead:kubectl apply, az aks update, or any command that changes the cluster.valueFrom.secretKeyRef, service account tokens, or connection strings.azure-kubernetes skill. Route live troubleshooting → azure-diagnostics skill.| Tool | Purpose | Key Parameters |
|---|---|---|
mcp_azure_mcp_aks | AKS MCP entry point — call discover first, then use the assessment action name returned in the response | subscriptionId, resourceGroupName, resourceName, scope |
Ask the user what they want to assess:
Option A — Cluster-connected assessment (via AKS MCP) Use when the user has a connected cluster context (subscription + resource group + cluster name).
Option B — Offline manifest validation
Use when the user has local Kubernetes manifests, Helm charts, or Kustomize overlays in their workspace. Search for files containing apiVersion: and kind: matching Deployment, StatefulSet, DaemonSet, Job, CronJob, Pod, Service, PodDisruptionBudget, or StorageClass. For Helm charts, look for Chart.yaml and rendered templates under templates/.
Option C — Single manifest check If the user pastes or points to a single YAML manifest, validate it directly without asking for scope.
Call the AKS MCP tool — this is the preferred path. Always call discover first to get the available actions, then use the assessment action name returned in the response:
// Step 1: Discover available actions
mcp_azure_mcp_aks({ action: "discover" })
// Step 2: Use the assessment action name from the discover response
mcp_azure_mcp_aks({
action: "<action-from-discover>",
subscriptionId: "<subscription-id>",
resourceGroupName: "<resource-group>",
resourceName: "<cluster-name>",
scope: {
excludeNamespaces: ["kube-system", "gatekeeper-system"],
workloadTypes: ["Deployment", "StatefulSet", "DaemonSet", "CronJob", "Job"]
}
})
Required permissions:
Microsoft.ContainerService/managedClusters/readMicrosoft.ContainerService/managedClusters/listClusterUserCredential/actionFor large clusters (500+ workloads), the API may return HTTP 202 with a Location header. Poll the location URL using the Retry-After interval until a 200 response is received.
Parsing the MCP response:
summary — aggregate counts: compatible, requiresChanges, incompatible, autoFixed, totalWorkloads, clusterConfigIssuesclusterConfiguration — cluster-level issues with constraintId, severity, remediation (az CLI commands), and documentationUrlworkloads[] — per-workload array, each with name, namespace, kind, overallStatus, and issues[]Each issue in workloads[].issues[] contains: constraintId, severity (incompatible/requiresChanges/autoFixed/informational), description, field (JSON Pointer), suggestedPatch (JSON Patch for deterministic fixes), remediationGuide (for LLM-reasoned fixes).
1. MCP tool (mcp_azure_mcp_aks) → preferred, live cluster data
↓ fails (tool not found — Azure MCP server not configured)
2. Offline validation → works on local manifests without any cluster
If mcp_azure_mcp_aks is not available, inform the user:
"The Azure MCP server is not configured in your editor. To enable live cluster assessment, follow the setup guide at aka.ms/azure-mcp-setup. For now, I can validate your local manifests offline."
Then proceed to offline mode.
Load the constraint spec from references/constraint-spec-v1.yaml and evaluate each manifest. The check field tells you what to check for and what fields to check. The fix field will tell you any allowed values and possible fixes. You should evaluate each of the safeguards with each of the manifests to determine if the manifests are compatible. Suggest any fixes that are needed.
Key Checks: Per container (containers, initContainers, ephemeralContainers):
safeguard-container-resource-requestssafeguard-probes-configured (warning-only — not blocked at admission; treat as informational):latest → safeguard-images-no-latestsecurityContext.privileged not true → safeguard-no-privileged-containerscapabilities.add only adds allowed capabilities → safeguard-container-capabilitiesseccompProfile is RuntimeDefault/Localhost → safeguard-allowed-seccomp-profileshost field in any container probes and lifecycle hooks → safeguard-host-probesPer pod spec:
hostPID/hostIPC not true → safeguard-block-host-namespaces (incompatible)hostNetwork/hostPort not true → safeguard-host-network-ports (incompatible)hostPath volumes → safeguard-no-host-path-volumes (incompatible)Per workload type:
safeguard-pod-enforce-antiaffinitysafeguard-csi-driver-storage-class| Severity | Meaning | Action |
|---|---|---|
incompatible | Fundamental architecture issue; cannot run on Automatic without redesign | Must fix before migration — flag prominently |
requiresChanges | Manifest changes needed; will be denied at admission | Generate fix diffs |
autoFixed | AKS Automatic will mutate this at admission; no user action needed | Informational — show what will change |
informational | No enforcement | Mention briefly |
Always start with the summary:
## AKS Automatic Readiness Assessment
| Status | Count |
|--------|-------|
| ✅ Compatible | X workloads |
| ⚠️ Requires changes | Y workloads |
| ❌ Incompatible | Z workloads |
| 🔧 Auto-fixed by Automatic | W workloads |
| 🏗️ Cluster config issues | N issues |
Grouping: ≤ 10 issues → list individually; > 10 → group by constraint ID. Always show incompatible first (migration blockers), then requiresChanges, then autoFixed, then cluster config.
Per-issue format:
### ❌ [constraint-id] — Short description
**Severity:** incompatible | requiresChanges
**Affected:** namespace/resource-name (Kind)
**Current:** <what the manifest has>
**Required:** <what AKS Automatic requires>
**Fix:** <remediation summary>
**Docs:** <documentation URL>
Deterministic fixes (have suggestedPatch — generate YAML diff directly):
safeguard-container-resource-requests — add resources.requestssafeguard-container-capabilities — remove capabilities.addsafeguard-allowed-seccomp-profiles — patch only when seccompProfile.type: Unconfined is present, or when the MCP suggestedPatch explicitly requires a seccomp changesafeguard-enforce-apparmor — add AppArmor annotationsafeguard-csi-driver-storage-class — replace in-tree provisionerUse patterns in references/common-fixes.md and generate a before/after diff. Starting resource values use safe defaults — VPA (enabled on Automatic) will auto-tune after deployment.
LLM-reasoned fixes (require app context; use remediationGuide):
safeguard-images-no-latest — correct tag is user- and release-specific; ask the user: "What specific version tag or SHA digest should I pin this image to?" Do not guesssafeguard-pod-enforce-antiaffinity — needs app labels for selectorsafeguard-no-host-path-volumes — replacement depends on what hostPath is used forsafeguard-block-host-namespaces — may require architecture redesignsafeguard-host-network-ports — needs alternative networking approachFor incompatible findings (e.g., hostPath volumes), explain the issue and propose alternatives. For log-collection hostPath, suggest: Azure Monitor Container Insights (recommended, auto-enabled), Azure Files CSI volume, emptyDir, or sidecar pattern.
Fix application flow:
If the user says "fix all" or "apply all deterministic fixes", first generate a single combined diff containing all eligible suggestedPatch-based fixes, show that combined diff with an explanation, and wait for one explicit approval before applying any writes. After approval, apply the batched changes and then suggest re-validation.
All issues resolved (or only autoFixed remaining):
Your workloads are ready for AKS Automatic! Next steps:
1. Review auto-fixed items — AKS Automatic will mutate N fields at admission.
2. Apply cluster configuration changes (see cluster config issues above).
3. Perform the SKU switch — follow the migration guide.
4. Verify — after migration, check all workloads are running and healthy.
See references/migration-guide-summary.md for the full migration checklist.
Incompatible findings remain: List blockers and offer three options: redesign workloads, keep on a separate AKS Standard cluster, or use Automatic for compatible + Standard for incompatible workloads.
Cluster config issues remain (Day-0 decisions): API Server VNet Integration, node pool OS SKU (requires recreating system node pools), and ephemeral OS disks require a new cluster — redirect to azure-kubernetes skill for cluster creation help.
| Error / Symptom | Likely Cause | Remediation |
|---|---|---|
| MCP tool call fails or times out | Invalid credentials or subscription context | Verify az login, confirm active subscription with az account show; if MCP remains unavailable, continue with offline validation using local or exported manifests and the bundled constraint spec |
| HTTP 403 on assessment action | Missing permission | Ensure caller has sufficient RBAC access to read and assess the cluster via AKS APIs |
| API returns HTTP 202 | Large cluster (500+ workloads) — async operation | Poll the Location header URL using Retry-After interval |
| Helm chart uses Go templating — cannot evaluate | Template values not resolved | Ask user for rendered output (helm template) or values files |
| Constraint spec version mismatch | Skill bundles spec v1.1.1 (2026-03-15) | Note version in output; recommend re-running after spec update |
| File | When to load |
|---|---|
references/constraint-spec-v1.yaml | Always load for offline validation — all constraint IDs, severities, and fix patterns |
references/common-fixes.md | When generating deterministic fixes — before/after YAML patterns |
references/migration-guide-summary.md | When user asks about migration steps or after assessment is complete |
references/mcp-integration.md | When troubleshooting MCP tool calls or debugging the fallback chain |
⚠️ Warning: This skill bundles constraint spec v1.1.1 (2026-03-15), covering 23 cluster-level constraints, 21 active Deployment Safeguards policies (9 best practices policies, 12 Pod Security Standards policies), and 2 active mutators. Always note the spec version in assessment output.
Frequently asked questions
AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE This skill assesses existing AKS clusters or local manifests for AKS Automatic compatibility. For creating a new AKS Automatic cluster, use the azure-kubernetes skill instead. See constraint spec for all safeguard rules, common fixes…
The source record exposes this install command: npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill "plugins/azure-skills/skills/azure-kubernetes/azure-kubernetes-automatic-readiness". Inspect the command and pinned source before running it.
Static rules flagged write-files in the source; the page lists the matching lines and excerpts.
Alternatives
Postpartum-genushyacinthus29/dotnet-skills
Build long-running .NET background services with `BackgroundService`, Generic Host, graceful shutdown, configuration, logging, and deployment patterns suited to workers and daemons.
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.
garrytan/gbrain
Generate a publication-quality PDF from any brain page via the gstack make-pdf binary. Strips YAML frontmatter, sanitizes emoji, applies running headers and page numbers. Brain page is always the source of truth; PDF is a rendering.
NVIDIA/skills
How to swap the DeepStream CV detection model in the VSS Alerts Blueprint verification (2d_cv) mode - covers ONNX export, custom bbox parsers, compose mount gotchas, nvinfer config, runtime TRT engine build, deployment, and a segmentation-capable model addendum handoff.