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.
npx agentmods add skills/mateaix/mateclaw/cronnpx skills add mateaix/mateclaw --skill crongit clone --depth 1 https://github.com/mateaix/mateclawWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00042 | $0.00812 |
| Opus 5 | $0.00021 | $0.00406 |
| Sonnet 5 | $0.00008 | $0.00162 |
| Haiku 4.5 | $0.00004 | $0.00081 |
Grade A, and why
cron 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 2d 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.
What it actually says
定时任务管理
何时使用
只有在需要未来某个时间自动执行,或按周期重复执行时使用本技能。
应该使用
- 用户要求"每天 / 每周 / 每小时"执行某件事
- 用户要求"明天 9 点 / 下周一 / 某个时间"自动提醒或执行
- 需要长期周期性通知、检查、汇报
不应使用
- 只是现在立即执行一次
- 只是当前会话中的正常回复
- 用户没有明确执行时间或周期
工具速查
| 操作 | 工具调用 |
|---|---|
| 查看所有任务 | list_cron_jobs() |
| 创建任务 | create_cron_job(name, cronExpression, triggerMessage, timezone) |
| 暂停任务 | toggle_cron_job(jobId, enabled=false) |
| 恢复任务 | toggle_cron_job(jobId, enabled=true) |
| 删除任务 | delete_cron_job(jobId) |
工作流程
第一步:确认必要信息
创建前必须确认以下信息,缺一不可:
- 任务名称(
name) - 执行周期(
cronExpression,5 段 cron 表达式) - 触发消息(
triggerMessage,任务触发时 Agent 收到的提示词) - 时区(
timezone,可选,默认Asia/Shanghai)
信息不全时先追问用户,不要用占位符创建任务。
第二步:创建任务
create_cron_job(
name="每日早报",
cronExpression="0 9 * * *",
triggerMessage="请获取今日财经新闻并发送摘要给用户",
timezone="Asia/Shanghai"
)
第三步:管理任务
查看所有任务:
list_cron_jobs()
暂停(从返回的任务列表中获取 jobId):
toggle_cron_job(jobId=123, enabled=false)
恢复:
toggle_cron_job(jobId=123, enabled=true)
删除:
delete_cron_job(jobId=123)
Cron 表达式参考(5 段格式)
格式:分 时 日 月 周
0 9 * * * 每天 09:00
0 */2 * * * 每 2 小时整点
30 8 * * 1-5 工作日 08:30
0 0 * * 0 每周日零点
*/15 * * * * 每 15 分钟
0 9,18 * * * 每天 09:00 和 18:00
常见错误
- 缺少信息就创建:必须先确认周期、名称和触发消息
- 只是立即执行一次:不需要创建 cron,直接执行即可
- 时区混淆:默认
Asia/Shanghai;若用户在其他时区,明确指定
安全须知
triggerMessage是 Agent 触发时收到的提示词,不是发给用户的消息- 避免创建执行频率极高(< 5 分钟)的任务,除非用户明确需要
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.
- 2d ago First seen · 107 lines · 42 tokens per session scan A b5571101c47a
cron is a skill published in the GitHub repository mateaix/mateclaw (1,061 stars, last pushed 2d ago), licensed Apache-2.0. It adds 42 tokens to every session and 812 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.
Other skills, from other repositories
make-skill
Use this skill when sedimenting a session into a reusable workspace skill. Triggers when the user wants to turn the current conversation, workflow, or troubleshooting path into a SKILL.md. Phrases like 'turn this into a skill', 'remember how I did X', 'save this workflow', 'make a skill from this', and any /make-skill…
make-skill
用于把当前会话沉淀为可复用的 workspace skill。当用户希望把当前对话、工作流或排错路径写成 SKILL.md 时触发。触发表达包括「把这个变成 skill」「记住我是怎么做 X 的」「保存这个工作流」「make a skill from this」以及任何 /make-skill 调用。.
terraform-skill
Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code…
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…
docx
当用户需要创建、读取、编辑或处理 Word 文档(.docx)时,使用此技能。触发场景包括提到“Word 文档”、“.docx”,或要求生成带目录、标题、页码、信头等格式的专业文档;也包括提取或重组 .docx 内容、插入或替换图片、在 Word 文件中查找替换、处理修订或批注,以及将内容整理为正式 Word 文档。如果用户要求生成“报告”“备忘录”“信函”“模板”等 Word / .docx 交付物,也应使用此技能。不要用于 PDF、电子表格、Google Docs,或与文档生成无关的一般编程任务。.
multi_agent_collaboration
Use this skill when another agent's expertise or context is needed, or when the user explicitly asks to involve another agent. First list agents, then use qwenpaw agents chat for two-way communication with replies.