agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…
定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用。
$ npx -y skills add countbot-ai/CountBot --skill cron-manager --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cron-managerContext preview
The summary Claude sees to decide when to auto-load this skill.
定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用。
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
更适配中文用户的轻量开源AI Agent | 国产大模型Coding plan支持 | 兼容OpenClaw Skills生态| 已接入微信ClawBot/微博龙虾/飞书/钉钉/QQ/小智AI/Telegram/deepseek-v4。
Repo: countbot-ai/CountBot
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…
多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。
百度 AI 搜索。支持网页搜索、百度百科、秒懂百科、AI 智能生成四种模式。自动包含当前日期上下文。当用户要求搜索信息、查询百科、获取最新资讯、搜索新闻、查找资料时使用。
基于腾讯 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 human-written. Based on Wikipedia's…