pilot-task-retry
Installation
SKILL.md
pilot-task-retry
Automatic task retry with exponential backoff and fallback targets. Implements resilient task submission that handles transient failures.
Essential Commands
Basic retry with backoff
MAX_RETRIES=3
RETRY=0
while [ $RETRY -lt $MAX_RETRIES ]; do
RESULT=$(pilotctl --json task submit "$AGENT" --task "$TASK_DESC" 2>&1)
echo "$RESULT" | jq -e '.task_id' >/dev/null 2>&1 && break