aws-cicd-auth

aws-cicd-auth is a skill for Claude Code from atretyak1985/swarmery. It costs 50 tokens per session (4,721 once invoked), scanned A, original, Apache-2.0.

A guide for setting up and reviewing how GitHub Actions securely accesses AWS during automated builds and deployments. It uses short-lived credentials to push images to Amazon ECR and deploy services to Amazon ECS.

In plain words
What is it for?
Use it to configure or audit GitHub-to-AWS authentication, IAM trust rules, and permissions for pushing container images and deploying ECS services.
Why use it?
It avoids storing permanent AWS access keys in a code repository and helps limit what the CI system can do. It also makes incorrect trust or permission settings easier to find.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the infra-pack plugin — 11 skills, 1 command, 3 agents shipped together

Good fit Use it to configure or audit GitHub-to-AWS authentication, IAM trust rules, and permissions for pushing container images and deploying ECS services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atretyak1985/swarmery/aws-cicd-auth
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.

Any agent
npx skills add atretyak1985/swarmery --skill aws-cicd-auth
Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install infra-pack, the plugin that ships this one along with the rest of its 11 skills, 1 command, 3 agents.

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 aws-cicd-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/atretyak1985/swarmery/aws-cicd-auth/github.svg)](https://agentmods.dev/skills/atretyak1985/swarmery/aws-cicd-auth)
Your own site
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/aws-cicd-auth"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/aws-cicd-auth/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 aws-cicd-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/aws-cicd-auth"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/aws-cicd-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,721 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.
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.00050 $0.04721
Opus 5 $0.00025 $0.02361
Sonnet 5 $0.00010 $0.00944
Haiku 4.5 $0.00005 $0.00472

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

Security

Grade A, and why

aws-cicd-auth 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 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.

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.

plugins/infra-pack/skills/aws-cicd-auth/SKILL.md · 334 lines

How it starts

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

Purpose

Define, configure, and review how the project's GitHub Actions workflows authenticate to AWS to push container images and trigger deployments. The pattern is keyless OIDC — GitHub Actions exchanges a short-lived OIDC token for temporary AWS STS credentials by assuming an IAM role. No long-lived AWS access keys are stored anywhere (not in repo secrets, not in ~/.aws). The only secrets stored are non-sensitive identifiers (role ARN, region, repo/cluster/service names).

The reference implementation is the API repo's (project.jsonmainApp) .github/workflows/deploy-prod.yml: it assumes an IAM role via aws-actions/configure-aws-credentials@v4, logs into Amazon ECR, builds/pushes the image, and forces a new Amazon ECS deployment.

When to use

  • Setting up AWS auth for a new repo or service in the project that needs to push to ECR / deploy to ECS from GitHub Actions.
  • Reviewing an existing OIDC auth stanza (permissions: id-token: write, configure-aws-credentials, role ARN scoping).
  • Authoring or auditing the IAM trust policy (who can assume the CI role — the sub/aud conditions).
  • Authoring or auditing the IAM permission policy (what the CI role can do — ECR push + ECS deploy, least-privilege).
  • Debugging an auth failure: Error: Could not assume role, Not authorized to perform sts:AssumeRoleWithWebIdentity, ECR denied, ECS AccessDenied.
  • Adding a new repo/service to the existing OIDC pattern.

When NOT to use

  • Overall CI/CD pipeline structure (job/stage ordering, workflow_run triggers, concurrency, build matrix) — use github-actions-cicd.
  • Docker image build/tag/push mechanics (Dockerfile, layer caching, tag strategy) — use docker-build.
  • Application-level AWS IAM, Cognito, runtime task-role permissions the app uses at runtime, or end-user auth — out of scope (this skill is CI identity only).
  • GCP / any non-AWS cloud — this skill is AWS-only; for GCP CI auth use gcp-cicd-auth.

Read the full file on GitHub · 334 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 · 334 lines · 50 tokens per session scan A a0d92878c32a

Subscribe to this mod's changes

aws-cicd-auth is a skill published in the GitHub repository atretyak1985/swarmery (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 4,721 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

devops-cloud

DevOps, cloud infrastructure, and platform engineering. Use when working with AWS, GCP, Azure, Kubernetes, Terraform, CI/CD pipelines, or infrastructure as code.

travisjneuman/.claude · 38 tokens

hr-devops

Help HR managers, recruiters, and talent acquisition teams understand DevOps, Platform Engineering, Site Reliability Engineering (SRE), cloud infrastructure, CI/CD, and modern software delivery workflows. Use when asked to explain DevOps, screen DevOps candidates, understand CI/CD, compare DevOps and SRE, evaluate…

tuanductran/hr-skills · 87 tokens

tailscale

This skill should be used when managing Tailscale mesh VPN networks. Use when the user asks to "check tailscale status", "list tailscale devices", "ping a device", "send file via tailscale", "tailscale funnel", "tailscale serve", "create auth key", "check who's online", "tailscale exit node", "Magic DNS", or mentions…

jmagar/claude-homelab · 93 tokens

railway

Railway allows you to deploy code simply by pushing to GitHub or using the CLI. The Railway Public API (GraphQL) allows programmatic management of projects, environments, and deployments.

ashish7802/awesome-api-skills · 0 tokens

define-slo-sli-sla

Establish Service Level Objectives (SLO), Service Level Indicators (SLI), and Service Level Agreements (SLA) with error budget tracking, burn rate alerts, and automated reporting using Prometheus and tools like Sloth or Pyrra. Use when defining reliability targets for customer-facing services, balancing feature…

pjt222/agent-almanac · 93 tokens

gws-script

Apps Script: Deploy and manage Google Apps Script projects with gws script +push.

fakoli/fakoli-plugins · 21 tokens