Skip to content
Back to skills

Orpc Retry After

ASecurity

Automatically retries requests based on server Retry-After headers.

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
toolsgit

Works with

  • cli

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-retry-after --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc Retry After?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc Retry After
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-retry-after/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-retry-after)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oRPC Retry After Plugin
description: Automatically retries requests based on server Retry-After headers.
license: MIT
metadata:
  author: Ali Torki
  homepage: https://github.com/ali-master
  version: "1.0.0"
---

# Retry After Plugin

Automatically retries requests based on server `Retry-After` headers. Useful for handling rate limiting and temporary server unavailability.

## Usage

```ts
import { RetryAfterPlugin } from '@orpc/client/plugins'

const link = new RPCLink({
  url: 'http://localhost:3000/rpc',
  plugins: [
    new RetryAfterPlugin({
      condition: (response, options) => {
        return response.status === 429 || response.status === 503
      },
      maxAttempts: 5,
      timeout: 5 * 60 * 1000,
    }),
  ],
})
```

## Options

* `condition`: Whether a request should be retried. Defaults to `429` and `503` status codes.
* `maxAttempts`: Maximum retry attempts (default `3`).
* `timeout`: Maximum retry duration in ms (default `5 * 60 * 1000`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.