用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Peiiii/nextclaw --skill cron命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cron |
| description | Schedule reminders and recurring tasks. |
| description_zh | 创建和管理提醒、定时任务与周期性自动化,是 NextClaw 内置的 cron 调度能力说明。 |
Use the cron tool to schedule reminders or recurring tasks.
cron is the only built-in automation scheduler. Do not refer users to Heartbeat or HEARTBEAT.md.
Before creating a job, decide whether the user wants a one-time action or a recurring action:
at for one-time tasks such as "in 5 minutes", "at 6pm today", "tomorrow morning", or "only once".every only for true intervals that should repeat forever.cron only for repeating calendar schedules such as "every weekday at 9am".When the user gives a relative time such as "in 1 minute", "5 minutes later", or "1分钟后", do not guess the base time.
exec with date.at.When filling message, write the runtime instruction for the agent, not just the final outbound text fragment.
At the scheduled time, send a WeChat message to the current chat saying: "会议还有 5 分钟开始。"会议还有 5 分钟开始。If the user wants an exact message sent through WeChat or another channel, the instruction should explicitly say to send that exact text.
If the user wants the scheduled task to continue an existing conversation or explicitly provides a session id, pass it as sessionId. Omit sessionId when the task should use its own job-owned cron:<jobId> session.
If the user asks for a periodic follow-up, recurring check, or “continue this later” workflow, prefer binding the cron job to the existing sessionId instead of inventing a second automation mechanism.
If the user wants a periodic review of a file, workflow, inbox, or project board, express that directly in message.
Read docs/TODO.md, check what changed since the last run, and summarize only actionable updates.Continue the current release investigation, inspect the latest logs, and report only new blockers.heartbeatadd: create a scheduled joblist: list all existing jobs, including disabled onesenable: enable an existing jobdisable: disable an existing job without deleting itremove: delete an existing jobFixed reminder:
cron(action="add", name="break-reminder", message="Time to take a break!", every=1200)
Dynamic task (agent executes each time):
cron(action="add", name="github-stars", message="Check Peiiii/nextclaw GitHub stars and report", every=600)
Continue an existing session:
cron(action="add", name="session-follow-up", message="Continue the existing investigation", every=3600, sessionId="session-existing")
One-time reminder:
cron(action="add", name="wechat-follow-up", message="At the scheduled time, send a WeChat message to the current chat saying: \"我 5 分钟后到。\"", at="2026-03-31T18:05:00+08:00")
List/remove:
cron(action="list")
cron(action="disable", jobId="abc123")
cron(action="enable", jobId="abc123")
cron(action="remove", jobId="abc123")
| User says | Parameters |
|---|---|
| in 5 minutes | at: "" |
| today at 6pm | at: "" |
| tomorrow morning once | at: "" |
| every 20 minutes | every: 1200 |
| every hour | every: 3600 |
| every day at 8am | cron: "0 8 * * *" |
| weekdays at 5pm | cron: "0 17 * * 1-5" |