deploy-aws

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

A deployment procedure for running a machine-learning service on Amazon EKS, a managed Kubernetes service, using Kustomize configuration overlays and AWS role-based access.

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 the checks and approvals needed before deployment and prevents direct production changes when a governed release process is required.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/duqueom/ml-mlops-portfolio/deploy-aws
Any agent
npx skills add DuqueOM/ML-MLOps-Portfolio --skill deploy-aws
Clone the repo
git clone --depth 1 https://github.com/DuqueOM/ML-MLOps-Portfolio

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

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

Measured 5d ago against content hash 812bc85459a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deploy-aws 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 5d 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-aws/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 EKS

Authorization Protocol

This skill enforces the Agent Behavior Protocol (AGENTS.md).

Env Mode What the agent does
dev AUTO Execute all steps
staging CONSULT Show diff + image tag + namespace, wait for approval before kubectl apply
prod STOP Never apply directly. Require merge to main + GitHub Environment production approval

On prod invocation, emit:

[AGENT MODE: STOP]
Operation: Direct kubectl apply to EKS production
Reason: Prod deploys flow through GitHub Actions with required_reviewers (ADR-002)

and halt.

Pre-Flight Checklist

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

Step 1: Verify Cluster Context

kubectl config current-context
# Expected: arn:aws:eks:{REGION}:{ACCOUNT}:cluster/{CLUSTER_NAME}

Switch context:

aws eks update-kubeconfig --name {CLUSTER} --region {REGION}

Step 2: Build and Push Image

export VERSION=v{X.Y.Z}
export SHA=$(git rev-parse --short HEAD)
export REGISTRY={ACCOUNT}.dkr.ecr.{REGION}.amazonaws.com/{REPO}

# Authenticate to ECR
aws ecr get-login-password --region {REGION} | docker login --username AWS --password-stdin ${REGISTRY}

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/aws-{env}/kustomization.yaml  (env = dev | staging | production)
images:
  - name: {service}-predictor
    newName: {ACCOUNT}.dkr.ecr.{REGION}.amazonaws.com/{REPO}/{service}
    newTag: {VERSION}

Step 4: Apply Manifests

# Apply the overlay matching the target environment.
# Production deploys are gated by the dev → staging → prod chain (ADR-011);
# manual application here is for dev iteration or emergency only.
kubectl apply -k k8s/overlays/aws-{env}/    # env = dev | staging | production
kubectl rollout status deployment/{service}-predictor -n {namespace} --timeout=300s

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. 5d ago First seen · 151 lines · 18 tokens per session scan A 812bc85459a5

Subscribe to this mod's changes

deploy-aws is a skill published in the GitHub repository DuqueOM/ML-MLOps-Portfolio (5 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 1,199 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

awesome-kubernetes-ops

This skill documents the local verification, editing, and deployment procedures for the Antigravity AI Agent when pair-programming with the repository maintainer.

nubenetes/awesome-kubernetes · 0 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