golem-recurring-task-ts

Schedule recurring TypeScript Golem agent invocations with cancellation and backoff.

Updated May 17, 2026
One-click install
npx skills add https://github.com/Rust-soham/golem-claw --skill golem-recurring-task-ts-rust-soham
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: golem-recurring-task-ts
Source: https://github.com/Rust-soham/golem-claw/tree/main/packages/golem/.agents/skills/golem-recurring-task-ts
Command: npx skills add https://github.com/Rust-soham/golem-claw --skill golem-recurring-task-ts-rust-soham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of implementing reliable periodic automation (cron-like jobs) inside a Go​lem TypeScript agent without losing the schedule across restarts.

Core Features & Use Cases

  • Self-scheduling recurring invocations: Schedule the next run at the end of each invocation so the job continues over time.
  • Failure-aware backoff: Apply exponential backoff on repeated failures and reset delay on success.
  • Graceful cancellation: Stop future scheduled runs using cancelable schedules or a state flag, including CLI-driven cancellation via idempotency keys.
  • Use cases: Periodic polling of external APIs/queues, periodic cleanup, and heartbeat/keep-alive tasks that must persist.

Quick Start

Ask your agent to schedule itself to run every 60 seconds by calling schedule at the end of the recurring method, using a durable invocation loop.

Frequently Asked Questions about golem-recurring-task-ts

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

FAQPage Schema
How do I run durable recurring cron jobs in a TypeScript agent without losing the schedule on restart?▼

Durable recurring cron jobs in a TypeScript agent are achieved by self-scheduling future invocations using the agent's generated client scheduling methods, ensuring the execution loop persists safely across restarts.

How can I gracefully cancel a recurring self-scheduling task in TypeScript?▼

Graceful cancellation of recurring tasks is supported by using cancelable schedules or state flags, including CLI-driven cancellation via idempotency keys to stop future scheduled runs.

Does Golem TypeScript support periodic polling and heartbeat keep-alive workflows?▼

Golem TypeScript supports periodic polling and heartbeat keep-alive workflows by implementing durable invocation loops that self-perpetuate background processes over time.

What is the best way to schedule periodic cleanup tasks that persist across agent restarts?▼

The best way to schedule persistent periodic cleanup tasks is using a durable agent's self-scheduling feature to invoke the next run at the end of each execution cycle.