tpu_performance_autoresearch_wiki: Skill for Claude Code

.claude/skills/scan-gke-clusters/SKILL.md

scan-gke-clusters is a skill for Claude Code from vlasenkoalexey/tpu_performance_autoresearch_wiki. It costs 192 tokens per session (3,144 once invoked), scanned A, original, MIT.

A tool for refreshing an inventory of Google Kubernetes Engine clusters that contain TPUs, specialized chips used for machine-learning workloads, across Google Cloud projects.

In plain words
What is it for?
Use it to record cluster status, ready-node counts, TPU setup, topology, and machine types in Markdown files. It is not for checking live free capacity.
Why use it?
It keeps cluster details up to date when nodes, setup, or cluster configuration changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; positional $N argument.

This is vlasenkoalexey/tpu_performance_autoresearch_wiki's own configuration. It tells Claude Code how to work on tpu_performance_autoresearch_wiki 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 tpu_performance_autoresearch_wiki configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .claude/scripts/scan-gke-clusters.sh --project "<project>" > "${TSV}" 2> "${SCANLOG}".

Reuse

Borrowing it

Nothing to install: this file belongs to vlasenkoalexey/tpu_performance_autoresearch_wiki. 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/vlasenkoalexey/tpu_performance_autoresearch_wiki/main/.claude/skills/scan-gke-clusters/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vlasenkoalexey/tpu_performance_autoresearch_wiki

Made for: Claude Code.

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 scan-gke-clusters

README.md
[![agentmods](https://agentmods.dev/badge/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters/github.svg)](https://agentmods.dev/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters)
Your own site
<a href="https://agentmods.dev/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters"><img src="https://agentmods.dev/badge/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters/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 scan-gke-clusters

Your own site · 80×15
<a href="https://agentmods.dev/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters"><img src="https://agentmods.dev/badge/skills/vlasenkoalexey/tpu_performance_autoresearch_wiki/scan-gke-clusters.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 127
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00192 $0.03144
Opus 5 $0.00096 $0.01572
Sonnet 5 $0.00038 $0.00629
Haiku 4.5 $0.00019 $0.00314

Measured 12d ago against content hash e2dbfcf85754, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

scan-gke-clusters scanned grade A with 0 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/scan-gke-clusters/SKILL.md · 209 lines

How it starts

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

/scan-gke-clusters — refresh GKE TPU cluster inventory

Updates the inventory under .env/ that /start-experiment Step 5 consults when picking a cluster. Reads it by running gcloud + kubectl probes against each project's clusters; writes both a per-project file (deep dive) and updates the combined inventory (cross-project overview).

When to invoke

  • New cluster reported — colleague spun up a cluster, your inventory is missing it.
  • Cluster changed — node-pool added/removed, XPK setup completed, pool composition changed.
  • Periodic batch refresh — once every few weeks, pass every project the user maintains access to as separate --project args, to catch all drift.
  • NOT for occupancy — "which cluster has free capacity right now" is a live query, not inventory. /start-experiment handles occupancy via its Step 6 (xpk workload list + name-based attribution).

Cardinal rules

  • Outputs go in .env/, scripts live in .claude/scripts/. Same convention as the rest of the autoresearch infra.
  • Per-project file is the source of truth for that project's clusters. The combined file is a cross-project view; its rows are owned by per-project files.
  • The combined file's structure is preserved verbatim — TPU-gen H2 sections, sort within each section (largest single-slice topology first, then cluster name), prose intro/outro. Only the rows for the scanned project change.
  • gcsfuse + Spot columns: NOT in the bash probe TSV. New rows get ?. Existing rows from OTHER projects are preserved verbatim. Detecting gcsfuse + spot would require additional kubectl + gcloud calls — deferred to v2.
  • Do NOT auto-commit. The skill produces artifacts; the user reviews + commits per existing convention. .env/ is gitignored on this repo so committing is opt-in if desired.

Arguments

Required (at least one):

  • <project-name> — bare positional. Skill treats any argument NOT starting with -- as shorthand for --project <arg>. Most common form: /scan-gke-clusters <project>.
  • --project <p> — repeatable; for multi-project refresh, pass once per project: /scan-gke-clusters --project <project> --project <project>.

Read the full file on GitHub · 209 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. 12d ago First seen · 209 lines · 192 tokens per session scan A e2dbfcf85754

Subscribe to this mod's changes

scan-gke-clusters is a skill published in the GitHub repository vlasenkoalexey/tpu_performance_autoresearch_wiki (55 stars, last pushed 8d ago), licensed MIT. It adds 192 tokens to every session and 3,144 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. 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

remote-compute-ops

Operate GPU and remote compute across RunPod (Pods and Serverless), Massed Compute VMs, and owned or virtual remote servers through existing bridges, SSH sessions, MCP/API adapters, bounded polling, cost controls, and resumable lifecycle checks. Use when the user mentions RunPod, Massed Compute, a remote…

AnastasiyaW/codex-claude-code-config · 132 tokens

customer_support_agent

You have access to Leeroopedia, a curated ML/AI knowledge base, via MCP tools. These are real MCP tools registered in your environment -- call them directly like any other tool. They contain framework-specific docs, code examples, API references, and best practices.

Leeroo-AI/leeroopedia-mcp · 0 tokens

ml_inference_optimization

This document describes the Leeroopedia MCP tools available during the with-KB benchmark run. It is a standalone reference and is not fed to the agents automatically.

Leeroo-AI/leeroopedia-mcp · 0 tokens

leeroopedia-mcp

Use Leeroopedia MCP to fetch grounded ML/AI best practices, build and review ML plans, debug failures, verify code/math correctness, and expand KB citations via getpage.

Leeroo-AI/leeroopedia-mcp · 42 tokens

self_evolve_rag

This document describes how to use the Leeroopedia MCP tools for the Self-Evolving RAG task. It is kept as a reference and is NOT included in the agent prompt.

Leeroo-AI/leeroopedia-mcp · 0 tokens

llm_post_training

You have access to the Leeroopedia MCP tools. Use them throughout this pipeline to make informed decisions. Specifically.

Leeroo-AI/leeroopedia-mcp · 0 tokens