cron-manager

cron-manager is a skill for Claude Code, Codex from countbot-ai/CountBot. It costs 42 tokens per session (2,409 once invoked), scanned A, original, MIT.

A command-line manager for scheduled tasks, which are jobs that run at specified times or intervals. It handles creating, viewing, changing, deleting, enabling, disabling, running, and reviewing the history of those tasks.

In plain words
What is it for?
Use it to create reminders or recurring jobs, inspect existing schedules, change their timing, pause or resume them, run them immediately, view their messages, or clean their history.
Why use it?
It provides one defined script and command format for managing schedules and their stored conversation data. This avoids relying on guessed commands and helps confirm that the scheduling service is available.

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/countbot-ai/countbot/cron-manager
Any agent
npx skills add countbot-ai/CountBot --skill cron-manager
Clone the repo
git clone --depth 1 https://github.com/countbot-ai/CountBot

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/countbot-ai/countbot/cron-manager.svg)](https://agentmods.dev/skills/countbot-ai/countbot/cron-manager)
Your own site
<a href="https://agentmods.dev/skills/countbot-ai/countbot/cron-manager"><img src="https://agentmods.dev/badge/skills/countbot-ai/countbot/cron-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00042 $0.02409
Opus 5 $0.00021 $0.01205
Sonnet 5 $0.00008 $0.00482
Haiku 4.5 $0.00004 $0.00241

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

Security

Grade A, and why

cron-manager scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cron_manager.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:8000/api/cron/jobs || echo "后端服务没在运行!"
workspace/skills/cron-manager/SKILL.md · 251 lines

How it starts

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

定时任务管理

通过命令行管理 CountBot 的定时任务系统,支持完整的 CRUD 操作和会话数据管理。

使用场景

  • 用户说"每天早上9点提醒我开会" -> 创建定时任务
  • 用户说"帮我设置一个每小时查天气的任务" -> 创建定时任务
  • 用户说"看看我有哪些定时任务" -> 列出任务
  • 用户说"把那个天气任务改成每2小时执行" -> 修改任务
  • 用户说"删掉那个新闻任务" -> 删除任务
  • 用户说"暂停/恢复某个任务" -> 禁用/启用任务
  • 用户说"立即执行一次那个任务" -> 手动触发
  • 用户说"看看天气任务的历史消息" -> 查看会话消息
  • 用户说"清理一下定时任务的历史记录" -> 清理会话

命令行调用

开始前先快速确认后端可用:

curl -s http://127.0.0.1:8000/api/cron/jobs || echo "后端服务没在运行!"

所有操作优先通过 exec 工具执行这个脚本:

python3 skills/cron-manager/scripts/cron_manager.py <command> [args]

硬性规则:

  • 只用 skills/cron-manager/scripts/cron_manager.py 这个脚本名,不要猜 cron.py
  • info/delete/enable/disable/run/messages/clean/reset 都优先传位置参数 <job_id>
  • 不要先 ls、再 help、再试错多次;优先直接按下面的准确命令执行
  • 只有在命令返回参数错误时,才补一条 -h 查看帮助

创建任务

# 基本创建(默认启用自动重试1次)
python3 skills/cron-manager/scripts/cron_manager.py create --name "每日天气" --schedule "0 9 * * *" --message "查询今天的天气并生成播报"

# 创建不重试的任务
python3 skills/cron-manager/scripts/cron_manager.py create --name "简单任务" --schedule "0 9 * * *" --message "执行简单任务" --max-retries 0

# 创建并推送到当前渠道(多机器人渠道应同时指定 account_id)
python3 skills/cron-manager/scripts/cron_manager.py create --name "每日天气" --schedule "0 9 * * *" --message "查询今天的天气并生成播报" --channel feishu --account-id bot --chat-id ou_xxxx --deliver

# 创建带自定义重试的任务(失败后最多重试 3 次,每次间隔 60 秒)
python3 skills/cron-manager/scripts/cron_manager.py create --name "重要任务" --schedule "0 9 * * *" --message "执行重要任务" --max-retries 3 --retry-delay 60

# 创建一次性任务(成功后自动删除)
python3 skills/cron-manager/scripts/cron_manager.py create --name "一次性提醒" --schedule "0 14 * * *" --message "下午2点提醒" --delete-on-success

列出任务

curl -s http://127.0.0.1:8000/api/cron/jobs || echo "后端服务没在运行!"

# 需要更易读的格式时再用脚本
python3 skills/cron-manager/scripts/cron_manager.py list

查看任务详情

python3 skills/cron-manager/scripts/cron_manager.py info <job_id>

修改任务

# 修改调度时间
python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --schedule "0 */2 * * *"

# 修改名称
python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --name "新名称"

# 修改执行消息
python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --message "新的执行指令"

# 修改渠道投递(注意:update 的 --deliver 需要显式写 true/false)
python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --channel telegram --account-id default --chat-id 123456 --deliver true

Read the full file on GitHub · 251 lines

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. 4d ago First seen · 251 lines · 42 tokens per session scan A dd869a0b5200

Subscribe to this mod's changes

cron-manager is a skill published in the GitHub repository countbot-ai/CountBot (773 stars, last pushed 7d ago), licensed MIT. It adds 42 tokens to every session and 2,409 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.