golem-retry-policies-ts

Configure and manage retry policies for Golem agents in TypeScript.

1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-retry-policies-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-retry-policies-ts
Source: https://github.com/justcoon/golem-shopping-ts/tree/main/.agents/skills/golem-retry-policies-ts
Command: npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-retry-policies-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need to define and manage retry policies for handling transient errors and failures in Golem-based TypeScript agents efficiently.

Core Features & Use Cases

  • Semantic Retry Policy Configuration: Enables detailed setup of retry behaviors, predicates, and combinators for different environments. For example, adjusting retries for HTTP 4xx and 5xx errors.
  • Runtime Policy Management: Supports querying, creating, updating, and deleting retry policies dynamically via CLI or SDK. Useful for adaptive failure handling during production.
  • Quick Start: Use the golem CLI to create or modify retry policies instantly, ensuring resilient communication between agents and external systems.

Quick Start

Use the golem CLI to create a new retry policy named 'http-transient' with exponential backoff and jitter.

Frequently Asked Questions about golem-retry-policies-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure retry policies for TypeScript agents handling transient errors?

Retry policies for TypeScript agents are configured by defining semantic behaviors, predicates, and combinators to manage transient error recovery. You can adjust retry strategies for specific HTTP errors like 4xx and 5xx to enhance resilience in distributed agent systems.

Can I dynamically update retry policies at runtime for Golem agents?

Yes, retry policies for Golem agents can be queried, created, updated, and deleted dynamically at runtime. This runtime management is accessible via the golem CLI or SDK, enabling adaptive failure handling during production operations.

What is the best way to set up exponential backoff with jitter for distributed systems?

The best way to set up exponential backoff with jitter is by using the golem CLI to instantly create a retry policy. This approach ensures resilient communication between agents and external systems by managing transient failures efficiently.

Does this retry configuration support environment-specific policies for fault tolerance?

Yes, the retry configuration supports detailed environment-specific policy setup. This allows you to adjust retry behaviors and predicates tailored to different deployment contexts, enhancing fault tolerance across distributed agent systems.

Why do I need semantic retry predicates for HTTP error handling in TypeScript?

Semantic retry predicates are needed to distinguish between recoverable and non-recoverable HTTP errors in TypeScript agents. They enable precise configuration of retry behaviors for specific error types like 4xx and 5xx, ensuring appropriate transient error recovery strategies.