[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M720W2E8XWSP78RDKS997WEC":3,"skill-same:01M720W2E8XWSP78RDKS997WEC":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M720W2E8XWSP78RDKS997WEC","gcp-config-connector",null,"Authors Config Connector (KCC) manifests for Google Cloud resource changes and hands them to submit-suggestion as a pull request under the GitOps repository's clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F path. Use when a request creates or changes a GKE cluster or node pool (create, grow, autoscale, adopt), a Cloud SQL instance (add a read replica, resize), or a VPC firewall rule on an install whose GitOps repository holds Config Connector YAML. Decides create versus acquire read-only, validates every field with kubectl explain against the customer's CRDs, and never applies. Don't use for Kubernetes workload manifests (use gke-manifest-generation) or Terraform HCL (use gcp-terraform).","gke-labs\u002Fkube-agents","gke-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197140281?v=4","01M720MEZR8K6WD2WTHNQE346Q","01M720MF0BRA9RGH1QVT4J0M0E",126,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: gcp-config-connector\ndescription: >-\n  Authors Config Connector (KCC) manifests for Google Cloud resource changes\n  and hands them to submit-suggestion as a pull request under the GitOps\n  repository's clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F path. Use when a request\n  creates or changes a GKE cluster or node pool (create, grow, autoscale,\n  adopt), a Cloud SQL\n  instance (add a read replica, resize), or a VPC firewall rule on an install\n  whose GitOps repository holds Config Connector YAML. Decides create versus\n  acquire read-only, validates every field with kubectl explain against the\n  customer's CRDs, and never applies. Don't use for Kubernetes workload\n  manifests (use gke-manifest-generation) or Terraform HCL (use gcp-terraform).\n---\n\n# Config Connector (KCC) Authoring\n\nOn a repository that keeps its Google Cloud resources as Config Connector\nYAML, a change leaves this agent as a manifest in the GitOps repository,\nreviewed by a human and applied by the customer's reconciler (a repository\nthat keeps them as Terraform gets the `gcp-terraform` skill instead). This skill writes that manifest. It reads the cluster\nand the cloud project to decide what to write, validates the result against\nthe CRDs the customer actually runs, and opens the pull request through\n**submit-suggestion**. Nothing here mutates a cluster or a project, and the\ncommand policy refuses the verbs that would.\n\n## When to Use\n\n- **A new GKE cluster or node pool, or a change to one** — create a cluster\n  someone asked for, grow or shrink a pool, turn on autoscaling, change a\n  release channel or maintenance window, adopt a cluster the repo does not\n  yet describe. A new cluster is a create like any other: this skill, not a\n  `gcloud` or `gke` MCP create, is how it reaches the project.\n- **A Cloud SQL change** — add a read replica, change a tier, enable backups\n  or high availability.\n- **A VPC firewall rule** — open or close a port, narrow a source range,\n  disable a rule, turn on logging.\n- **Adopting a resource** that exists in Google Cloud but has no manifest in\n  the repository (acquisition).\n\n## When NOT to Use\n\n- **Kubernetes workloads** (Deployments, Services, NetworkPolicies): the\n  `gke-manifest-generation` skill.\n- **A repository whose `provisioning\u002F` holds Terraform HCL** rather than KCC\n  YAML: the `gcp-terraform` skill. This skill authors KRM only.\n- **Kinds outside the families catalogued in `references\u002F`.** Other Config\n  Connector kinds follow the same annotations and workflow, but their\n  immutable fields are not catalogued here; validate every field with\n  `kubectl explain` and say in the PR body that the kind is outside the\n  catalogued set.\n- **Fixing a fleet-audit finding**: the `fleet-audit` skill opens that PR.\n\n## Prerequisites (the customer's, not yours)\n\nConfig Connector is a customer platform decision. Never propose installing\nor enabling it; state the missing piece and stop.\n\n1. **The CRDs are installed on a cluster your kubeconfig reaches.** The\n   check is `kubectl get crd \u003Ckind-plural>.\u003Cgroup>.cnrm.cloud.google.com`\n   (Step 1). No CRD means no schema to validate against and no controller to\n   reconcile the manifest. Stop with: \"Config Connector is not installed on\n   `\u003Ccontext>`; this change needs a KCC-enabled cluster before I can author\n   it.\"\n2. **The repository has a KCC path.** `clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F`\n   in the reference layout, holding YAML with `cnrm.cloud.google.com`\n   apiVersions. If the repo has no such directory and the user has not named\n   one, ask rather than invent a layout.\n3. **A namespace bound to a project.** The sibling manifests carry either a\n   `cnrm.cloud.google.com\u002Fproject-id` annotation on each resource or on the\n   namespace (`ConfigConnectorContext`). Copy what the siblings do.\n4. **Read access to the `cnrm.cloud.google.com` API groups** for the\n   create-versus-acquire check. Which identity answers depends on where the\n   KCC objects live: on the management cluster reached in-cluster, the\n   read-only ClusterRole the operator ships grants none of those groups, so\n   `kubectl auth can-i` says `no`; on a separate hub reached through\n   `get-credentials`, the Google service account's IAM permission set\n   decides, and the default `read-only` set's cluster-viewer role does read\n   custom resources. Either way a `no` is a fact to report, not an absence\n   to infer from.\n\n## Workflow\n\n### Step 1: Check for Config Connector, then open the repository\n\nThe CRD check comes first because it needs no repository and is the stop\nyou hit most often:\n\n```bash\nkubectl get crd containernodepools.container.cnrm.cloud.google.com\n```\n\nNot found is prerequisite 1 unmet: stop with the message there, before\nanything is opened. With the CRD present, open the repository with\n**submit-suggestion** `prepare` (its Step 1). It needs the branch name up\nfront, and the convention for this skill is `platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>`,\nthe same branch Step 5 submits on. Then list what is already under\n`provisioning\u002F`:\n\n```bash\npython3 \"$HERMES_HOME\"\u002Fskills\u002Fsubmit-suggestion\u002Fscripts\u002Fsubmit_suggestion.py prepare \\\n  --repo \"\u003Cowner>\u002F\u003Crepo>\" --branch \"platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>\"\n```\n\nWhat it prints is one JSON line, and its `workspace` is a real working copy of\nthe repository on this filesystem — so the reads are `ls` and `cat`, with no\nsecond tool and no network:\n\n```bash\nls \u003Cworkspace>\u002Fclusters\u002F\u003Ccluster>\u002Fprovisioning\ncat \u003Cworkspace>\u002Fclusters\u002F\u003Ccluster>\u002Fprovisioning\u002F\u003Csibling>.yaml\n```\n\nFrom a sibling manifest take the `metadata.namespace`, how the project is bound,\nthe label conventions, and one file per resource or one per kind. A manifest\nfor the resource you were asked to change may already be there; then the\nchange is an edit to that file, and Step 2's answer is \"edit\".\n\n**Stopping before Step 5 leaves nothing to clean up.** The copy is on this\nfilesystem, not on the credential broker, and nothing on the forge's side is\nheld open by having read it. Stop where you need to — a stop or a question\nfrom Step 2's table, an immutable field in Step 3, a CRD Step 4 finds missing\n— and when the user answers and the work resumes, run `prepare` again.\nTerraform HCL under `provisioning\u002F` is not a stop here but `gcp-terraform`'s:\nswitch to it. If it refuses because the copy holds revisions\nthat were never published, that is an earlier run's work: read the refusal\nbefore reaching for `--force`.\n\n### Step 2: Decide create, acquire, or edit — read-only\n\nConfig Connector acquires an existing Google Cloud resource when a new\nmanifest's name (or `spec.resourceID`) matches it, and creates one when\nnothing matches. A create manifest for a resource that exists silently adopts\nit after merge; an acquisition manifest whose stated immutable fields differ\nfrom the live resource fails in `status.conditions` with `cannot make changes\nto immutable field(s)`. Decide before you write, and say which in the PR body.\n\nCheck permission before the object read, so a `Forbidden` is reported as\nsuch rather than mistaken for \"not there\":\n\n```bash\nkubectl auth can-i get containernodepools.container.cnrm.cloud.google.com -n \u003Cnamespace>\nkubectl get containernodepool \u003Cname> -n \u003Cnamespace> -o yaml\n```\n\nThen the live resource, with the reads the command policy allows:\n\n```bash\ngcloud container clusters describe \u003Ccluster> --location \u003Clocation> --project \u003Cproject> --format=json\ngcloud container node-pools describe \u003Cpool> --cluster \u003Ccluster> --location \u003Clocation> --project \u003Cproject> --format=json\ngcloud compute firewall-rules describe \u003Crule> --project \u003Cproject> --format=json\n```\n\n| Manifest in repo | KCC object in cluster | Resource in Google Cloud | Decision                                                                 |\n| ---------------- | --------------------- | ------------------------ | ------------------------------------------------------------------------ |\n| yes              | any                   | any                      | **Edit** that file. Touch only the fields the request needs.             |\n| no               | yes                   | yes                      | **Stop.** Something outside the repo manages it; report the object.      |\n| no               | yes                   | no                       | **Stop.** A failed or in-flight create; report its `status.conditions`.  |\n| no               | no                    | yes                      | **Acquire.** `references\u002Facquisition.md`.                                |\n| no               | no                    | no                       | **Create.**                                                              |\n| no               | forbidden \u002F no KCC    | unknown                  | Report what you could not read. Ask the user which it is; do not assume. |\n\n`gcloud sql` has no entry on the read allowlist. For a `SQLInstance` the\nin-cluster object is the only read you have; when that is forbidden or\nabsent, ask the user to confirm whether the instance exists rather than\nguessing (`references\u002Fsql.md`).\n\n### Step 3: Author the manifest\n\n- **apiVersion `v1beta1`** of the kind's group; per-family details in\n  `references\u002F`.\n- **`metadata.namespace`**: the siblings' namespace. Never `default`, never a\n  namespace you did not see in the repo.\n- **Annotations on every manifest** (`references\u002Facquisition.md` explains\n  each):\n  - `cnrm.cloud.google.com\u002Fdeletion-policy: abandon` — a pruned or deleted\n    manifest detaches the resource instead of destroying it.\n  - `cnrm.cloud.google.com\u002Fstate-into-spec: absent` — Config Connector\n    leaves fields the manifest omits under external management instead of\n    writing live state back into `spec`, which a pull reconciler would read\n    as drift.\n  - `cnrm.cloud.google.com\u002Fproject-id: \u003Cproject>` when the siblings set it\n    per resource; omit it when they rely on the namespace binding.\n- **Acquisition adds** an explicit `spec.resourceID` equal to the Google\n  Cloud resource name, and every immutable field it does state is copied\n  from the live resource so the spec matches what exists.\n- **Write the fields the request needs plus the required ones, nothing\n  else.** An omitted field stays externally managed; a copied default becomes\n  a managed field the next reviewer has to reason about.\n- **Immutable fields are the line.** If the request can only be met by\n  changing one (a machine type, a region, a firewall's network), the answer\n  is replacement, not an edit: say so, name the field, and stop for the\n  user's decision. Never author a replacement unasked.\n- **Names**: Kubernetes names in `metadata.name`; a Google Cloud name that\n  is not a valid Kubernetes name goes in `spec.resourceID`.\n\n### Step 4: Validate against the customer's CRDs\n\nServer-side dry-run is a write from the API server's point of view: it needs\nwrite RBAC the platform role lacks, and the command policy refuses `apply`,\n`create`, and `diff` regardless. Validate with the schema instead:\n\n```bash\nkubectl explain containernodepool --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\nkubectl explain containernodepool.spec.autoscaling --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\nkubectl explain containernodepool.spec.autoscaling.totalMaxNodeCount --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\n```\n\n- Run `explain` on the kind and on **every** `spec.\u003Cpath>` you wrote. A path\n  the CRD does not have is a field the customer's Config Connector version\n  does not know; drop or rename it, do not ship it.\n- A description that begins `Immutable.` marks an immutable field. That is\n  the authority over the lists in `references\u002F`, which were written against\n  one version of the CRDs.\n- `explain` reads discovery, which every authenticated user has, so it works\n  even where `auth can-i get` said `no`.\n- A missing CRD (`explain` reports the resource is not found) is prerequisite\n  1 unmet: stop with the message there.\n\n### Step 5: Hand off as a pull request\n\nWrite the manifest into the workspace at\n`clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F\u003Ckind>-\u003Cname>.yaml`\nunless the siblings use another convention. A new `ContainerCluster` goes\nwhere the repository already keeps `ContainerCluster` manifests; if it keeps\nnone, ask which path, rather than inventing one. Then submit it through\n**submit-suggestion** with branch `platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>`. Use\nthis shape for the `--body-file` document, after the skill's standard header,\nand pass the `--evidence-file` its Step 3 requires:\n\n```\n### Config Connector change\n- **Decision:** create | acquire | edit — and the reads that decided it\n  (object present\u002Fabsent, the `describe` result, or \"user confirmed\").\n- **Resource:** \u003Ckind> `\u003Cname>` in project `\u003Cproject>`, location `\u003Clocation>`.\n- **Immutable fields touched:** none | \u003Cfield> (this PR proposes replacement; see below).\n- **Validated:** `kubectl explain` on \u003Ckind> and \u003Cn> spec paths against the CRDs on `\u003Ccontext>`.\n- **Not run here:** `kubectl apply --dry-run=server`. The agent is read-only; run it on the\n  KCC cluster before merging, or let CI do it.\n- **After merge:** the reconciler applies; KCC reports readiness in the object's `status.conditions`.\n```\n\nRecord the PR URL for the user. Addressing review feedback follows\n**submit-suggestion** Step 5.\n\n## Red Lines\n\n- No `kubectl apply`, `create`, `patch`, `edit`, `delete`, `diff`, or any\n  `--dry-run=server`; no mutating `gcloud`. The command policy refuses them\n  and a refusal is not a retry prompt.\n- Never set `deletion-policy` to `none` or remove the annotation. Deleting a\n  resource is a human's PR that flips it deliberately.\n- Never delete a manifest under `provisioning\u002F` to \"recreate\" a resource.\n- Never fill in a project, namespace, network, or location you did not read\n  from the repository, the cluster, or the user.\n- Never propose enabling Config Connector, granting its IAM, or creating a\n  `ConfigConnectorContext`.\n\n## References\n\n- **[Acquisition and annotations](references\u002Facquisition.md)**: how Config\n  Connector matches a manifest to an existing resource, what each annotation\n  does, and the immutable-field failure modes.\n- **[ContainerCluster and ContainerNodePool](references\u002Fcontainer.md)**:\n  fields, immutables, `describe`-to-spec mapping, create and acquire examples.\n- **[SQLInstance](references\u002Fsql.md)**: read replicas, tier changes, the\n  missing `gcloud sql` read, create and acquire examples.\n- **[ComputeFirewall](references\u002Fcompute-firewall.md)**: rule shape,\n  immutables, `describe`-to-spec mapping, create and acquire examples.\n","# Config Connector (KCC) Authoring\n\nOn a repository that keeps its Google Cloud resources as Config Connector\nYAML, a change leaves this agent as a manifest in the GitOps repository,\nreviewed by a human and applied by the customer's reconciler (a repository\nthat keeps them as Terraform gets the `gcp-terraform` skill instead). This skill writes that manifest. It reads the cluster\nand the cloud project to decide what to write, validates the result against\nthe CRDs the customer actually runs, and opens the pull request through\n**submit-suggestion**. Nothing here mutates a cluster or a project, and the\ncommand policy refuses the verbs that would.\n\n## When to Use\n\n- **A new GKE cluster or node pool, or a change to one** — create a cluster\n  someone asked for, grow or shrink a pool, turn on autoscaling, change a\n  release channel or maintenance window, adopt a cluster the repo does not\n  yet describe. A new cluster is a create like any other: this skill, not a\n  `gcloud` or `gke` MCP create, is how it reaches the project.\n- **A Cloud SQL change** — add a read replica, change a tier, enable backups\n  or high availability.\n- **A VPC firewall rule** — open or close a port, narrow a source range,\n  disable a rule, turn on logging.\n- **Adopting a resource** that exists in Google Cloud but has no manifest in\n  the repository (acquisition).\n\n## When NOT to Use\n\n- **Kubernetes workloads** (Deployments, Services, NetworkPolicies): the\n  `gke-manifest-generation` skill.\n- **A repository whose `provisioning\u002F` holds Terraform HCL** rather than KCC\n  YAML: the `gcp-terraform` skill. This skill authors KRM only.\n- **Kinds outside the families catalogued in `references\u002F`.** Other Config\n  Connector kinds follow the same annotations and workflow, but their\n  immutable fields are not catalogued here; validate every field with\n  `kubectl explain` and say in the PR body that the kind is outside the\n  catalogued set.\n- **Fixing a fleet-audit finding**: the `fleet-audit` skill opens that PR.\n\n## Prerequisites (the customer's, not yours)\n\nConfig Connector is a customer platform decision. Never propose installing\nor enabling it; state the missing piece and stop.\n\n1. **The CRDs are installed on a cluster your kubeconfig reaches.** The\n   check is `kubectl get crd \u003Ckind-plural>.\u003Cgroup>.cnrm.cloud.google.com`\n   (Step 1). No CRD means no schema to validate against and no controller to\n   reconcile the manifest. Stop with: \"Config Connector is not installed on\n   `\u003Ccontext>`; this change needs a KCC-enabled cluster before I can author\n   it.\"\n2. **The repository has a KCC path.** `clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F`\n   in the reference layout, holding YAML with `cnrm.cloud.google.com`\n   apiVersions. If the repo has no such directory and the user has not named\n   one, ask rather than invent a layout.\n3. **A namespace bound to a project.** The sibling manifests carry either a\n   `cnrm.cloud.google.com\u002Fproject-id` annotation on each resource or on the\n   namespace (`ConfigConnectorContext`). Copy what the siblings do.\n4. **Read access to the `cnrm.cloud.google.com` API groups** for the\n   create-versus-acquire check. Which identity answers depends on where the\n   KCC objects live: on the management cluster reached in-cluster, the\n   read-only ClusterRole the operator ships grants none of those groups, so\n   `kubectl auth can-i` says `no`; on a separate hub reached through\n   `get-credentials`, the Google service account's IAM permission set\n   decides, and the default `read-only` set's cluster-viewer role does read\n   custom resources. Either way a `no` is a fact to report, not an absence\n   to infer from.\n\n## Workflow\n\n### Step 1: Check for Config Connector, then open the repository\n\nThe CRD check comes first because it needs no repository and is the stop\nyou hit most often:\n\n```bash\nkubectl get crd containernodepools.container.cnrm.cloud.google.com\n```\n\nNot found is prerequisite 1 unmet: stop with the message there, before\nanything is opened. With the CRD present, open the repository with\n**submit-suggestion** `prepare` (its Step 1). It needs the branch name up\nfront, and the convention for this skill is `platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>`,\nthe same branch Step 5 submits on. Then list what is already under\n`provisioning\u002F`:\n\n```bash\npython3 \"$HERMES_HOME\"\u002Fskills\u002Fsubmit-suggestion\u002Fscripts\u002Fsubmit_suggestion.py prepare \\\n  --repo \"\u003Cowner>\u002F\u003Crepo>\" --branch \"platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>\"\n```\n\nWhat it prints is one JSON line, and its `workspace` is a real working copy of\nthe repository on this filesystem — so the reads are `ls` and `cat`, with no\nsecond tool and no network:\n\n```bash\nls \u003Cworkspace>\u002Fclusters\u002F\u003Ccluster>\u002Fprovisioning\ncat \u003Cworkspace>\u002Fclusters\u002F\u003Ccluster>\u002Fprovisioning\u002F\u003Csibling>.yaml\n```\n\nFrom a sibling manifest take the `metadata.namespace`, how the project is bound,\nthe label conventions, and one file per resource or one per kind. A manifest\nfor the resource you were asked to change may already be there; then the\nchange is an edit to that file, and Step 2's answer is \"edit\".\n\n**Stopping before Step 5 leaves nothing to clean up.** The copy is on this\nfilesystem, not on the credential broker, and nothing on the forge's side is\nheld open by having read it. Stop where you need to — a stop or a question\nfrom Step 2's table, an immutable field in Step 3, a CRD Step 4 finds missing\n— and when the user answers and the work resumes, run `prepare` again.\nTerraform HCL under `provisioning\u002F` is not a stop here but `gcp-terraform`'s:\nswitch to it. If it refuses because the copy holds revisions\nthat were never published, that is an earlier run's work: read the refusal\nbefore reaching for `--force`.\n\n### Step 2: Decide create, acquire, or edit — read-only\n\nConfig Connector acquires an existing Google Cloud resource when a new\nmanifest's name (or `spec.resourceID`) matches it, and creates one when\nnothing matches. A create manifest for a resource that exists silently adopts\nit after merge; an acquisition manifest whose stated immutable fields differ\nfrom the live resource fails in `status.conditions` with `cannot make changes\nto immutable field(s)`. Decide before you write, and say which in the PR body.\n\nCheck permission before the object read, so a `Forbidden` is reported as\nsuch rather than mistaken for \"not there\":\n\n```bash\nkubectl auth can-i get containernodepools.container.cnrm.cloud.google.com -n \u003Cnamespace>\nkubectl get containernodepool \u003Cname> -n \u003Cnamespace> -o yaml\n```\n\nThen the live resource, with the reads the command policy allows:\n\n```bash\ngcloud container clusters describe \u003Ccluster> --location \u003Clocation> --project \u003Cproject> --format=json\ngcloud container node-pools describe \u003Cpool> --cluster \u003Ccluster> --location \u003Clocation> --project \u003Cproject> --format=json\ngcloud compute firewall-rules describe \u003Crule> --project \u003Cproject> --format=json\n```\n\n| Manifest in repo | KCC object in cluster | Resource in Google Cloud | Decision                                                                 |\n| ---------------- | --------------------- | ------------------------ | ------------------------------------------------------------------------ |\n| yes              | any                   | any                      | **Edit** that file. Touch only the fields the request needs.             |\n| no               | yes                   | yes                      | **Stop.** Something outside the repo manages it; report the object.      |\n| no               | yes                   | no                       | **Stop.** A failed or in-flight create; report its `status.conditions`.  |\n| no               | no                    | yes                      | **Acquire.** `references\u002Facquisition.md`.                                |\n| no               | no                    | no                       | **Create.**                                                              |\n| no               | forbidden \u002F no KCC    | unknown                  | Report what you could not read. Ask the user which it is; do not assume. |\n\n`gcloud sql` has no entry on the read allowlist. For a `SQLInstance` the\nin-cluster object is the only read you have; when that is forbidden or\nabsent, ask the user to confirm whether the instance exists rather than\nguessing (`references\u002Fsql.md`).\n\n### Step 3: Author the manifest\n\n- **apiVersion `v1beta1`** of the kind's group; per-family details in\n  `references\u002F`.\n- **`metadata.namespace`**: the siblings' namespace. Never `default`, never a\n  namespace you did not see in the repo.\n- **Annotations on every manifest** (`references\u002Facquisition.md` explains\n  each):\n  - `cnrm.cloud.google.com\u002Fdeletion-policy: abandon` — a pruned or deleted\n    manifest detaches the resource instead of destroying it.\n  - `cnrm.cloud.google.com\u002Fstate-into-spec: absent` — Config Connector\n    leaves fields the manifest omits under external management instead of\n    writing live state back into `spec`, which a pull reconciler would read\n    as drift.\n  - `cnrm.cloud.google.com\u002Fproject-id: \u003Cproject>` when the siblings set it\n    per resource; omit it when they rely on the namespace binding.\n- **Acquisition adds** an explicit `spec.resourceID` equal to the Google\n  Cloud resource name, and every immutable field it does state is copied\n  from the live resource so the spec matches what exists.\n- **Write the fields the request needs plus the required ones, nothing\n  else.** An omitted field stays externally managed; a copied default becomes\n  a managed field the next reviewer has to reason about.\n- **Immutable fields are the line.** If the request can only be met by\n  changing one (a machine type, a region, a firewall's network), the answer\n  is replacement, not an edit: say so, name the field, and stop for the\n  user's decision. Never author a replacement unasked.\n- **Names**: Kubernetes names in `metadata.name`; a Google Cloud name that\n  is not a valid Kubernetes name goes in `spec.resourceID`.\n\n### Step 4: Validate against the customer's CRDs\n\nServer-side dry-run is a write from the API server's point of view: it needs\nwrite RBAC the platform role lacks, and the command policy refuses `apply`,\n`create`, and `diff` regardless. Validate with the schema instead:\n\n```bash\nkubectl explain containernodepool --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\nkubectl explain containernodepool.spec.autoscaling --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\nkubectl explain containernodepool.spec.autoscaling.totalMaxNodeCount --api-version=container.cnrm.cloud.google.com\u002Fv1beta1\n```\n\n- Run `explain` on the kind and on **every** `spec.\u003Cpath>` you wrote. A path\n  the CRD does not have is a field the customer's Config Connector version\n  does not know; drop or rename it, do not ship it.\n- A description that begins `Immutable.` marks an immutable field. That is\n  the authority over the lists in `references\u002F`, which were written against\n  one version of the CRDs.\n- `explain` reads discovery, which every authenticated user has, so it works\n  even where `auth can-i get` said `no`.\n- A missing CRD (`explain` reports the resource is not found) is prerequisite\n  1 unmet: stop with the message there.\n\n### Step 5: Hand off as a pull request\n\nWrite the manifest into the workspace at\n`clusters\u002F\u003Ccluster>\u002Fprovisioning\u002F\u003Ckind>-\u003Cname>.yaml`\nunless the siblings use another convention. A new `ContainerCluster` goes\nwhere the repository already keeps `ContainerCluster` manifests; if it keeps\nnone, ask which path, rather than inventing one. Then submit it through\n**submit-suggestion** with branch `platform-agent\u002Fkcc-\u003Ckind>-\u003Cname>`. Use\nthis shape for the `--body-file` document, after the skill's standard header,\nand pass the `--evidence-file` its Step 3 requires:\n\n```\n### Config Connector change\n- **Decision:** create | acquire | edit — and the reads that decided it\n  (object present\u002Fabsent, the `describe` result, or \"user confirmed\").\n- **Resource:** \u003Ckind> `\u003Cname>` in project `\u003Cproject>`, location `\u003Clocation>`.\n- **Immutable fields touched:** none | \u003Cfield> (this PR proposes replacement; see below).\n- **Validated:** `kubectl explain` on \u003Ckind> and \u003Cn> spec paths against the CRDs on `\u003Ccontext>`.\n- **Not run here:** `kubectl apply --dry-run=server`. The agent is read-only; run it on the\n  KCC cluster before merging, or let CI do it.\n- **After merge:** the reconciler applies; KCC reports readiness in the object's `status.conditions`.\n```\n\nRecord the PR URL for the user. Addressing review feedback follows\n**submit-suggestion** Step 5.\n\n## Red Lines\n\n- No `kubectl apply`, `create`, `patch`, `edit`, `delete`, `diff`, or any\n  `--dry-run=server`; no mutating `gcloud`. The command policy refuses them\n  and a refusal is not a retry prompt.\n- Never set `deletion-policy` to `none` or remove the annotation. Deleting a\n  resource is a human's PR that flips it deliberately.\n- Never delete a manifest under `provisioning\u002F` to \"recreate\" a resource.\n- Never fill in a project, namespace, network, or location you did not read\n  from the repository, the cluster, or the user.\n- Never propose enabling Config Connector, granting its IAM, or creating a\n  `ConfigConnectorContext`.\n\n## References\n\n- **[Acquisition and annotations](references\u002Facquisition.md)**: how Config\n  Connector matches a manifest to an existing resource, what each annotation\n  does, and the immutable-field failure modes.\n- **[ContainerCluster and ContainerNodePool](references\u002Fcontainer.md)**:\n  fields, immutables, `describe`-to-spec mapping, create and acquire examples.\n- **[SQLInstance](references\u002Fsql.md)**: read replicas, tier changes, the\n  missing `gcloud sql` read, create and acquire examples.\n- **[ComputeFirewall](references\u002Fcompute-firewall.md)**: rule shape,\n  immutables, `describe`-to-spec mapping, create and acquire examples.\n",{"name":5,"description":7},"main","4544e0540d35535c4b9deb47d6f77abda58fee1b","agents\u002Fplatform\u002Fskills\u002Fgcp-config-connector",44,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents","https:\u002F\u002Fgke-labs.github.io\u002Fkube-agents\u002F","https:\u002F\u002Fgithub.com\u002Fgke-labs","2026-11-14 20:53:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add gke-labs\u002Fkube-agents --skill gcp-config-connector",{"tool":37,"command":38},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill gcp-config-connector",{"tool":40,"command":41},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill gcp-config-connector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002FSKILL.md",true,[45,51,55,59],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Facquisition.md","REFERENCE","参考文档",9222,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002Freferences\u002Facquisition.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcompute-firewall.md",6688,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002Freferences\u002Fcompute-firewall.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcontainer.md",10809,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002Freferences\u002Fcontainer.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fsql.md",5478,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgcp-config-connector\u002Freferences\u002Fsql.md",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M72168JZM6CYRZFWW204PA2V","gke-workload-troubleshooting","Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-troubleshooting\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","gke-workload-security","Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-security\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M721618QGFKZRWHS0RFVG7WT","gke-workload-scaling","Manages scaling for GKE workloads using HPA and VPA. Use when configuring Horizontal Pod Autoscaler (HPA), configuring Vertical Pod Autoscaler (VPA), or applying best practices for GKE workload autoscaling. Do not use for cluster-level autoscaling (Cluster Autoscaler), static cluster sizing, or configuring node-level machine styles directly.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-scaling\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7215WA1TNFDZE22VJEN3XXW","gke-workload-identity","Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 \"iam.serviceAccounts.getAccessToken\" \u002F permission denied, \"could not find default credentials\", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA\u002FGSA bindings (`roles\u002Fiam.workloadIdentityUser`, `iam.gke.io\u002Fgcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-identity\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7215PJTBTZ0W15ZZ2W32FF9","gke-upgrades","Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre\u002Fpost-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like \"we need to upgrade our clusters\" or \"plan our next GKE maintenance\" or \"our upgrade is stuck.\" Don't use for GKE cluster creation, application onboarding, general networking\u002Frouting setup, or security policy configurations (use gke-basics or relevant GKE skills instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-upgrades\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7215JX0FBZBTG4570CJ20HS","gke-tpu-metrics-monitoring","Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. Use when monitoring TensorCore duty cycle, TPU memory, node readiness, multi-host TPU node pool availability, host maintenance or preemption interruptions, and calculating MTTR or MTBI metrics for GKE TPUs. Don't use for general non-TPU GKE workload monitoring or non-metric TPU debugging.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-tpu-metrics-monitoring\u002FSKILL.md",[],[]]