aws-cli

aws-cli is a skill for Claude Code, Codex from abdullahkhawer/devops-skills. It costs 21 tokens per session (405 once invoked), scanned A, original, Apache-2.0.

A set of rules for choosing an AWS CLI profile based on the target environment, such as production or staging.

In plain words
What is it for?
Use it when running AWS CLI commands that access or change resources in different environments.
Why use it?
It reduces the risk of sending an AWS command to the wrong environment by requiring the profile to be named explicitly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when running AWS CLI commands that access or change resources in different environments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abdullahkhawer/devops-skills/aws-cli
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 abdullahkhawer/devops-skills --skill aws-cli
Clone the repo
git clone --depth 1 https://github.com/abdullahkhawer/devops-skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/aws-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/aws-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 405 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.00021 $0.00405
Opus 5.5 $0.00008 $0.00162
Sonnet 5.5 $0.00004 $0.00081
Haiku 4.5 $0.00002 $0.00040

Measured 27d ago against content hash 4518638e9e63, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-cli 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 27d 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.

skills/aws-cli/SKILL.md · 52 lines

What it actually says

AWS CLI Skill

When running AWS CLI commands, always pass the --profile and --region flags based on the target environment.

Configuration

Update the profile and region map below with your AWS profile names as configured in ~/.aws/config:

Environment Profile
Production <your-prod-profile>
Staging / Non-Prod <your-nonprod-profile>
Sandbox / Dev <your-sandbox-profile>

Default Region

Set your default region here: <your-default-region> (e.g. eu-west-1, us-east-1).

Always pass --region <your-default-region> unless the user specifies a different region.

Command Format

aws <service> <command> --profile <profile> --region <region> [options]

Examples

# Production
aws s3 ls --profile <your-prod-profile> --region <your-default-region>

# Staging / Non-Prod
aws s3 ls --profile <your-nonprod-profile> --region <your-default-region>

# Sandbox / Dev
aws s3 ls --profile <your-sandbox-profile> --region <your-default-region>

Rules

  • Always specify --profile explicitly — never rely on the default profile.
  • Always specify --region explicitly — never rely on the default region.
  • If the target environment is unclear, ask the user before running the command.
  • If the target region is unclear, use the configured default region — but only if <your-default-region> has been set to a real region value above.
  • If unsure which account a profile belongs to, run aws sts get-caller-identity --profile <profile> to verify identity before proceeding.
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. 27d ago Changed · +13 lines · +2 tokens per session 4518638e9e63
  2. 1mo ago First seen · 39 lines · 19 tokens per session scan A 9cb09e81862a

Subscribe to this mod's changes

aws-cli is a skill published in the GitHub repository abdullahkhawer/devops-skills (8 stars, last pushed 28d ago), licensed Apache-2.0. It adds 21 tokens to every session and 405 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

tianji-worker

Use when creating, testing, deploying, invoking, debugging, scheduling, pausing, or rolling back Tianji Workers, or managing their environment variables and shared modules.

msgbyte/tianji · 38 tokens

docs-manage

Manage the Grounded Docs MCP Server documentation index. Covers scraping and indexing documentation from URLs or local files, refreshing existing indexes with changed content, removing library versions from the index, and compacting the SQLite store. Use when you need to add, update, or delete indexed documentation…

arabold/docs-mcp-server · 68 tokens

fetch-url

Fetch a single URL and print its content as Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. Accepts http(s):// and file:// URLs and writes the result to stdout.

arabold/docs-mcp-server · 51 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

dokploy-deploy

This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".

fcakyon/claude-codex-settings · 63 tokens

openship-config

This skill should be used when the user asks to "create openship.json", "configure an OpenShip deployment", "make a repo deployable on OpenShip", or fix "openship config validate" errors.

fcakyon/claude-codex-settings · 47 tokens