corporate-aws-cli

corporate-aws-cli is a skill for Claude Code, Codex from saski/arnesto. It costs 81 tokens per session (1,167 once invoked), scanned A, original, Unlicense.

Guidance for using the AWS command-line tool after signing in through corporate SAML or OIDC federation, such as saml2aws or AWS SSO. It focuses on selecting the correct account, profile, and region.

In plain words
What is it for?
Use it to validate federated credentials, choose profiles and regions for Terraform or CI/CD, troubleshoot STS responses, and check regional RDS options.
Why use it?
It helps avoid misleading AWS errors and prevents commands from running under the wrong identity, account, or region.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to validate federated credentials, choose profiles and regions for Terraform or CI/CD, troubleshoot STS responses, and check regional RDS options.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/corporate-aws-cli"><img src="https://agentmods.dev/badge/skills/saski/arnesto/corporate-aws-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,167 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.00081 $0.01167
Opus 5.5 $0.00032 $0.00467
Sonnet 5.5 $0.00016 $0.00233
Haiku 4.5 $0.00008 $0.00117

Measured 3mo ago against content hash d9085865c050, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

corporate-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 3mo 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.

.agents/skills/corporate-aws-cli/SKILL.md · 84 lines

How it starts

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

Corporate AWS CLI (federated login)

Goal

Use the correct AWS account, named profile, and region when the organization authenticates through IdP federation (SAML via tools like saml2aws, or IAM Identity Center / aws sso login). Avoid misleading CLI errors (invalid XML, empty body, wrong account) and align local commands with infrastructure-as-code (Terraform, Pulumi, Spacelift, etc.).

Use This Skill When

  • Logging in with saml2aws, aws sso login, or similar corporate flows before running aws.
  • aws sts get-caller-identity fails with Unable to parse response / invalid XML / b''.
  • After a successful login, commands still use the wrong identity or wrong region.
  • You need orderable RDS engine versions or other regional APIs in the same account and region as the deployment stack.

This skill is vendor-neutral; follow your organization’s SSO and least-privilege runbooks in addition to these notes.

After federated login (saml2aws, aws sso, etc.)

  1. Credentials are usually stored under a named profile. The login output typically tells you to use --profile <name>.
  2. Pass that profile explicitly unless you intentionally use another:
    aws sts get-caller-identity --profile <profile-from-login-output>
    
  3. aws without --profile uses default or AWS_PROFILE. Stale or empty default often produces confusing errors—not a clear “access denied”.
  4. If you export AWS_PROFILE=..., ensure environment variables do not override the profile chain:
    unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
    

“Invalid XML” / Empty Response (b'')

Typical causes (check in order):

  1. Wrong credential source — Run STS with the profile you just refreshed.
  2. AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_SESSION_TOKEN set in the shell — unset them when using a profile.
  3. Multiple aws binaries — which -a aws may list more than one install. If behavior is odd, call the intended binary explicitly (example on Apple Silicon Homebrew):
    /opt/homebrew/bin/aws sts get-caller-identity --profile <profile>
    
  4. Proxies / custom endpoints — Inspect HTTPS_PROXY, HTTP_PROXY, AWS_ENDPOINT_URL, AWS_USE_FIPS_ENDPOINT, AWS_CA_BUNDLE if responses look non-AWS.
  5. Shell job stopped with Ctrl+Z — A line like suspended aws ... means SIGTSTP, not an AWS API error. Run jobs, fg, or kill %<n> and retry.

Read the full file on GitHub · 84 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. 3mo ago First seen · 84 lines · 81 tokens per session scan A d9085865c050

Subscribe to this mod's changes

corporate-aws-cli is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 81 tokens to every session and 1,167 once invoked, about $0.0003 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

corporate-aws-cli compared with skills from other repositories

corporate-aws-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
corporate-aws-clisaski/arnestoSkill75d agoUnlicenseA81Claude Code, Codex
terraform-skillagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A62Claude Code, Codex
terraform-cli-setupagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A58Claude Code, Codex
alicloud_cliagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A45Claude Code, Codex
cdf-event-video-generationNVIDIA/skillsSkill4.2ktodayApache-2.0A167Codex
cdf-image-attribute-augmentationNVIDIA/skillsSkill4.2ktodayApache-2.0A89Codex
tao-run-on-slurmNVIDIA/skillsSkill4.2ktodayApache-2.0A94Claude Code