kube-agents: Skill for Claude Code

.agents/skills/uninstall-kube-agents/SKILL.md

uninstall-kube-agents is a skill for Claude Code, Codex from gke-labs/kube-agents. It costs 54 tokens per session (1,069 once invoked), scanned C, original, Apache-2.0.

A teardown procedure for removing the Kubernetes Agentic Harness and its related Google Cloud and GKE infrastructure.

In plain words
What is it for?
Uninstalling kube-agents from a Google Cloud project or GKE cluster, including the deployed platform agent, backups, and Terraform-managed resources.
Why use it?
It handles cleanup that a basic infrastructure deletion may miss, such as stuck resources, backups, encryption keys, and cluster deletion protection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is gke-labs/kube-agents's own configuration. It tells Claude Code and Codex how to work on kube-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kube-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gke-labs/kube-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gke-labs/kube-agents/main/.agents/skills/uninstall-kube-agents/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gke-labs/kube-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uninstall-kube-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/gke-labs/kube-agents/uninstall-kube-agents/github.svg)](https://agentmods.dev/skills/gke-labs/kube-agents/uninstall-kube-agents)
Your own site
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/uninstall-kube-agents"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/uninstall-kube-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uninstall-kube-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/uninstall-kube-agents"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/uninstall-kube-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01069
Opus 5.5 $0.00022 $0.00428
Sonnet 5.5 $0.00011 $0.00214
Haiku 4.5 $0.00005 $0.00107

Measured 6d ago against content hash 8b2d389ee76c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

uninstall-kube-agents scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<RELEASE_VERSION>/uninstall.sh | bash -s -- \

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<RELEASE_VERSION>/uninstall.sh | bash -s -- \
.agents/skills/uninstall-kube-agents/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Uninstall Kubernetes Agentic Harness (kube-agents)

Use this skill when asked to remove or uninstall kube-agents infrastructure from a GCP project or GKE cluster.

One-Liner Uninstall Command (Non-Interactive)

To run the project teardown non-interactively, use the uninstall.sh published for the release the install runs, substituting <RELEASE_VERSION> with a release tag from GitHub Releases. The release-pinned script tears the install down with its own release's engine; a copy carrying no baked version falls back to the engine on main, which is not the one that built the install:

curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<RELEASE_VERSION>/uninstall.sh | bash -s -- \
  --non-interactive \
  --gcp-project-id="<PROJECT_ID>" \
  --gke-cluster-name="<CLUSTER_NAME>" \
  --gcp-region="<REGION>"

On a GitLab install, the installer creates the token Secret, and the CA Secret for a private CA, outside the Helm release. A teardown that deletes the cluster deletes them too. On a cluster that the teardown keeps, tell the operator that the Secrets stay, and give the command in "What a teardown leaves" on the site's uninstall page (docs/site/src/content/docs/install/uninstall.md), or tell the operator to delete the namespace. That command sources the install's install.env in a subshell, the same way the installer reads it, so renamed Secrets or a non-default namespace are found. Then tell the operator to revoke the token in GitLab, and the read-only token too, if the operator made one.

The installer finds install.env in this order: KUBE_AGENTS_INSTALL_ENV, beside install.sh, in the current directory, then the source directory ($HOME/kube-agents under curl … | bash).

Also tell the operator to revoke the token in GitLab, and the read-only token too, if the operator made one.

The engine is lifecycle.sh destroy in terraform/examples/full-install, run against the install's Terraform state in GCS (bucket <project>-kube-agents-tfstate, prefix kube-agents/<cluster> — derived from the coordinates, so a fresh clone finds it). Before terraform destroy it handles the asymmetries a bare destroy trips over: it forgets the undeletable KMS resources from state (kept usable in GCP, re-adopted on the next apply), deletes the PlatformAgent CR and force-clears its finalizer if the operator is wedged, uninstalls the Helm releases with the helm CLI on a cluster the install did not create, purges every backup the GKE BackupPlan owns, and clears the cluster's deletion protection.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +2 lines 8b2d389ee76c
  2. 12d ago Changed · +13 lines b3cb81b29bfd
  3. 21d ago Changed · +6 lines bf66df770432
  4. 28d ago Changed · +5 lines 08e56d1c944a
  5. 1mo ago Changed · +32 tokens per session 219b9fe6b1b4
  6. 1mo ago Changed 1ce96a51c689
  7. 1mo ago First seen · 47 lines · 22 tokens per session scan C 64a2182147a6

Subscribe to this mod's changes

uninstall-kube-agents is a skill published in the GitHub repository gke-labs/kube-agents (116 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 1,069 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens