SkillsReviewed · secondsky

Cloudflare Cron Triggers

Cloudflare Cron Triggers is an assistant skill for developers scheduling Cloudflare Workers, but conflicting platform limits and unfinished examples require review before deployment. It supplies TypeScript templates, Wrangler configuration examples and guidance for scheduled jobs and service integrations.

Researched 17 Nov 2026

In short.

Cloudflare Cron Triggers is an assistant skill for developers building scheduled Cloudflare Workers, but its documentation conflicts and incomplete templates prevent treating it as a deployment-ready solution. It covers scheduled handlers, UTC schedules, local testing, Hono integration and Cloudflare bindings. Specific concerns include inconsistent resource limits, an unprotected manual execution route and alert helpers that only log. Compilation, test success and production behavior are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete selected skill folder at revision 88378361314f558fb719aec0af9fd898ab36f0b2: SKILL.md, five reference documents, four TypeScript templates and one JSONC configuration template, plus the repository-level MIT LICENSE. Other repository components, including cloudflare-worker-base, and the contents of linked external documentation are outside the supplied scope. No code was executed. Installation, compilation, tests, deployment, current platform behavior and actual costs remain unverified.

The overview

Identity

The resource is the cloudflare-cron-triggers skill folder in secondsky/claude-skills, attributed to Claude Skills Maintainers. It contains SKILL.md, five reference documents and five templates. Its original location is [https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-cron-triggers/skills/cloudflare-cron-triggers]. It supplies instructions and examples for an assistant; Cloudflare provides the scheduling runtime.

Assessment

Useful as a starting point for drafting scheduled Workers and understanding their configuration. Its strongest feature is the combination of focused references and adaptable examples. The source's production-ready label is unsupported by execution results, and several examples need configuration, application logic or reliability fixes before use.

Users

Best suited to developers already using Cloudflare Workers who need database cleanup, API polling, reports, notifications or periodic maintenance. Beginners get explanations of cron fields and handler structure, but still need JavaScript or TypeScript knowledge and Worker setup experience. Experienced developers get examples for multiple schedules, Hono and service bindings.

Capabilities

The materials explain standalone scheduled Workers, HTTP and scheduled handlers in one Hono application, routing by cron expression, environment-specific schedules and trigger removal. Examples cover D1 databases, R2 object storage, KV storage, Workers AI, Vectorize, Queues, Workflows, Durable Objects and secrets. These are implementation examples, not evidence that every integration works together.

Using it

Requirements

The examples assume a Worker project, Wrangler, Cloudflare runtime types and configured bindings for the services used. Database tables, storage resources, workflows and external API credentials must exist separately. SKILL.md names cloudflare-worker-base as a setup dependency, whose contents are outside this resource. The Hono template specifies hono@4.12.12; minimum supported versions and assistant installation procedures are not established.

Mechanism

SKILL.md directs an assistant toward topic-specific references. The documented Worker pattern exports a scheduled function and declares five-field UTC expressions in Wrangler's triggers.crons array. The handler receives the triggering expression and scheduled timestamp, accesses services through env bindings and uses ctx.waitUntil for background promises. Multiple schedules share one handler and dispatch through exact controller.cron string comparisons.

Setup

Start with an existing Worker and adapt the basic scheduled template, replacing its placeholder task and configuring only the required bindings. The configuration template contains several separate top-level JSON objects showing alternatives; select one example rather than copying the whole file into wrangler.jsonc.

The documented local command is bunx wrangler dev --test-scheduled. The testing guide then manually invokes the local scheduled endpoint with a cron query parameter. These are supplied instructions, not recorded successful runs.

Example

For daily session cleanup, the common-patterns reference pairs 0 2 * * * with a D1 statement deleting sessions whose expires_at value precedes Date.now(). The intended result is cleanup at 02:00 UTC each day. Adapting it requires a DB binding, a sessions table and compatible timestamp units. It also demonstrates additional destructive cleanup operations, so the predicates need review against the application's retention rules.

Assessment & evidence

Limitations

Platform limits conflict. SKILL.md gives 128 MB memory on both plans and a five-minute paid CPU maximum; integration-patterns.md gives 1 GB paid memory and up to fifteen minutes CPU for less frequent schedules. Free trigger allowances are described as three per Worker and five per account without explaining their relationship. Current applicable limits remain unknown.

The Hono template contains no authentication on POST /api/manual-trigger, which invokes database cleanup and other task logic. Its alert helper only logs because delivery code is commented out. The multiple-crons alert helper likewise logs instead of sending a notification.

The cron reference lists ? in its field table but later says it is unsupported. The testing guide imports a named scheduled function in examples, whereas the shown Worker pattern places scheduled on a default export object. Those examples require reconciliation before use.

Reasoning

The resource's practical value comes from connecting schedule syntax, configuration, handler code and concrete maintenance tasks. That makes it useful drafting material. Its examples also show why generated code needs application-specific review: bindings and schemas are assumed, notification delivery is incomplete, and documented limits disagree. Breadth of coverage does not establish operational reliability.

Alternatives

For direct platform guidance, the resource links to Cloudflare's Cron Triggers documentation [https://developers.cloudflare.com/workers/configuration/cron-triggers/] and scheduled-handler API documentation [https://developers.cloudflare.com/workers/runtime-apis/handlers/scheduled/]. Their current contents are not established by the supplied files.

For longer, multi-step work, the resource proposes starting a Cloudflare Workflow from the scheduled handler. It also suggests splitting work into batches and passing continuation messages through Queues. These are architectural options described by the resource; comparative performance and cost are not assessed.

Evidence

The captured source contains all eleven selected files plus the repository LICENSE at revision 88378361314f558fb719aec0af9fd898ab36f0b2. The capture timestamp is 2026-11-17T12:25:37.033Z. Documentation, code and illustrative test output support conclusions about the resource's contents. They do not establish compilation success, actual scheduler execution, deployment success or measured reliability.

Access & freshness

Costs

The MIT licence permits use of the supplied software and documentation without a licence fee. Hosting, assistant access and connected services are separate costs.

SKILL.md quotes a $5 monthly Workers Paid baseline, $0.30 per million requests after 10 million, and $0.02 per million CPU-ms after 30 million. These are source claims, not established current prices. The same document describes a Free plan while calling Paid required, leaving plan eligibility unresolved. Its monthly examples are calculations rather than measured bills. Current total cost, including storage, AI inference and external APIs, is unknown.

Rights

SKILL.md declares MIT, and the repository licence names Claude Skills Maintainers with copyright dated 2025. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It provides no warranty. These permissions cover the resource's software and documentation; they do not establish rights or service terms for connected platforms or external data.

Freshness

SKILL.md identifies version 1.0.0 but carries different update dates: 2025-11-25 near the beginning and 2025-10-23 at the end. Several references say 2025-11-25. The skill labels wrangler@4.81.0 and @cloudflare/workers-types@4.20260408.0 as latest, but the supplied materials do not establish that status or compatibility. The November 2026 capture date establishes when this snapshot was acquired, not when its technical claims were validated.

Actions

Before deployment, confirm current limits, pricing and commands against Cloudflare documentation and the installed Wrangler version. Choose one configuration example, provide the required schemas and bindings, and replace placeholder task and alert logic. Remove or authenticate the Hono manual execution route.

Compile the adapted code and verify the actual handler export, every cron-routing branch, database effects and failure handling. Check UTC and daylight-saving behavior explicitly. Validate deployment through execution logs and resulting application state; the supplied sample output does not demonstrate those outcomes.

Evidence for this report

LICENSEnotice · checked 2026-11-17