Skip to content
Agent Orchestration
Skill

/provider-retry

Diagnose automatic retries of BB turns after provider overloads, server or connection errors, and subscription-window limits.

From plugin
bb
5.9k32 skills

Claude Code

$ npx -y skills add get-bb/bb --skill provider-retry --agent claude-code

SKILL.md

provider-retry.SKILL.md
name: provider-retry
description: "Diagnose automatic retries of BB turns after provider overloads, server or connection errors, and subscription-window limits."

Provider retry

The plugin is enabled on fresh installations. It reacts only to failed Codex and Claude Code turns and never blocks a send; prior output or tool activity does not prevent a retry. It queues a retry of the failed turn, which core runs by continuing accepted input or re-sending input the provider never accepted, for one of three failures:

  • A structured provider overload: retried after a short delay that doubles on

each attempt.

  • An unavailable provider (HTTP 500, 502, 503, or 504, an internal error, or a

failed or dropped connection, including an Account Pooler that could not reach the provider): retried after about a minute, doubling on each attempt.

  • A subscription-window limit with a reported reset time: retried shortly

after the window opens, with random spread so threads on one account do not wake together. Credit and spend limits are not retried.

For Account Pooler routes, retry timing comes from the pool's earliest usable account for the failed request's model, including parent pools, so a generic provider 429 without quota windows can still schedule a retry. Unknown resets, authentication failures, and unavailable pool sources do not schedule retries.

Provider retry owns a failed turn, including turns Automations and Workflows sent. It records its decision for each failure, after queueing any retry, and publishes it through the discoverable `decision.get` RPC. A plugin that re-runs failed work waits for that decision on the failed request, for at most a minute, then re-runs the work only when no retry is queued or ran in the thread. Automations records the skipped quick retry with the reason, and Workflows keeps waiting on the same worker instead of replacing it. A retry core queues after a bb restart counts the same way.

A turn gets at most four automatic retries. The `maximumWait` setting (`6 hours` by default, or `24 hours` or `No limit`) skips a subscription-limit retry whose reset is farther away: `bb plugin config provider-retry set maximumWait "24 hours"`.

A pending retry is an ordinary durable queued row, shown on the thread's queue card with its reason and time, and survives restart. A thread keeps one pending retry for accepted input: when another accepted turn fails while a retry waits, the waiting retry moves to the new time instead of a second "Please continue." row. Input the provider never accepted keeps its own row.

bb provider-retry status [thread-id] [--json]
bb provider-retry explain [thread-id] [--json]
bb provider-retry retry <thread-id> [--json]
bb provider-retry cancel <thread-id> [--json]

`status` defaults to the current thread and lists every thread outside one. `explain` reports the last recorded scheduling or skip decision; it is historical and survives restart, so use `status` for what is still pending. Decisions from before the plugin version that records them are not backfilled. The plugin RPC `decision.get` accepts `{ threadId }` and returns the same nullable diagnostic. `retry` sends the pending row now; `cancel` deletes it. Inspect the failed turn before retrying manually, and avoid duplicating an existing queued retry. Use the core `bb thread retry` command for an intentional manual retry of a turn with no pending row; follow its live help for selection and scheduling flags.

Read more
@get-bb
Ships withbb

bb is an agentic IDE that builds itself. It can control, customize, and automate itself, laying the groundwork for your own software factory. Every surface — the desktop app, web app, CLI, and HTTP API — is a first-class way to drive bb.

Stars on GitHub

Momentum

stars in total
5.9k
Star history of get-bb/bb on GitHub, a chart by star-history.com

Other skills on bb.

account-pool

account-pool

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

@get-bb@get-bbInstall Skill
agent-annotations

agent-annotations

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

@get-bb@get-bbInstall Skill
automations

automations

Schedule or manage recurring and one-shot BB agent or script automations.

@get-bb@get-bbInstall Skill
bb-account

bb-account

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

@get-bb@get-bbInstall Skill
bb-cloud-ai

bb-cloud-ai

Check, turn off, or troubleshoot bb cloud, the hosted service that writes thread titles and commit messages and transcribes voice…

@get-bb@get-bbInstall Skill
bb-cli

bb-cli

Inspect or manage BB state with the bb CLI; use for BB commands and configuration.

@get-bb@get-bbInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw7d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about provider-retry.

Which coding agents can use provider-retry?
provider-retry installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.