aiohttp-retry
Installation
SKILL.md
aiohttp Retry Middleware
Add retry logic to aiohttp HTTP requests using the built-in client middleware system
(ClientSession(middlewares=(...))) — no third-party libraries needed. Requires aiohttp 3.x+.
Announce at start: "I'm using the aiohttp-retry skill to implement retry middleware."
The Pattern
A factory function that returns a middleware. The middleware retries requests when the server responds with a transient status code.
import asyncio
import logging