← 返回 Skills 市场
18173
总下载
36
收藏
182
当前安装
4
版本数
在 OpenClaw 中安装
/install cron-mastery
功能描述
Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron v...
安全使用建议
Install only if you are comfortable with scheduled jobs that can wake an agent later. Replace all hard-coded Telegram IDs before use, require explicit user approval before any email/news recurring summary, and treat janitor cleanup or `jobs.json` deletion as privileged destructive maintenance that should be previewed and backed up first.
功能分析
Type: OpenClaw Skill
Name: cron-mastery
Version: 1.0.3
The skill demonstrates the use of `systemEvent` payloads targeting the `main` session, which grants the primary agent 'full tool access' and allows it to execute arbitrary instructions provided in the `text` field. While the example instruction in `references/templates.md` ('List all cron jobs... Delete any disabled jobs... Report results.') is for legitimate system maintenance, this mechanism represents a significant prompt injection vulnerability. A malicious actor could potentially craft a `systemEvent` payload to instruct the main agent to perform unauthorized actions (e.g., data exfiltration, arbitrary command execution) if they could inject or modify cron jobs. This is a risky capability without clear malicious intent in the provided examples, thus classified as suspicious.
能力评估
Purpose & Capability
The stated purpose of reliable reminders and cron maintenance is coherent, but reusable examples include a recurring unread-email summary and Telegram delivery to a fixed recipient ID, which expands into sensitive data access and external disclosure if copied as written.
Instruction Scope
The skill explicitly recommends `sessionTarget: "main"` for janitor jobs so the primary agent with full tool access can delete cron jobs, but the examples do not require a preview, confirmation, narrow target list, or rollback path.
Install Mechanism
The artifact contains only Markdown files and no executable scripts, install hooks, package code, or static-scan findings.
Credentials
Cron scheduling and notification delivery are proportionate to the skill, but hard-coded Telegram recipient values and recurring email/news access are under-scoped for a general template.
Persistence & Privilege
The skill intentionally creates persistent scheduled jobs that can wake agents later, recommends storing timezone in `MEMORY.md`, and advises manual deletion of the cron jobs state file as troubleshooting without clear backup or last-resort framing.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cron-mastery - 安装完成后,直接呼叫该 Skill 的名称或使用
/cron-mastery触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
cron-mastery 1.0.3
- Updated documentation to clarify best practices for session targeting in janitor/maintenance jobs; `sessionTarget: "main"` is now emphasized as critical for system maintenance.
- Enhanced the troubleshooting section with new advice for resolving gateway timeout issues and corrupted job state.
- Modernized the legacy migration guide and examples to match OpenClaw 2026.2.15+ patterns.
- Revised internal references, replacing and consolidating template documentation files.
v1.0.2
Summary: Major update for OpenClaw 2026.2.3+ with modernized scheduling, improved reliability, and streamlined patterns.
- Standardizes all reminder setups on the new "at" ISO timestamp format and single-step cron.add (no more atMs).
- Adds explicit instructions for push notifications vs. silent logs; sub-agent must use "Strict" prompt for reliable delivery.
- Clarifies "gateway tick" timing—execution can vary by 10–60s depending on gateway, not instant at the second.
- Introduces auto-deletion of one-shot jobs after success; manual janitor now legacy unless deleteAfterRun is false.
- Updates troubleshooting for new delivery system and session targeting; removes need for most manual cleanups.
- Provides a migration guide from legacy (pre-2026.2.3) patterns to current best practices.
v1.0.1
cron-mastery v1.0.1 changelog
- Added a new "Delivery Rule (CRITICAL)" section: Always set `"deliver": true` in `agentTurn` payloads scheduled by Cron to ensure messages are visible to the user.
- Explained that without `"deliver": true`, agent messages will not be shown to the human.
- No code changes; documentation only.
v1.0.0
- Initial release of cron-mastery: a comprehensive guide to managing precise time-based tasks in OpenClaw.
- Clarifies when to use Cron (for exact schedules) vs Heartbeat (for casual checks) to ensure reliable reminders and task execution.
- Provides standardized JSON patterns for scheduling reminders and one-shot tasks using Cron.
- Introduces the “Daily Janitor”: a method to auto-clean finished one-shot cron jobs and reduce job list clutter.
- Emphasizes timezone handling for correct scheduling and offers detailed troubleshooting tips.
元数据
常见问题
Cron Mastery 是什么?
Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron v... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 18173 次。
如何安装 Cron Mastery?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cron-mastery」即可一键安装,无需额外配置。
Cron Mastery 是免费的吗?
是的,Cron Mastery 完全免费(开源免费),可自由下载、安装和使用。
Cron Mastery 支持哪些平台?
Cron Mastery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cron Mastery?
由 i-mw(@i-mw)开发并维护,当前版本 v1.0.3。
推荐 Skills