llm-retry-backoff-planner
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-retry-backoff-planner" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b65d97cb4912593c4fa0aa1f6a43c47c64adb412332d4d83194385429bcf0be9. Verify the upstream source and version against https://skillhub.cn/skills/user_b26bd65e/llm-retry-backoff-planner-b26bd65e before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
LLM retry and backoff planner. Designs bounded retry, exponential backoff, jitter, timeout, and retry-budget strategies for LLM APIs. Applicable to handling 429/5xx errors, stream failures, duplicate tool calls, retry storms, queue worker threads, or reliability reviews.
Introduction source: third_party · user_b26bd65e · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Design bounded retry, exponential backoff, jitter, timeout, and retry-budget policies for LLM APIs. Use for 429/5xx handling, streaming failures, duplicate tool calls, retry storms, queue workers, or reliability reviews.
- Inputs and outputs
- Return an error decision table, delay formula and caps, attempt/time/cost budgets, idempotency plan, circuit-breaker thresholds, and telemetry. Avoid synchronized retries by including jitter.
- Testing
- Not tested
Browse files
Frontmatter
name: llm-retry-backoff-planner
description: Design bounded retry, exponential backoff, jitter, timeout, and retry-budget policies for LLM APIs. Use for 429/5xx handling, streaming failures, duplicate tool calls, retry storms, queue workers, or reliability reviews.
slug: llm-retry-backoff-planner-b26bd65e
displayName: LLM 重试退避规划器
version: 1.0.1
summary: 为限流、超时和服务故障设计有界重试、指数退避、抖动、幂等保护和重试预算。
license: MITLLM Retry Backoff Planner
Retry only failures that are safe and likely to succeed later.
Workflow
- Map status codes and SDK errors to retryable, non-retryable, or uncertain.
- Honor valid
Retry-After; otherwise use capped exponential backoff with full jitter. - Set attempt, elapsed-time, and extra-cost budgets. Include queue delay in the user-visible deadline.
- Require idempotency keys or deduplication before retrying tool calls, payments, messages, or writes.
- Treat invalid input, authentication, insufficient credit, policy blocks, and deterministic context overflow as non-retryable.
- Define streaming behavior separately; never concatenate partial and retried answers as one response.
- Add circuit breaking when correlated failures indicate provider outage.
Output
Return an error decision table, delay formula and caps, attempt/time/cost budgets, idempotency plan, circuit-breaker thresholds, and telemetry. Avoid synchronized retries by including jitter.
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 LLM API 生产环境中的核心可靠性问题
- 覆盖 429/5xx 错误、流式失败、重试风暴等关键场景
- 提供完整的重试策略设计框架
Highlights
- 触发词精准覆盖多种错误处理场景
- 边界清晰,适用场景描述完整
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构缺少明确的使用时机说明
Recommendation: 建议添加 When to Use 章节,说明在什么情况下使用此 Skill
-
缺少具体端到端示例 Reported severity: Minor
虽然有 Workflow 步骤,但缺少完整的端到端使用示例
Recommendation: 建议添加一个完整的端到端示例,展示如何应用这些重试策略
Highlights
- Workflow 步骤清晰,逻辑完整
- frontmatter 信息完整规范
Highlights
- 策略设计全面:包含有界重试、指数退避、抖动、超时、重试预算
- 覆盖主要异常场景并提供幂等保护
- 包含熔断器设计防止级联故障
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.