add-cron

Automate cron task creation and deployment for Next.js applications.

34|6|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/flavien-ia/hypervibe-harness --skill add-cron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-cron
Source: https://github.com/flavien-ia/hypervibe-harness/tree/main/skills/add-cron
Command: npx skills add https://github.com/flavien-ia/hypervibe-harness --skill add-cron

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill removes the complexity of managing server-side scheduled tasks by automatically configuring, securing, and deploying cron jobs for your Next.js projects.

Core Features & Use Cases

  • Intelligent Clock Selection: Automatically chooses between a shared worker, dedicated worker, or GitHub Action based on your project's specific needs.
  • Automated Security: Handles the generation and injection of CRON_SECRET keys to ensure your API endpoints remain protected.
  • Use Case: Use this to automate daily newsletter dispatches, nightly database cleanup routines, or hourly data synchronization with external APIs without manual infrastructure management.

Quick Start

Tell the assistant to add a scheduled task that cleans up temporary database files every night at midnight.

Frequently Asked Questions about add-cron

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

FAQPage Schema
How do I automate scheduled tasks in a Next.js application?

To automate scheduled tasks in a Next.js application, this Skill configures protected API routes and registers them as cron jobs. It handles automated secret management and environment-specific configuration to ensure secure execution without manual infrastructure setup.

How do I secure cron job API endpoints in Next.js?

Securing cron job API endpoints in Next.js involves injecting generated CRON_SECRET keys into your requests. This automated secret management ensures that only registered clock processes can successfully trigger your protected scheduled task routes.

Can I deploy cron jobs to Cloudflare workers from a Next.js project?

Yes, you can deploy cron jobs to Cloudflare workers from a Next.js project. The system supports execution on shared Cloudflare workers or dedicated workers, automatically selecting the appropriate environment based on your specific resource requirements.

What is the best way to run nightly database cleanup routines in Next.js?

The best way to run nightly database cleanup routines in Next.js is by setting up scheduled cron tasks. This approach intelligently selects an execution environment like GitHub Actions or a dedicated worker to run your cleanup scripts automatically.

Does this scheduling automation support GitHub Actions for Next.js cron tasks?

Yes, this scheduling automation supports GitHub Actions for Next.js cron tasks. It intelligently chooses between GitHub Actions, shared Cloudflare workers, and dedicated workers to deploy your scheduled tasks based on resource requirements.

When should I use a dedicated worker instead of a shared worker for cron jobs?

You should use a dedicated worker instead of a shared worker for cron jobs when your scheduled tasks have higher resource requirements. The intelligent clock selection automatically determines the correct execution environment for your Next.js project.