using-cloud-cli

Run AWS, GCP, and BigQuery CLI commands with cost-aware flags.

35|5|Updated Jul 5, 2025
One-click install
npx skills add https://github.com/alexei-led/claude-code-config --skill using-cloud-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-cloud-cli
Source: https://github.com/alexei-led/claude-code-config/tree/main/skills/using-cloud-cli
Command: npx skills add https://github.com/alexei-led/claude-code-config --skill using-cloud-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents costly mistakes and operational headaches by providing precise, cost-aware CLI commands for GCP and AWS, turning complex cloud operations into simple, safe commands.

Core Features & Use Cases

  • Cost-Optimized BigQuery Queries: Always estimate scan costs first and apply best practices to avoid surprise bills.
  • Precise Resource Management: Use JMESPath filtering and structured output to quickly find and manage cloud resources.
  • Use Case: Imagine you need to analyze a large dataset. Use this Skill to first run a --dry_run to estimate the BigQuery cost, then construct an efficient query with proper partitioning to minimize expense.

Quick Start

Use the using-cloud-cli skill to list all running EC2 instances in the 'us-west-2' region and output only their Instance IDs and Public IPs in JSON format.

Frequently Asked Questions about using-cloud-cli

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

FAQPage Schema
How do I run cost-optimized BigQuery queries without unexpected charges?

BigQuery queries can be cost-optimized by running a `--dry_run` first to estimate scan costs before execution. This Skill provides standardized CLI patterns to apply partitioning, filtering, and best practices that minimize expense while ensuring accurate results.

Can I use AWS and GCP CLI commands together in automated workflows?

Yes. This Skill supports standardized CLI usage patterns for both AWS and GCP, enabling you to construct reproducible, cost-aware commands using aws, gcloud, and bq tools with explicit flags like --region, --output, and --dry-run across both platforms in a single workflow.

How do I list and filter cloud resources by specific attributes?

Use JMESPath filtering with structured JSON output to quickly locate and describe cloud resources. This Skill provides precise CLI patterns that extract only the attributes you need—such as Instance IDs and Public IPs—reducing parsing overhead and automation errors.

What flags should I use to prevent costly mistakes in production cloud operations?

Use explicit flags like --dry-run to preview changes, --region to scope operations, --quiet to suppress confirmation prompts safely, and --output to control result format. This Skill enforces cost-awareness guidance and reproducibility across AWS, GCP, and BigQuery operations.

Do I need pre-configured credentials to run automated cloud CLI commands?

Yes. This Skill leverages pre-configured credentials as a prerequisite for executing standardized CLI patterns. Proper credential setup enables reproducible, automated cloud operations across AWS and GCP without manual authentication between commands.

How does this approach handle multi-region or multi-cloud deployments?

This Skill solves multi-region operations by supporting explicit --region flags and standardized patterns for both AWS and GCP CLI tools. This enables DevOps teams to manage resources across regions and clouds consistently while maintaining cost-awareness and reproducibility.