返回顶部
s

situation_monitor 情境监控

Triages Discord activity and Kubernetes incidents into ranked situation reports with fixture-first demos, live Discord and Apify intake, Contextual-grounded runbooks, Redis-backed memory, Friendli-powered drafting, and approval-gated outbound actions.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.2
安全检测
已通过
109
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

situation_monitor

情境监控器

当用户希望了解Discord动态、监控几个嘈杂频道、分类处理Kubernetes事件、生成摘要或起草安全的后续跟进时,请使用此技能。

所有命令均使用scripts/mts下的辅助包装器。它会在首次运行时引导.venv并安装软件包,这使得托管式OpenClaw安装比直接调用python3 -m monitoringthesituation.cli更可靠。

防护措施

  • - 切勿使用用户令牌或自建机器人。实时模式需要Discord机器人令牌。
  • 在尚未配置实时Discord机器人时,优先使用固定数据模式。
  • 请勿为演示目的摄取个人或私人账户历史记录。
  • 除非用户明确提供其他来源,否则KubeWatch应优先使用公共状态页面、公共事件源和合成集群事件。
  • 将对外发布视为敏感操作。允许起草;在配置Civic审批之前,发送功能保持禁用状态。

工作模式

  1. 1. 用于安全演示的Discord固定数据模式:

bash
bash scripts/mts fixture \
--input examples/demo_messages.json \
--save-path .local/demo_report.md

  1. 2. 机器人设置完成后的实时Discord快照模式:

bash
bash scripts/mts discord-fetch \
--hours 24 \
--limit-per-channel 75 \
--save-path .local/live_report.md

  1. 3. 为特定报告条目起草回复:

bash
bash scripts/mts draft-reply \
--bucket urgent \
--channel api-alerts

  1. 4. 用于SRE通道的KubeWatch固定数据模式:

bash
bash scripts/mts kubewatch-fixture \
--input examples/kubewatch_incidents.json \
--save-path .local/kubewatch_report.md

  1. 5. 赞助商设置完成后从Apify实时获取KubeWatch数据:

bash
bash scripts/mts kubewatch-apify \
--actor-id $APIFYACTORID \
--actor-input examples/apifyactorinput.json \
--save-path .local/kubewatchlivereport.md

  1. 6. 针对演示命名空间的KubeWatch实时集群扫描:

bash
bash scripts/mts kubewatch-cluster \
--namespace production \
--save-path .local/kubewatchclusterreport.md

  1. 7. 当仓库发生变化时重建并检查Apify actor的完整性:

bash
cd /Users/sarahhatcher/Documents/monitoring-the-situation-openclaw
npm install
node main.js

Actor位于仓库根目录,因此Apify应保持指向根目录,无需文件夹覆盖。

预期输出

生成包含以下内容的报告:

  • - 执行摘要
  • 紧急线程
  • 直接请求
  • 决策与截止日期
  • 仅供参考事项
  • 按频道/消息标注的来源引用
  • KubeWatch的事件优先级和基于事实的修复步骤

如果用户要求发送消息而非起草消息,请说明该仓库有意设置为故障关闭状态,直到Civic支持的审批机制接入为止。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 situation-monitor-1776017824 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 situation-monitor-1776017824 技能

通过命令行安装

skillhub install situation-monitor-1776017824

下载

⬇ 下载 situation_monitor v0.1.2(免费)

文件大小: 65.66 KB | 发布时间: 2026-4-13 12:02

v0.1.2 最新 2026-4-13 12:02
Version 0.1.2 of situation-monitor introduces detailed usage guidelines and improved safety guardrails.

- Added comprehensive SKILL.md documentation, outlining usage scenarios and command examples.
- Documented new working modes for both Discord and Kubernetes (KubeWatch) monitoring, including fixture and live intake workflows.
- Improved safety guardrails: now recommends fixture modes for demos, blocks personal/private ingestion, and restricts outbound posting without Civic approval.
- Clarified expected output structure for situation reports, including executive summary and actionable items.
- Provided step-by-step instructions for setup, operation, and integration with Apify and Civic approval systems.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部