aws-cli

Enforce explicit AWS CLI profile and region settings across dev, stage, and prod environments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/asimihsan/dotfiles --skill aws-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cli
Source: https://github.com/asimihsan/dotfiles/tree/main/chezmoi/dot_claude/skills/aws-cli
Command: npx skills add https://github.com/asimihsan/dotfiles --skill aws-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires aws-cli.

What problem does it solve?

This Skill standardizes and simplifies interactions with AWS services via the command line, especially across multiple environments (dev, stage, prod). It ensures correct profile and region usage, reducing errors and accelerating common cloud management tasks.

Core Features & Use Cases

  • Standardized AWS CLI Usage: Provides consistent patterns for interacting with AWS services across dev, stage, and prod environments, always specifying the correct profile and region.
  • Common Service Patterns: Offers ready-to-use command examples for S3, Lambda, CloudWatch Logs, Glue, and STS, covering frequent operational needs.
  • Output Formatting & Querying: Guides on using jq for JSON parsing, built-in --query for server-side filtering, and various --output formats for efficient data extraction.
  • Debugging & Pagination: Includes tips for verbose debugging and handling paginated results, enhancing troubleshooting and large-scale data retrieval.
  • Use Case: You need to quickly check the configuration of a Lambda function in the platform-stage environment. Use this Skill to get the correct aws lambda get-function-configuration command with the right profile and region, saving time and preventing errors.

Quick Start

List all S3 buckets in the platform-prod environment using the AWS CLI.

Frequently Asked Questions about aws-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run AWS CLI commands consistently across dev, stage, and prod environments?

Standardize AWS CLI usage by explicitly specifying profile and region settings for each environment. This Skill provides command patterns that enforce correct profile and region selection, reducing configuration errors across dev, stage, and prod deployments.

What's the best way to manage S3, Lambda, and CloudWatch operations from the command line?

Use ready-to-use AWS CLI command templates for common S3, Lambda, CloudWatch Logs, Glue, and Athena operations. This Skill covers frequent patterns including listing, retrieving, invoking, copying, syncing, and tailing logs with proper environment-scoped settings.

How do I filter and parse AWS CLI JSON output efficiently?

AWS CLI filtering uses server-side `--query` parameters and client-side `jq` for JSON parsing, plus configurable `--output` formats. This Skill guides both approaches for efficient data extraction and querying without transferring unnecessary results.

Can I use AWS CLI for multi-environment deployment without profile mistakes?

Yes. This Skill solves misconfiguration by enforcing explicit profile and region settings per command, preventing accidental deployments to wrong environments. Environment variable overrides and inline command templates support safe, scoped operations across multiple AWS accounts.

How do I debug AWS CLI errors and handle large result sets?

Enable verbose debugging output and implement pagination handling for large datasets. This Skill includes troubleshooting techniques and pagination patterns for robust AWS CLI operations and accelerated issue resolution.

What AWS services can I manage with standardized CLI commands?

This Skill covers S3, Lambda, Glue, Athena, CloudWatch Logs, and STS through consistent CLI patterns. It includes identity checks, configuration retrieval, and common operational needs across these services with environment-specific profile and region enforcement.