loopify

Configures autonomous agent loops with cron scheduling, dynamic pacing, and bail-out conditions.

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill loopify-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loopify
Source: https://github.com/imMamdouhaboammar/marketing-skills/tree/main/skills/loopify
Command: npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill loopify-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up recurring agent tasks is error-prone: loops run without stop conditions, fire while previous iterations are still running, or waste tokens on poorly tuned schedules. This Skill turns "run this periodically" into a working loop with the right pacing pattern, idempotent body, and a defined bail-out. ## Core Features & Use Cases - Pattern Routing: Chooses between cron scheduling (CronCreate), dynamic self-scheduled pacing (ScheduleWakeup), or one-shot until-condition loops based on how often the task runs. - Idempotency Design: Builds loop bodies with state markers, dedupe keys, and query-before-mutate checks so duplicate runs are no-ops. - Bail-Out Enforcement: Ensures every loop has a stop condition — max iterations, state-based, time-based, or error-based — plus documented manual shutdown via CronDelete. - Use Case: You want a daily 8am brief generated from your project data. The Skill creates a cron job with an idempotent body, logs each run, and reports the cron_id so you can delete it later. ## Quick Start Ask the agent to set up a recurring task, for example: "loopify a weekly review that runs every Friday at 9am and writes a summary to my vault."

Frequently Asked Questions about loopify

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

FAQPage Schema
How do I schedule a recurring task in Claude Code?

Use CronCreate with a cron expression like "0 8 * * *" for fixed daily schedules, or ScheduleWakeup for dynamic self-paced loops. The loopify wizard picks the right pattern based on how often the task runs and whether it reacts to state or the clock.

Cron vs dynamic scheduling for agent loops — which should I use?

Use cron when the task runs at predictable times like daily at 8am or weekly on Fridays. Use dynamic pacing with ScheduleWakeup when the task reacts to state changes, such as polling a build or waiting on an external event.

Why should I avoid a 300-second delay in ScheduleWakeup?

A 300-second delay sits exactly at the 5-minute prompt cache boundary, so you pay a cache miss without gaining a longer wait. Drop to 270 seconds to stay cache-warm, or commit to 1200+ seconds when the wait justifies the cache miss.

How do I make a scheduled agent loop idempotent?

Add an "already done" marker such as a state file recording the last successful run timestamp, and query current state before mutating. This ensures a duplicate or overlapping run becomes a no-op instead of corrupting data.

How do I stop a running cron loop in Claude Code?

Call CronDelete with the cron_id returned when the loop was created. Every loop should document its cron_id and bail-out condition so it can be stopped manually even if designed to run indefinitely.

When should I not use loopify?

Do not use it to author a new skill — that is skillify — or to add a tool integration, which is toolify. Loopify is specifically for making an existing task run autonomously on a schedule or until a condition is met.