ML-MLOps-Portfolio: Skill for Claude Code

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

deploy-aws is a skill for Claude Code 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 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-aws/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-aws

README.md
[![agentmods](https://agentmods.dev/badge/skills/duqueom/ml-mlops-portfolio/deploy-aws/github.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/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 deploy-aws

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00018 $0.01199
Opus 5.5 $0.00007 $0.00480
Sonnet 5.5 $0.00004 $0.00240
Haiku 4.5 $0.00002 $0.00120

Measured 2mo ago against content hash 812bc85459a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (7 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 1,199 once invoked, about $0.0001 per session on Opus 5.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

deploy-aws compared with skills from other repositories

deploy-aws next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploy-awsDuqueOM/ML-MLOps-PortfolioSkill7yesterdayMITA18Claude Code
ecspressokayac/ecspressoSkill1.1kyesterdayMITA17Claude Code
04-securityskillmds/skillmdSkill1893d agoMITA36Claude Code
container-manager-kubernetes-operationsKnuckles-Team/container-manager-mcpSkill6yesterdayMITA189Claude Code, Codex
ecs-modernizeaws-samples/sample-apex-skillsSkill92todayMIT-0A230Claude Code, Codex
ecs-buildaws-samples/sample-apex-skillsSkill92todayMIT-0A226Claude Code, Codex
graviton-migrationaws-samples/sample-apex-skillsSkill92todayMIT-0A247Claude Code, Codex