cron-mastery

cron-mastery is a skill for Claude Code from an8079/take-skills. It costs 23 tokens per session (759 once invoked), scanned A, original, MIT.

A guide for creating, reading, checking, and visualising cron schedules. Cron is a standard format for running commands automatically at specified minutes, hours, dates, months, or weekdays.

In plain words
What is it for?
Generating schedules such as daily, weekly, hourly, or interval-based jobs, explaining existing expressions, checking valid ranges, and converting some natural-language schedules.
Why use it?
It reduces mistakes when a scheduled task runs at the wrong time or when a cron expression is difficult to understand.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the claude-dev-assistant plugin — 21 skills, 39 commands shipped together

Good fit Generating schedules such as daily, weekly, hourly, or interval-based jobs, explaining existing expressions, checking valid ranges, and converting some natural-language schedules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/an8079/take-skills/cron-mastery
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.

Any agent
npx skills add an8079/take-skills --skill cron-mastery
Clone the repo
git clone --depth 1 https://github.com/an8079/take-skills

Made for: Claude Code.

Or install claude-dev-assistant, the plugin that ships this one along with the rest of its 21 skills, 39 commands.

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-mastery

README.md
[![agentmods](https://agentmods.dev/badge/skills/an8079/take-skills/cron-mastery/github.svg)](https://agentmods.dev/skills/an8079/take-skills/cron-mastery)
Your own site
<a href="https://agentmods.dev/skills/an8079/take-skills/cron-mastery"><img src="https://agentmods.dev/badge/skills/an8079/take-skills/cron-mastery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cron-mastery

Your own site · 80×15
<a href="https://agentmods.dev/skills/an8079/take-skills/cron-mastery"><img src="https://agentmods.dev/badge/skills/an8079/take-skills/cron-mastery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00023 $0.00759
Opus 5 $0.00012 $0.00380
Sonnet 5 $0.00005 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 10d ago against content hash b172ea1224f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cron-mastery 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 10d 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.

skills/cron-mastery/SKILL.md · 119 lines

What it actually says

cron-mastery — Cron调度大师

遇到cron表达式写不对?不知道哪个时间点触发?用这个skill直接给你生成+验证。

触发条件

  • 用户提到cron、crontab、定时任务、调度
  • 需要生成或解析cron表达式
  • 不确定cron格式是否正确

工具列表

无特殊工具,主要靠分析 + 文档生成

技能参数

参数 类型 必填 说明
minutes string 分钟,默认*
hours string 小时,默认*
dayOfMonth string 日期,默认*
month string 月份,默认*
dayOfWeek string 星期,默认*

Cron格式说明

┌───────────── 分钟 (0-59)
│ ┌───────────── 小时 (0-23)
│ │ ┌───────────── 日期 (1-31)
│ │ │ ┌───────────── 月份 (1-12)
│ │ │ │ ┌───────────── 星期 (0-6,0=周日)
│ │ │ │ │
* * * * *

常用模式库

每分钟

* * * * *

每小时(第30分钟)

30 * * * *

每天凌晨3点

0 3 * * *

每4小时

0 */4 * * *

每周一凌晨6点

0 6 * * 1

每月1日凌晨0点

0 0 1 * *

工作日每天9点

0 9 * * 1-5

每30分钟(OpenClaw cron格式)

*/30 * * * *

验证规则

  1. 数值范围必须在有效区间内
  2. 星期用0-6,不要用7
  3. 月份用1-12,不要混淆
  4. */n 表示每n个单位触发一次

示例对话

用户: 帮我生成一个每周一三五下午3点执行的cron AI:

0 15 * * 1,3,5

用户: 这个cron是什么意思:0 */6 * * * AI: 每6小时整点执行一次(0:00, 6:00, 12:00, 18:00)

OpenClaw Cron特殊格式

OpenClaw支持自然语言调度,示例:

  • every 5 minutes → 每5分钟
  • every 4h → 每4小时
  • every day at 9am → 每天9点
  • every Monday at 6 → 每周一6点

转换为标准cron:

*/5 * * * *
0 */4 * * *
0 9 * * *
0 6 * * 1
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. 10d ago First seen · 119 lines · 23 tokens per session scan A b172ea1224f6

Subscribe to this mod's changes

cron-mastery is a skill published in the GitHub repository an8079/take-skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 759 once invoked, about $0.0001 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-31.