cron

cron is a skill for Claude Code, Codex from KonghaYao/peri. It costs 68 tokens per session (658 once invoked), scanned A, original, Apache-2.0.

A scheduler for running the same agent task at set times or repeating intervals, such as every day or every five minutes. It uses the standard five-part cron schedule format.

In plain words
What is it for?
Use it for recurring reminders, reports, status checks, and polling. It can also list scheduled tasks or remove one by its ID.
Why use it?
It removes the need to remember and start recurring work manually. It also lets you view or remove schedules that already exist.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/konghayao/peri/cron
Any agent
npx skills add KonghaYao/peri --skill cron
Clone the repo
git clone --depth 1 https://github.com/KonghaYao/peri

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cron

README.md
[![agentmods](https://agentmods.dev/badge/skills/konghayao/peri/cron.svg)](https://agentmods.dev/skills/konghayao/peri/cron)
Your own site
<a href="https://agentmods.dev/skills/konghayao/peri/cron"><img src="https://agentmods.dev/badge/skills/konghayao/peri/cron.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00068 $0.00658
Opus 5 $0.00034 $0.00329
Sonnet 5 $0.00014 $0.00132
Haiku 4.5 $0.00007 $0.00066

Measured 5d ago against content hash aebdb75d76f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cron scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

peri-middlewares/src/skills/builtin/skills/cron/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scheduled Tasks (Cron)

You have access to scheduled task tools (cron_register, cron_list, cron_remove) for registering recurring automated tasks using standard 5-field cron expressions (minute hour day_of_month month day_of_week).

When to Use

  • The user asks for a recurring/periodic task: reminders, periodic reports, status checks, polling.
  • The user asks to manage existing scheduled tasks (list, remove).
  • The user's phrasing implies "every X", "每天/每周/每月", "at 9am daily", etc.

Do NOT register a cron task just because the user mentions a time — only when they explicitly want it to repeat automatically.

Tools

Tool Purpose
cron_register(expression, prompt) Register a new scheduled task. prompt is the user message submitted when the task fires.
cron_list() List all registered tasks with status, next fire time, and prompt.
cron_remove(id) Remove a task by its ID (shown by cron_list).

Cron Expression Format

Standard 5-field cron expression:

minute hour day_of_month month day_of_week

Examples:

  • */5 * * * * — every 5 minutes
  • 0 9 * * * — every day at 09:00
  • 0 9 * * 1-5 — weekdays at 09:00
  • 30 8 1 * * — the 1st of each month at 08:30

Use cron_list to verify the registered task and its next fire time after registering.

Safety

cron_register schedules future agent turns that fire without further user confirmation — treat it like delegating execution authority. Before registering:

  • Confirm the user explicitly asked for a recurring task. Do not register cron tasks speculatively or "to be helpful."
  • Prefer prompts that read or report over prompts that write, delete, commit, or run destructive commands. A cron that fires git push --force overnight is a footgun.
  • State the schedule and the exact prompt you are about to register, then wait for confirmation if there is any ambiguity.
  • Avoid tight intervals (e.g. * * * * *) unless the user asked for them — they burn tokens fast and can flood the session.

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 64 lines · 68 tokens per session scan A aebdb75d76f9

Subscribe to this mod's changes

cron is a skill published in the GitHub repository KonghaYao/peri (159 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 658 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

plugin-creator

Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…

openinterpreter/openinterpreter · 86 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openinterpreter/openinterpreter · 113 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openinterpreter/openinterpreter · 114 tokens

skill-creator

Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.

openinterpreter/openinterpreter · 21 tokens

codex-pr-body

Update the title and body of one or more pull requests.

openinterpreter/openinterpreter · 17 tokens