async-operation-handler

Installation
SKILL.md

Async Operation Handler

Handle asynchronous operations efficiently with intelligent polling, timeout management, and parallel work opportunities. Reduces async operation overhead by 50-70% and saves 15-30 seconds per operation.

Overview

When working with async operations (PixelLab character generation, ElevenLabs TTS, etc.), use this skill to:

  • Poll with exponential backoff instead of fixed intervals
  • Respect API-provided ETAs when available
  • Handle timeouts gracefully
  • Use waiting time for parallel work
  • Prevent premature download attempts

⚠️ CRITICAL: Use Exponential Backoff, Not Fixed Intervals ⚠️

AGENTS WASTE 20-40% OF WAIT TIME BY USING FIXED INTERVALS INSTEAD OF EXPONENTIAL BACKOFF.

The Problem: Fixed intervals (e.g., 30s, 60s) waste time by polling too frequently early and not frequently enough later.

Installs
7
GitHub Stars
2
First Seen
Mar 18, 2026
async-operation-handler — pmarashian/cursor-agent-skills