cron-schedule
What it does
This skill schedules a background task on a clock, such as a repeating security scan. It is for people who want routine checks to run without having to remember them.
When to use it
- ✓When you want a check to run every few minutes while you work.
- ✓When you want a routine scan or memory cleanup to happen on a set schedule.
- ✓When you want to stop a recurring job you no longer need.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-loop-workers/skills/cron-schedule/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run the security audit every 15 minutes while I work today.”
5 new skills a week. 1 minute to read.
How it works
The skill creates a recurring job with a five-part cron time and a prompt to run. These jobs live only while the session is open, and recurring jobs expire after seven days. You can cancel a job by its ID.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Use CronCreate for a worker that should fire on a clock while this Claude Code session is open:
CronCreate({ cron: "*/15 * * * *", prompt: "Dispatch the audit worker with mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: \"audit\" }) and report anything critical", recurring: true })
The parameters are cron (five-field expression), prompt and recurring. A schedule: field does not exist. These jobs live in the session: they stop when you close it, and recurring jobs expire on their own after 7 days. Cancel one sooner with CronDelete (find its id with CronList). For a worker that must keep running after the session ends, use /schedule (cloud routines) or an OS scheduler (cron, systemd timer) that calls npx @claude-flow/cli@latest hooks worker dispatch --trigger audit.
Recommended Schedules
| Worker | Cron | Description |
|---|---|---|
| audit | */15 * * * * |
Security scanning |
| optimize | */30 * * * * |
Performance optimization |
| consolidate | 0 * * * * |
Memory consolidation |
| map | */30 * * * * |
Codebase mapping |
| testgaps | */15 * * * * |
Test coverage analysis |
| document | 0 */2 * * * |
API documentation |
When to Use Cron vs Loop
/loop: In-session, self-pacing. Use for active development.- CronCreate: In-session, fixed clock, auto-expires after 7 days. Use for regular checks while you work.
/scheduleor an OS scheduler: Survives the session. Use for CI-style monitoring.
FAQ
Do scheduled jobs keep running after I close the session?
No. They stop when the session closes. For jobs that must keep running, the source suggests a cloud routine or an operating system scheduler.
How long do recurring jobs last?
They expire on their own after seven days.
How do I stop a job?
You can cancel it with the delete command using its ID, which you can find in the job list.
Details
Original description by the author
Schedule persistent background workers via CronCreate
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1641
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.