agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用。
Claude Code
$ npx -y skills add countbot-ai/CountBot --skill cron-manager --agent claude-code
Codex
$ npx skills add countbot-ai/CountBot --skill cron-manager -a codex -y
Cursor
$ npx skills add countbot-ai/CountBot --skill cron-manager -a cursor -y
Gemini CLI
$ npx skills add countbot-ai/CountBot --skill cron-manager -a gemini-cli -y
GitHub Copilot
$ npx skills add countbot-ai/CountBot --skill cron-manager -a github-copilot -y
OpenCode
$ npx skills add countbot-ai/CountBot --skill cron-manager -a opencode -y
Windsurf
$ npx skills add countbot-ai/CountBot --skill cron-manager -a windsurf -y
name: cron-manager description: 定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用。 version: 1.1.0 always: false
通过命令行管理 CountBot 的定时任务系统,支持完整的 CRUD 操作和会话数据管理。
开始前先快速确认后端可用:
curl -s http://127.0.0.1:8000/api/cron/jobs || echo "后端服务没在运行!"
所有操作优先通过 `exec` 工具执行这个脚本:
python3 skills/cron-manager/scripts/cron_manager.py <command> [args]
硬性规则:
# 基本创建(默认启用自动重试1次) python3 skills/cron-manager/scripts/cron_manager.py create --name "每日天气" --schedule "0 9 * * *" --message "查询今天的天气并生成播报" # 创建不重试的任务 python3 skills/cron-manager/scripts/cron_manager.py create --name "简单任务" --schedule "0 9 * * *" --message "执行简单任务" --max-retries 0 # 创建并推送到当前渠道(多机器人渠道应同时指定 account_id) python3 skills/cron-manager/scripts/cron_manager.py create --name "每日天气" --schedule "0 9 * * *" --message "查询今天的天气并生成播报" --channel feishu --account-id bot --chat-id ou_xxxx --deliver # 创建带自定义重试的任务(失败后最多重试 3 次,每次间隔 60 秒) python3 skills/cron-manager/scripts/cron_manager.py create --name "重要任务" --schedule "0 9 * * *" --message "执行重要任务" --max-retries 3 --retry-delay 60 # 创建一次性任务(成功后自动删除) python3 skills/cron-manager/scripts/cron_manager.py create --name "一次性提醒" --schedule "0 14 * * *" --message "下午2点提醒" --delete-on-success
curl -s http://127.0.0.1:8000/api/cron/jobs || echo "后端服务没在运行!" # 需要更易读的格式时再用脚本 python3 skills/cron-manager/scripts/cron_manager.py list
python3 skills/cron-manager/scripts/cron_manager.py info <job_id>
# 修改调度时间 python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --schedule "0 */2 * * *" # 修改名称 python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --name "新名称" # 修改执行消息 python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --message "新的执行指令" # 修改渠道投递(注意:update 的 --deliver 需要显式写 true/false) python3 skills/cron-manager/scripts/cron_manager.py update <job_id> --channel telegram --account-id default --chat-id 123456 --deliver true
python3 skills/cron-manager/scripts/cron_manager.py delete <job_id>
python3 skills/cron-manager/scripts/cron_manager.py enable <job_id> python3 skills/cron-manager/scripts/cron_manager.py disable <job_id>
python3 skills/cron-manager/scripts/cron_manager.py run <job_id>
python3 skills/cron-manager/scripts/cron_manager.py validate "0 9 * * *"
# 从 JSON 文件批量创建任务 python3 skills/cron-manager/scripts/cron_manager.py batch-create --file tasks.json
JSON 文件格式示例:
[
{
"name": "每日天气",
"schedule": "0 9 * * *",
"message": "查询今天的天气",
"enabled": true,
"max_retries": 3,
"retry_delay": 60
},
{
"name": "每周报告",
"schedule": "0 10 * * 1",
"message": "生成本周工作报告",
"enabled": true,
"delete_on_success": false
}
]# 批量删除多个任务(支持 ID 前缀匹配) python3 skills/cron-manager/scripts/cron_manager.py batch-delete abc123 def456 ghi789
python3 skills/cron-manager/scripts/cron_manager.py messages <job_id> --limit 20
# 保留最近10条 python3 skills/cron-manager/scripts/cron_manager.py clean <job_id> --keep 10 # 清空所有消息 python3 skills/cron-manager/scripts/cron_manager.py clean <job_id> --keep 0
python3 skills/cron-manager/scripts/cron_manager.py reset <job_id>
格式: `分钟 小时 日 月 星期`
| 表达式 | 含义 | |--------|------| | `0 9 * * *` | 每天 9:00 | | `*/30 * * * *` | 每 30 分钟 | | `0 9 * * 1-5` | 工作日 9:00 | | `0 0 1 * *` | 每月 1 日 0:00 | | `0 */2 * * *` | 每 2 小时整点 | | `0 8,12,18 * * *` | 每天 8:00、12:00、18:00 |
当用户通过飞书、钉钉、QQ、Telegram 等渠道与 AI 对话时,系统提示词中会自动包含当前渠道信息:
Channel: feishu Chat ID: ou_xxxx Account ID: bot
创建定时任务时,应主动利用这些信息:
示例:用户在飞书群中说"每天9点提醒我看天气"
python3 skills/cron-manager/scripts/cron_manager.py create --name "每日天气提醒" --schedule "0 9 * * *" --message "查询今天的天气并生成播报" --channel feishu --account-id bot --chat-id ou_xxxx --deliver
Lightweight open-source AI Agent optimized for Chinese users | Native support for domestic large-model coding plans | Compatible with the OpenClaw Skills ecosystem | Integrated with WeChat ClawBot, Weibo Lobster, Feishu, DingTalk, QQ, Xiaozhi AI, Telegram and dsh.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。
百度 AI 搜索。支持网页搜索、百度百科、秒懂百科、AI 智能生成四种模式。自动包含当前日期上下文。当用户要求搜索信息、查询百科、获取最新资讯、搜索新闻、查找资料时使用。
通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。
基于腾讯 SkillHub 搜索、安装和管理技能。用户提到“找技能”“安装 skill”“扩展功能”“启用/禁用 skill”“删除 skill”“安装 SkillHub CLI”时优先使用。
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…