cron-scheduler

cron-scheduler is a skill for Claude Code, Codex from ntygod/ZhiWei. It costs 39 tokens per session (656 once invoked), scanned A, original, MIT.

A scheduling guide for creating and managing tasks that run at exact repeating times, such as every day, week, or hour.

In plain words
What is it for?
Use it to create, list, pause, resume, edit, or delete recurring agent tasks and reminders.
Why use it?
It separates recurring schedules from one-time reminders and helps preserve the intended task state when pausing, changing, or removing a schedule.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, list, pause, resume, edit, or delete recurring agent tasks and reminders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntygod/zhiwei/cron-scheduler
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 ntygod/ZhiWei --skill cron-scheduler
Clone the repo
git clone --depth 1 https://github.com/ntygod/ZhiWei

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntygod/zhiwei/cron-scheduler/github.svg)](https://agentmods.dev/skills/ntygod/zhiwei/cron-scheduler)
Your own site
<a href="https://agentmods.dev/skills/ntygod/zhiwei/cron-scheduler"><img src="https://agentmods.dev/badge/skills/ntygod/zhiwei/cron-scheduler/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-scheduler

Your own site · 80×15
<a href="https://agentmods.dev/skills/ntygod/zhiwei/cron-scheduler"><img src="https://agentmods.dev/badge/skills/ntygod/zhiwei/cron-scheduler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00656
Opus 5 $0.00019 $0.00328
Sonnet 5 $0.00008 $0.00131
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

cron-scheduler 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.

src/main/resources/skills/cron-scheduler/SKILL.md · 59 lines

What it actually says

定时任务调度指南

通过 cron 工具的 action 参数路由所有调度操作。

适用场景

  • 精确时间调度("每天早上 8 点"、"每周一 10 点")
  • 周期性提醒("每隔 2 小时提醒我喝水")
  • 周期性 Agent 任务("每天搜索最新 AI 资讯"、"每周生成周报")
  • 暂停 / 恢复 / 查询 / 删除既有任务

不适用场景

  • 模糊持续关注("留意 X 这事")→ memory(action="create") 记到记忆,由主动提醒引擎处理
  • 一次性任务("等会提醒我做 X")→ 直接执行或用工作区登记,不创 cron
  • 一次性较复杂任务的多步执行 → daily-manager 协调,不创 cron

工作流(按用户表达分流)

用户表达 action
"每天/每周/每小时 X" create
"看看我有哪些定时任务" list
"X 任务先不跑了 / 暂停" updatestatus="paused"
"X 任务恢复" updatestatus="active"
"改下 X 的时间 / 内容" update
"把 X 这个定时任务删了" remove

各路径要点:

  • 任务指令清楚化instruction 写清触发后做什么,避免歧义
  • 高风险动作预声明:任务涉及删文件、联网下载、桌面自动化时,创建时让用户预授权
  • 暂停优先于删除:用户说"先不跑了"用 updatestatus="paused",不要直接 remove
  • 删除会清执行日志:告诉用户后再执行

静默协议(独有)

任务被定时调度自动触发执行后,无内容要汇报(例行检查一切正常)时回复 TASK_SILENT(出现在回复开头或结尾),系统不推消息给用户。仅自动触发场景生效,用户在会话中显式问任务结果时正常回答。

详细参考

  • 各 action 命令模板 + Cron 表达式速查 + 错误处理:{skill_dir}/references/cron-reference.md
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 59 lines · 39 tokens per session scan A 4ae823f33b4c

Subscribe to this mod's changes

cron-scheduler is a skill published in the GitHub repository ntygod/ZhiWei (138 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 656 once invoked, about $0.0002 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