parallel-execution-patterns

Coordinate parallel AWS resource collection across accounts and regions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/expeor/aws-automation --skill parallel-execution-patterns-expeor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-execution-patterns
Source: https://github.com/expeor/aws-automation/tree/main/.claude/skills/parallel-execution-patterns
Command: npx skills add https://github.com/expeor/aws-automation --skill parallel-execution-patterns-expeor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating parallel data collection across many AWS accounts and regions is complex, error-prone, and slow when done manually. This pattern provides a structured, reusable approach to collect and analyze data at scale with predictable behavior.

Core Features & Use Cases

  • Pattern: parallel_collect enables scalable multi-account, multi-region data gathering.
  • Rate limiter integration automatically throttles API calls to prevent throttling and errors.
  • Callback-driven design allows composing custom collection logic per account and region.
  • Progress tracking and resilience provides visibility and retries for large-scale audits and reporting.

Quick Start

Define a callback that receives a session, account_id, account_name, and region, then run it with parallel_collect(ctx, callback, service='your-service').

Frequently Asked Questions about parallel-execution-patterns

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

FAQPage Schema
How do I collect AWS resource data across multiple accounts and regions in parallel?

To collect AWS resource data across multiple accounts and regions in parallel, use a reusable pattern that coordinates concurrent API calls with service-aware rate limiting. This approach provides structured data gathering with progress tracking and robust error handling for large-scale audits.

What is the best way to prevent AWS API throttling errors during concurrent data collection?

The best way to prevent AWS API throttling errors during concurrent data collection is to integrate a service-aware rate limiter. This automatically throttles API calls based on service limits, preventing errors while maintaining scalable multi-account execution.

Can I customize data collection logic for different AWS accounts and regions?

Yes, you can customize data collection logic for different AWS accounts and regions using a callback-driven design. You define a callback receiving a session, account_id, account_name, and region, allowing you to compose custom collection logic per execution target.

How does parallel execution handle errors and retries for large-scale AWS security audits?

Parallel execution handles errors and retries for large-scale AWS security audits by implementing robust error handling and executor utilities. These utilities manage sessions and retries automatically, providing resilience and visibility during large-scale data gathering.

Do I need to manually track progress when running multi-region AWS inventory collection?

No, you do not need to manually track progress when running multi-region AWS inventory collection. The parallel execution pattern includes built-in progress tracking, providing visibility into the status of your data collection across many accounts and regions.