← 返回 Skills 市场
Situation Monitor
作者
mohnishb-ai
· GitHub ↗
· v0.1.2
· MIT-0
129
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install situation-monitor
功能描述
Triages Discord activity and Kubernetes incidents into ranked situation reports with fixture-first demos, live Discord and Apify intake, Contextual-grounded...
安全使用建议
Before installing or enabling this skill:
- Treat it as high-risk until the maintainer clarifies requirements. The published metadata lists only bash and python3, but the repo and docs also require node/npm, kubectl, gcloud, and many sensitive API tokens (Apify, Friendli, Contextual, Redis, Discord). Ask the author to update SKILL metadata to list all required binaries, env vars, and config paths.
- Do NOT run demo trigger commands (02-incidents.sh trigger* or destroy) against any real/production cluster. Those scripts intentionally inject failures and can delete a GKE cluster.
- If you need to evaluate safely, run the skill in an isolated environment: a disposable hackathon-only cluster and a sandboxed gateway with least-privilege service accounts (KUBECONFIG referencing a limited-access account), and network egress controlled for third-party tokens.
- Ensure a formal install step is added (or follow author instructions) that documents npm install for the Apify actor and Python venv creation so dependencies are reproducible and auditable.
- Verify who will have access to the listed tokens and whether the OpenClaw host will store them securely; treat REDIS_URL, FRIENDLI_TOKEN, APIFY_TOKEN, CONTEXTUAL_API_KEY, and DISCORD_BOT_TOKEN as sensitive secrets.
- If the skill will run in a hosted OpenClaw instance, require an admin review and a configuration checklist: (1) KUBECONFIG points to a non-production, limited account; (2) Node/npm are installed in a controlled environment; (3) required env vars are added intentionally; (4) destructive demo commands are disabled or removed.
If the author provides corrected metadata (declare all env vars and binaries), an explicit non-destructive default config, and an install spec for Node, this assessment could move toward 'benign'.
功能分析
Type: OpenClaw Skill
Name: situation-monitor
Version: 0.1.2
The skill bundle provides legitimate SRE monitoring and triage functionality but includes high-risk capabilities that warrant a suspicious classification. Specifically, '02-incidents.sh' contains a destructive command to delete a GKE cluster ('gcloud container clusters delete'), and 'src/monitoring_the_situation/cluster_live.py' executes 'kubectl' commands via 'subprocess.run' based on agent-provided arguments. Additionally, 'SKILL.md' contains hardcoded absolute local paths and instructions for the agent to perform 'npm install' and 'node' executions. While these behaviors are plausibly aligned with the stated purpose of Kubernetes monitoring and incident simulation, they represent a high-risk attack surface. No clear evidence of intentional malice or data exfiltration was found, and the inclusion of an 'ApprovalGate' in 'src/monitoring_the_situation/approvals.py' suggests a focus on operational safety.
能力评估
Purpose & Capability
The skill claims to triage Discord and Kubernetes incidents (reasonable), but the bundle actually contains both a Python OpenClaw skill and a Node.js Apify actor, plus a cluster incident trigger script (02-incidents.sh) that runs kubectl and gcloud. The registry metadata only lists bash and python3 as required binaries and declares no env vars, yet the README and docs require many sensitive env vars (REDIS_URL, FRIENDLI_TOKEN, APIFY_TOKEN, APIFY_ACTOR_ID, CONTEXTUAL_API_KEY, CONTEXTUAL_AGENT_ID, KUBECONFIG, DISCORD_BOT_TOKEN, etc.) and Node. That discrepancy is not proportionate to the published requirements.
Instruction Scope
SKILL.md and the README instruct the operator/agent to run scripts/mts (bootstraps a Python venv and installs the package), run npm install/node main.js for the Apify actor, upload runbooks to Contextual, and optionally run 02-incidents.sh which intentionally injects failures (OOM, bad image) and can delete a GKE cluster. These instructions reference reading local files (KUBECONFIG, runbooks), calling external services (Apify, GCP, GitHub, FriendliAI, Contextual, Discord), and performing destructive cluster operations — all outside what the registry metadata indicated.
Install Mechanism
No formal install spec is published for OpenClaw, yet the repo expects two installation flows: Python package install (handled by scripts/mts) and an npm install for the Apify actor. The metadata didn't declare Node/npm as required, and there's no automated, vetted install step for the Node actor. The lack of a clear, whitelisted install mechanism for the Node actor and its many npm deps increases operational risk.
Credentials
The code and docs require multiple sensitive credentials and config paths (API tokens for Apify, Friendli, Contextual, Discord bot token, REDIS_URL, and KUBECONFIG) and expect cluster admin actions via kubectl/gcloud. None of these are declared in the skill's registry metadata. Requesting KUBECONFIG and running kubectl/gcloud is high-privilege and must be explicit; the current omission is disproportionate and risky.
Persistence & Privilege
The skill is not marked always:true, but it contains scripts capable of destructive actions (applying deployments that cause OOMs, rolling back, and a destroy command that deletes a GKE cluster). Those actions are part of the demo but could be executed if the agent or an operator runs the script against a real cluster. The skill does not declare or limit required privileges (e.g., recommends 'hackathon-only' cluster but does not enforce it).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install situation-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/situation-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
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.
元数据
常见问题
Situation Monitor 是什么?
Triages Discord activity and Kubernetes incidents into ranked situation reports with fixture-first demos, live Discord and Apify intake, Contextual-grounded... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。
如何安装 Situation Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install situation-monitor」即可一键安装,无需额外配置。
Situation Monitor 是免费的吗?
是的,Situation Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Situation Monitor 支持哪些平台?
Situation Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Situation Monitor?
由 mohnishb-ai(@mohnishb-ai)开发并维护,当前版本 v0.1.2。
推荐 Skills