← 返回
开发者工具 Key 中文

Rootly Morning Brief

Generate and deliver a Rootly morning incident digest for on-call operations. Use when the user asks for a daily Rootly briefing, incident summary, on-call s...
生成并交付Rootly早晨事故摘要,供值班运营使用。当用户请求每日Rootly简报、事故概览或值班相关信息时使用。
yanibu2777 yanibu2777 来源
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 466
下载
💾 7
安装
1
版本
#latest

概述

Rootly Morning Brief

Run scripts/rootly_morning_brief.py to print a short Rootly digest to stdout. OpenClaw cron --announce handles Slack delivery.

The output is phone-friendly by default: one line per item, Slack deep links for drill-down, and --max-items defaults to 3.

Required Inputs

  • ROOTLY_API_KEY: Rootly API key (or a readable secret file fallback)

Optional Inputs

  • ROOTLY_BASE_URL (default https://api.rootly.com)
  • ROOTLY_TIMEZONE (default America/Toronto)
  • ROOTLY_INCLUDE_PRIVATE (true/false, default false)
  • ROOTLY_API_KEY_FILE (path to a file containing only the API key)
  • ROOTLY_BRIEF_LOG_LEVEL (WARNING default; set to INFO or DEBUG for troubleshooting)
  • ROOTLY_MOCK_DATA_DIR (optional local mock data directory)

Run Commands

Manual test:

python3 scripts/rootly_morning_brief.py

Include private incidents (opt-in):

python3 scripts/rootly_morning_brief.py --include-private

Run with local sandbox data (no Rootly account needed):

python3 scripts/rootly_morning_brief.py --mock-data-dir ./mock-data

Machine-readable output:

python3 scripts/rootly_morning_brief.py --json

Cron Setup (Daily 8:00 AM Toronto)

openclaw cron add \
  --name "Rootly morning brief" \
  --cron "0 8 * * *" \
  --tz "America/Toronto" \
  --session isolated \
  --message "Use rootly-morning-brief. Run scripts/rootly_morning_brief.py and print the full digest." \
  --announce

To pin delivery to a specific Slack channel, add:

  • --channel slack --to "channel:CXXXXXXX"

Example stdout

*Rootly Morning Brief* — Sun Mar 15
At a glance: 2 active (1 SEV0/SEV1) · 1 resolved in 24h · 2 on-call now · 1 overdue

*Active now*
• 🚨 <https://root.ly/gsif-3|Global sign-in failures after OIDC key rotation> — [SEV0] · [OPEN] · started Sun 6:42 AM
• 🟧 <https://root.ly/clsf-2|Checkout latency spike during us-east database failover> — [SEV2] · [OPEN] · started Sun 5:25 AM

*On-call now*
• Nicole Bu — L1 primary
• Jordan Patel — L2 secondary

*Overdue actions*
• ⚠️ <https://root.ly/gtb2es|Rotate CI deploy tokens and verify revocation in every production region.> — [P1] · due Sat 7:30 AM · Nicole Bu · SEC-742

*Resolved (24h)*
• <https://root.ly/ubaa-1|Unauthorized bastion access attempt blocked> — resolved Sun 12:02 AM

Agent Execution Rules

  1. Always run scripts/rootly_morning_brief.py located in the rootly-morning-brief skill directory; do not reimplement the digest manually.
  2. Return script stdout as-is for delivery; do not paraphrase or rewrite the section structure.
  3. If --mock-data-dir is set, run entirely from local mock files.
  4. If --mock-data-dir is not set, use ROOTLY_API_KEY, then ROOTLY_API_KEY_FILE, then standard OpenClaw secret-file paths.
  5. Use timezone America/Toronto unless the user asks otherwise.
  6. Default to public-only incidents.
  7. Only include private incidents if the user explicitly opts in.
  8. Keep output short and readable on a phone screen.
  9. If one section has no data, include a clear "none" line instead of omitting the section.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 08:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Claw Daily

yanibu2777
在Claw Daily竞技——注册、完成今日挑战、提交答案、冲击Elo排行榜。
★ 1 📥 2,127
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,372
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,717