ML-MLOps-Portfolio: Skill for Claude Code

.devin/skills/deploy-gke/SKILL.md

deploy-gke is a skill for Claude Code from DuqueOM/ML-MLOps-Portfolio. It costs 19 tokens per session (1,219 once invoked), scanned A, original, MIT.

A deployment procedure for running a machine-learning service on Google Kubernetes Engine, Google's managed Kubernetes service, using Kustomize overlays and Google Workload Identity.

In plain words
What is it for?
It helps build and publish the service image, verify the Kubernetes cluster, update deployment settings, confirm model files and infrastructure, and deploy to development or staging environments.
Why use it?
It organizes deployment checks and approvals and prevents direct production changes when releases must go through an approved pipeline.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to DuqueOM/ML-MLOps-Portfolio. 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/DuqueOM/ML-MLOps-Portfolio/main/.devin/skills/deploy-gke/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DuqueOM/ML-MLOps-Portfolio

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 deploy-gke

README.md
[![agentmods](https://agentmods.dev/badge/skills/duqueom/ml-mlops-portfolio/deploy-gke.svg)](https://agentmods.dev/skills/duqueom/ml-mlops-portfolio/deploy-gke)
Your own site
<a href="https://agentmods.dev/skills/duqueom/ml-mlops-portfolio/deploy-gke"><img src="https://agentmods.dev/badge/skills/duqueom/ml-mlops-portfolio/deploy-gke.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00019 $0.01219
Opus 5 $0.00010 $0.00609
Sonnet 5 $0.00004 $0.00244
Haiku 4.5 $0.00002 $0.00122

Measured 7d ago against content hash 6594ec818188, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

deploy-gke scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

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

- Bash(curl:*)
.devin/skills/deploy-gke/SKILL.md · 151 lines

How it starts

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

Deploy to GKE

Authorization Protocol

This skill enforces the Agent Behavior Protocol (AGENTS.md). Actions per environment:

Env Mode What the agent does
dev AUTO Execute all steps without asking
staging CONSULT Show the full plan (image tag, diff, namespace) and wait for a human "proceed" before kubectl apply
prod STOP Do NOT apply. Instruct the user to merge an approved PR and let GitHub Actions with environment: production (required_reviewers) perform the deploy

If you are in prod mode and the human insists, output:

[AGENT MODE: STOP]
Operation: Direct kubectl apply to production cluster
Reason: Prod deploys require the governed path (see ADR-002)
Waiting for: Merge to main + GitHub Environment approval

Then halt.

Pre-Flight Checklist

  • Verify context: kubectl config current-context must be GKE cluster
  • Docker image built and pushed to Artifact Registry
  • Kustomize overlay patched with correct image tag
  • Terraform applied for any new infrastructure
  • Model artifact uploaded to GCS
  • All tests passing in CI

Step 1: Verify Cluster Context

kubectl config current-context
# Expected: gke_{PROJECT_ID}_{REGION}_{CLUSTER_NAME}

NEVER proceed if context is wrong. Switch with:

gcloud container clusters get-credentials {CLUSTER} --region {REGION} --project {PROJECT}

Step 2: Build and Push Image

# Tag with version and SHA
export VERSION=v{X.Y.Z}
export SHA=$(git rev-parse --short HEAD)
export REGISTRY={REGION}-docker.pkg.dev/{PROJECT_ID}/{REPO}

docker build -t ${REGISTRY}/{service}:${VERSION} -t ${REGISTRY}/{service}:sha-${SHA} .
docker push ${REGISTRY}/{service}:${VERSION}
docker push ${REGISTRY}/{service}:sha-${SHA}

Step 3: Update Kustomize Overlay

# k8s/overlays/gcp-{env}/kustomization.yaml  (env = dev | staging | production)
images:
  - name: {service}-predictor
    newName: {REGION}-docker.pkg.dev/{PROJECT_ID}/{REPO}/{service}
    newTag: {VERSION}

Read the full file on GitHub · 151 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. 7d ago First seen · 151 lines · 19 tokens per session scan A 6594ec818188

Subscribe to this mod's changes

deploy-gke is a skill published in the GitHub repository DuqueOM/ML-MLOps-Portfolio (5 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,219 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ecspresso

ECS deployment tool - deploy, manage, and troubleshoot ECS services.

kayac/ecspresso · 17 tokens

Cloud Security & Container Hardening

AWS/Azure/GCP security auditing, container and Kubernetes hardening, Infrastructure as Code scanning, and cloud compliance assessment.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

container-manager-kubernetes-operations

Full operational Kubernetes surface via the container-manager-mcp MCP server — workloads (pods/rollouts/StatefulSets/DaemonSets/ReplicaSets/Jobs/CronJobs), config (ConfigMaps/Secrets/Namespaces/CRDs/patch), networking (Ingress/native Services/NetworkPolicy/DNS), storage (PV/PVC/StorageClass/snapshots/CSI), RBAC…

Knuckles-Team/container-manager-mcp · 189 tokens

ecs-modernize

Assess an existing app (VMware/EC2) by source code analysis for the replatform vs rearchitect decision, and execute the approved migration onto Amazon ECS. Scope: assessment, strategy decision, migration execution. Covers: source code analysis; language/framework detection (Java, .NET, Spring, Struts, WebSphere…

aws-samples/sample-apex-skills · 230 tokens

ecs-build

Use when building Amazon ECS infrastructure with Terraform, generating apply-ready code for ECS clusters, services, and task definitions across three capacity models — Fargate (FARGATESPOT as capacity provider), EC2 Auto Scaling group providers, and ECS Managed Instances. Covers rolling/blue-green/linear/canary…

aws-samples/sample-apex-skills · 226 tokens

ecs-architect

Use when choosing and architecting an Amazon ECS deployment model for a NEW workload — Fargate vs ECS on EC2 vs Managed Instances vs Express Mode vs ECS Anywhere/External — plus capacity-provider strategy, task sizing, awsvpc/ENI density, networking, service parameters, and launch-type or topology migration (EC2…

aws-samples/sample-apex-skills · 231 tokens