# Gke cost analysis

> Gke cost analysis is an open-source agent skill. Answer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation dat. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/google/skills/tree/main/skills/cloud/gke-cost-analysis
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** gke-cost-analysis
- **Collection:** https://github.com/google/skills
- **Listing updated:** 2026-11-17

## About

Answer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics. Use when querying GKE costs across projects, namespaces, or workloads, analyzing billing reports in BigQuery (`bq`), checking cluster cost budgets (`gcloud billing`), or diagnosing cost drivers like pod requests vs. actual utilization (`kubectl top`). Don't use for applying cost optimization changes, creating rightsizing manifests (VPA/MPA), or selecting ComputeClasses (use gke-cost-optimization instead).

## When your agent uses it

> Answer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics. Use when querying GKE costs across projects, namespaces, or workloads, analyzing billing reports in BigQuery (`bq`), checking cluster cost budgets (`gcloud billing`), or diagnosing cost drivers like pod requests vs. actual utilization (`kubectl top`). Don't use for applying cost optimization changes, creating rightsizing manifests (VPA/MPA), or selecting ComputeClasses (use gke-cost-optimization instead).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/google/skills/tree/HEAD/skills/cloud/gke-cost-analysis)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/cloud/gke-cost-analysis)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/gke-cost-analysis` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/gke-cost-analysis &&
cp -R "$tmp/skills/cloud/gke-cost-analysis" ~/.claude/skills/gke-cost-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/gke-cost-analysis` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/gke-cost-analysis` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/gke-cost-analysis &&
cp -R "$tmp/skills/cloud/gke-cost-analysis" ~/.agents/skills/gke-cost-analysis &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/gke-cost-analysis` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/gke-cost-analysis` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/gke-cost-analysis &&
cp -R "$tmp/skills/cloud/gke-cost-analysis" ~/.cursor/skills/gke-cost-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/gke-cost-analysis` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/google/skills.git --path skills/cloud/gke-cost-analysis
```

Or copy the folder to `~/.gemini/skills/gke-cost-analysis` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/gke-cost-analysis`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/gke-cost-analysis &&
cp -R "$tmp/skills/cloud/gke-cost-analysis" ~/.copilot/skills/gke-cost-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/gke-cost-analysis` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/google/skills.git
```

Then copy `skills/skills/cloud/gke-cost-analysis` into your agent's skills folder as `gke-cost-analysis`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Gke cost analysis in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/gke-cost-analysis to use it in all your projects, or to .claude/skills/gke-cost-analysis in one project.

### Does Gke cost analysis run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Gke cost analysis?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/gke-cost-analysis
