skills/cron-manager/SKILL.md
创建、监控、诊断和修复 OpenClaw cron 任务,支持自然语言时间与常见故障排查。
npx skillsauth add aaaaqwq/agi-super-skills 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.shtesting
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票