{
  "_meta": {
    "version": 1,
    "created_at": "2026-06-28T09:00:00+08:00",
    "description": "Hermes 定时任务注册表 — 所有模板化定时任务的集中定义"
  },
  "templates": [
    {
      "id": "daily-system-health",
      "name": "系统健康日报",
      "description": "每日服务器健康检查报告，发送到公司群",
      "target_profile": "wecom-ops",
      "schedule": "0 8 * * *",
      "deliver": "origin",
      "prompt": "请执行一次完整的系统健康检查并生成日报：\n1. 运行 `docker ps` 检查所有容器状态\n2. 检查磁盘使用率（df -h）\n3. 检查系统负载（uptime）\n4. 检查内存使用（free -h）\n5. 检查最近12小时的系统日志异常（grep -i error /var/log/syslog | tail -10）\n\n按以下格式生成报告：\n```\n🏥 系统健康日报 YYYY-MM-DD\n─────────────────────\n✅ Docker: X/Y 容器正常运行\n✅ 磁盘: 使用率 XX%\n✅ 负载: 平均值 XX\n✅ 内存: 已用 XG / 总量 XG\n⚠️ 异常: 发现 X 条错误日志\n\n关键事件：\n- ...\n```",
      "enabled_toolsets": [
        "terminal",
        "file"
      ],
      "tags": [
        "daily",
        "ops",
        "health"
      ]
    },
    {
      "id": "weekly-project-report",
      "name": "项目进展周报",
      "description": "每周一上午生成项目进展同步报告",
      "target_profile": "wecom-project",
      "schedule": "0 9 * * 1",
      "deliver": "origin",
      "prompt": "请生成项目Bot本周的工作总结：\n1. 查看最近7天的会话记录（session_search）\n2. 归纳主要工作内容\n3. 列出待办事项\n4. 形成周报格式\n\n格式：\n```\n📋 项目周报 W27\n─────────────────\n📊 本周完成：\n- ...\n\n📌 待办事项：\n- ...\n\n📈 趋势：\n- ...\n```",
      "enabled_toolsets": [
        "session_search",
        "terminal"
      ],
      "tags": [
        "weekly",
        "project",
        "report"
      ]
    },
    {
      "id": "daily-finance-summary",
      "name": "财务日报",
      "description": "每日财务运营摘要（10:00发送）",
      "target_profile": "wecom-finance",
      "schedule": "0 10 * * *",
      "deliver": "origin",
      "prompt": "请生成今日财务运营摘要：\n1. 确认财务Bot在线状态\n2. 如需人工处理的事项请在回复中列出\n\n回复格式（简洁为主）：\n```\n💰 财务日报 YYYY-MM-DD\n─────────────────\n📊 状态：正常运行\n📌 待办：\n- ...\n\n⚠️ 需关注：\n- ...\n```",
      "enabled_toolsets": [
        "session_search"
      ],
      "tags": [
        "daily",
        "finance"
      ]
    },
    {
      "id": "cross-profile-daily-digest",
      "name": "跨Profile日报汇总",
      "description": "每日中午聚合各Profile日报摘要，统一汇报",
      "target_profile": "wecom-yanxue",
      "schedule": "0 12 * * *",
      "deliver": "origin",
      "prompt": "请执行跨Profile日报汇总任务：\n\n通过API调度各Profile获取今日状态摘要：\n1. ops（:8649）- 系统健康\n2. project（:8650）- 项目进展\n3. finance（:8651）- 财务状态\n\n使用 curl 调用各 Profile API（参考 main-agent-dispatcher skill）。\n\n汇总格式：\n```\n📡 跨Profile日报汇总 YYYY-MM-DD\n══════════════════════════\n\n🏥 运维摘要：\n[ops的回复内容]\n\n📋 项目摘要：\n[project的回复内容]\n\n💰 财务摘要：\n[finance的回复内容]\n```",
      "enabled_toolsets": [
        "terminal",
        "file"
      ],
      "tags": [
        "daily",
        "cross-profile",
        "digest"
      ],
      "skills": [
        "main-agent-dispatcher"
      ]
    },
    {
      "id": "daily-content-digest",
      "name": "内容运营日报",
      "description": "每日内容创作回顾与规划（09:30发送）",
      "target_profile": "wecom-creative",
      "schedule": "30 9 * * *",
      "deliver": "origin",
      "prompt": "请生成内容运营日报：\n1. 回顾最近24小时的创作活动\n2. 今天的创作计划\n\n简洁回复即可。",
      "enabled_toolsets": [
        "session_search"
      ],
      "tags": [
        "daily",
        "content"
      ]
    }
  ],
  "active_jobs": [
    {
      "template_id": "---",
      "name": "梦境模式-夜间复盘",
      "actual_job_id": "6edcef90247e",
      "target_profile": "wecom-yanxue",
      "schedule": "0 3 * * *",
      "status": "scheduled",
      "created_at": "2026-06-26T22:42:23+08:00",
      "runs_completed": 6,
      "last_run_at": "2026-06-28T03:07:33.789620+08:00"
    },
    {
      "template_id": "---",
      "name": "审计日志推送",
      "actual_job_id": "b59cee91a881",
      "target_profile": "wecom-yanxue",
      "schedule": "every 15m",
      "status": "scheduled",
      "created_at": "2026-06-28T08:47:55+08:00",
      "runs_completed": 2,
      "last_run_at": "2026-06-28T09:03:10.290323+08:00"
    },
    {
      "template_id": "daily-system-health",
      "name": "系统健康日报",
      "actual_job_id": "e5eb1905a8e5",
      "target_profile": "wecom-ops",
      "schedule": "0 8 * * *",
      "status": "scheduled",
      "runs_completed": 0
    },
    {
      "template_id": "cross-profile-daily-digest",
      "name": "跨Profile日报汇总",
      "actual_job_id": "35d966d246b2",
      "target_profile": "wecom-yanxue",
      "schedule": "0 12 * * *",
      "status": "scheduled",
      "runs_completed": 0
    },
    {
      "template_id": "daily-finance-summary",
      "name": "财务日报",
      "actual_job_id": "0ce690b7fe4d",
      "target_profile": "wecom-finance",
      "schedule": "0 10 * * *",
      "status": "scheduled",
      "runs_completed": 0
    }
  ]
}