Agent Skillstophant-ai/ClawVault › tophant-clawvault-openclaw-alerts

tophant-clawvault-openclaw-alerts

GitHub

通过OpenClaw代理推送ClawVault高危安全事件及每日安全报告。仅读取API并发送消息,不修改底层检测逻辑。支持配置、测试、单次运行、日报生成及后台监控守护进程。

skills/tophant-clawvault-openclaw-alerts/SKILL.md tophant-ai/ClawVault

Trigger Scenarios

需要接收ClawVault高危安全告警 需要获取每日安全状态报告

Install

npx skills add tophant-ai/ClawVault --skill tophant-clawvault-openclaw-alerts -g -y
More Options

Use without installing

npx skills use tophant-ai/ClawVault@tophant-clawvault-openclaw-alerts

指定 Agent (Claude Code)

npx skills add tophant-ai/ClawVault --skill tophant-clawvault-openclaw-alerts -a claude-code -g -y

安装 repo 全部 skill

npx skills add tophant-ai/ClawVault --all -g -y

预览 repo 内 skill

npx skills add tophant-ai/ClawVault --list

SKILL.md

Frontmatter
{
    "name": "tophant-clawvault-openclaw-alerts",
    "version": "0.1.0",
    "homepage": "https:\/\/github.com\/tophant-ai\/ClawVault",
    "description": "Push high-risk ClawVault security events and daily security reports through OpenClaw agent messaging",
    "user-invocable": true,
    "disable-model-invocation": false
}

ClawVault OpenClaw Alerts

Send high-risk ClawVault security events and daily security reports through OpenClaw agent messaging.

This skill is operational only: it reads the existing ClawVault dashboard REST API, stores local notification state under ~/.ClawVault/openclaw-alerts/, and sends messages with openclaw agent. It does not modify ClawVault proxy, file monitor, plugin, or detection behavior.

How to Run

Always execute the bundled Python script:

python3 SKILL_DIR/clawvault_openclaw_alerts.py <command> [options]

Add --json to commands that support machine-readable output.

Quick Start

# Configure delivery through an OpenClaw agent
python3 SKILL_DIR/clawvault_openclaw_alerts.py configure --agent main --session-id clawvault-alerts --json

# Verify OpenClaw delivery
python3 SKILL_DIR/clawvault_openclaw_alerts.py send-test --json

# Send new high-risk events once
python3 SKILL_DIR/clawvault_openclaw_alerts.py run-once --json

# Send today's security report now
python3 SKILL_DIR/clawvault_openclaw_alerts.py daily-report --json

# Start/stop background monitoring
python3 SKILL_DIR/clawvault_openclaw_alerts.py start --json
python3 SKILL_DIR/clawvault_openclaw_alerts.py status --json
python3 SKILL_DIR/clawvault_openclaw_alerts.py stop --json

Commands

/tophant-clawvault-openclaw-alerts configure

Create or update ~/.ClawVault/openclaw-alerts/config.yaml.

/tophant-clawvault-openclaw-alerts configure --agent main --session-id clawvault-alerts
/tophant-clawvault-openclaw-alerts configure --dashboard-url http://127.0.0.1:8766 --risk-threshold 7.0 --daily-time 09:00
/tophant-clawvault-openclaw-alerts configure --deliver --channel slack --reply-to '#security-alerts'

/tophant-clawvault-openclaw-alerts send-test

Send a test message through the configured OpenClaw agent.

/tophant-clawvault-openclaw-alerts send-test
/tophant-clawvault-openclaw-alerts send-test --message "ClawVault alert test"

/tophant-clawvault-openclaw-alerts run-once

Poll /api/scan-history once, send eligible high-risk events, and update deduplication state.

/tophant-clawvault-openclaw-alerts run-once
/tophant-clawvault-openclaw-alerts run-once --dry-run

/tophant-clawvault-openclaw-alerts daily-report

Generate and send a daily security report.

/tophant-clawvault-openclaw-alerts daily-report
/tophant-clawvault-openclaw-alerts daily-report --dry-run
/tophant-clawvault-openclaw-alerts daily-report --date 2026-05-28

/tophant-clawvault-openclaw-alerts start

Start background monitoring. The daemon polls ClawVault for new high-risk events and sends the daily report when the configured local time is reached.

/tophant-clawvault-openclaw-alerts start
/tophant-clawvault-openclaw-alerts start --foreground

/tophant-clawvault-openclaw-alerts stop

Stop background monitoring.

/tophant-clawvault-openclaw-alerts stop
/tophant-clawvault-openclaw-alerts stop --force

/tophant-clawvault-openclaw-alerts status

Show daemon, dashboard, OpenClaw, and state status.

/tophant-clawvault-openclaw-alerts status

Data Sources

  • GET /api/scan-history?limit=200 for realtime high-risk events.
  • GET /api/summary, /api/budget, /api/monitor/overview, /api/local-scan/history, and /api/file-monitor/alerts for daily reports.

Security Defaults

Notifications are intentionally terse and redacted. By default, this skill does not include raw prompts, input previews, complete file paths, command text, secrets, API keys, private keys, or database URLs. See SECURITY.md before enabling optional verbose fields.

Version History

  • a68c367 Current 2026-07-05 09:16

Same Skill Collection

skills/tophant-clawvault-installer/SKILL.md
skills/tophant-clawvault-mask-project/SKILL.md
skills/tophant-clawvault-operator/SKILL.md

Metadata

Files
0
Version
a68c367
Hash
12eb0073
Indexed
2026-07-05 09:16

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-05 20:46
浙ICP备14020137号-1 $bản đồ khách truy cập$