skills/cron-manager/SKILL.md
创建、监控、诊断和修复 OpenClaw cron 任务,支持自然语言时间与常见故障排查。
npx skillsauth add aaaaqwq/agi-super-team cron-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
定时任务管理专家。负责创建、监控、诊断和修复 OpenClaw cron 任务。
根据用户需求准确创建 cron 任务,支持:
分 时 日 月 周
| 需求 | 表达式 | 说明 |
|------|--------|------|
| 每天 9:00 | 0 9 * * * | |
| 每天 9:30 | 30 9 * * * | |
| 工作日 9:00 | 0 9 * * 1-5 | 周一到周五 |
| 周末 10:00 | 0 10 * * 0,6 | 周日和周六 |
| 每小时整点 | 0 * * * * | |
| 每30分钟 | */30 * * * * | |
| 每天多次 | 0 9,12,18 * * * | 9点、12点、18点 |
| 每月1号 | 0 9 1 * * | |
| 需求 | everyMs | |------|---------| | 每5分钟 | 300000 | | 每15分钟 | 900000 | | 每30分钟 | 1800000 | | 每小时 | 3600000 | | 每3小时 | 10800000 | | 每6小时 | 21600000 | | 每12小时 | 43200000 | | 每天 | 86400000 |
| 任务类型 | 推荐模型 | 原因 |
|---------|---------|------|
| 简单脚本执行 | <provider>/gemini-3-flash | 快速、低成本、稳定 |
| 复杂推理/学习 | anapi/claude-opus-4-5-20250514 | 高质量输出 |
| 中文内容生成 | <provider>/kimi-k2.5 | 中文能力强 |
| 快速响应任务 | <provider>/gemini-2.5-flash | 超快速 |
⚠️ 避免使用:
<provider>/glm-4.7 - 有并发限制,不适合频繁任务github-copilot/* - 在 isolated session 中可能不可用| 目标 | ID | 说明 |
|------|-----|------|
| Daniel 私聊 | 8518085684 | ✅ 推荐,最稳定 |
| DailyNews 群 | -1003824568687 | ⚠️ 需确认 bot 在群内 |
{
"name": "任务名称",
"agentId": "telegram-agent",
"enabled": true,
"schedule": {
"kind": "cron",
"expr": "0 9 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "执行任务:\n\n```bash\npython3 ~/clawd/scripts/xxx.py\n```\n\n将结果通过 telegram-push.sh 推送。",
"model": "<provider>/gemini-3-flash",
"timeoutSeconds": 180,
"deliver": true,
"channel": "telegram",
"to": "8518085684"
}
}
{
"name": "XXX监控",
"agentId": "telegram-agent",
"enabled": true,
"schedule": {
"kind": "cron",
"expr": "30 9,14 * * 1-5",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "执行监控任务:\n\n1. 获取数据\n2. 分析变化\n3. 如有异常立即告警\n4. 推送报告到 Telegram",
"model": "<provider>/gemini-3-flash",
"timeoutSeconds": 180,
"deliver": true,
"channel": "telegram",
"to": "8518085684"
}
}
{
"name": "自我学习",
"agentId": "telegram-agent",
"enabled": true,
"schedule": {
"kind": "every",
"everyMs": 10800000
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "【学习任务】\n\n请执行以下学习步骤:\n1. 选择学习主题\n2. 深度研究\n3. 记录笔记\n4. 推送学习报告",
"model": "anapi/claude-opus-4-5-20250514",
"timeoutSeconds": 600,
"deliver": true,
"channel": "telegram",
"to": "8518085684",
"bestEffortDeliver": true
}
}
{
"name": "提醒: XXX",
"agentId": "telegram-agent",
"enabled": true,
"schedule": {
"kind": "at",
"atMs": 1770270000000
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "⏰ 提醒:XXX",
"model": "<provider>/gemini-3-flash",
"timeoutSeconds": 60,
"deliver": true,
"channel": "telegram",
"to": "8518085684"
}
}
{
"name": "每日XXX报告",
"agentId": "telegram-agent",
"enabled": true,
"schedule": {
"kind": "cron",
"expr": "0 9 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "生成每日报告:\n\n1. 收集数据\n2. 分析趋势\n3. 生成报告\n4. 使用 telegram-push.sh 推送",
"model": "<provider>/gemini-3-flash",
"timeoutSeconds": 300,
"deliver": true,
"channel": "telegram",
"to": "8518085684"
}
}
从用户描述中提取:
根据任务类型选择合适的模板
使用 cron tool 的 add action 创建任务
原因: Bot 未加入群组或群组 ID 错误
修复: 改用私聊 ID 8518085684
原因: Agent 不允许使用该模型
修复: 改用 <provider>/gemini-3-flash
原因: enabled 未设置或 schedule 配置错误
修复:
enabled: true原因: 任务执行时间超过 timeoutSeconds 修复: 增加 timeoutSeconds 或优化任务
cron list --includeDisabled
cron add --job <JSON>
cron update --jobId <ID> --patch <JSON>
cron run --jobId <ID>
cron remove --jobId <ID>
~/clawd/skills/cron-manager/cron_doctor.py~/clawd/skills/cron-manager/templates/~/clawd/skills/telegram-push/telegram-push.shdevelopment
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.