← 返回 Skills 市场
deemoartisan

gateway-notify

作者 Deemo · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
778
总下载
2
收藏
7
当前安装
6
版本数
在 OpenClaw 中安装
/install gateway-notify
功能描述
Set up automatic notifications when OpenClaw gateway restarts. Use when user wants to be notified of gateway startup events via any messaging channel (iMessa...
使用说明 (SKILL.md)

Gateway Notify

Automatically send notifications when the OpenClaw gateway starts up.

What It Does

Creates a hook that triggers on gateway:startup events and sends a notification message to the user's preferred channel with gateway status information.

Quick Start

Run the setup script with the user's messaging channel and address:

scripts/setup_gateway_notify.sh \x3Cchannel> \x3Caddress>

Examples:

scripts/setup_gateway_notify.sh imessage [email protected]
scripts/setup_gateway_notify.sh whatsapp +1234567890
scripts/setup_gateway_notify.sh telegram @username

The script will:

  1. Create the hook directory at ~/.openclaw/hooks/gateway-restart-notify
  2. Generate the handler with the specified channel configuration
  3. Enable the hook in OpenClaw config
  4. Restart the gateway to activate

How It Works

The hook uses OpenClaw's internal hook system:

  • Listens for gateway:startup events
  • Collects gateway status (model, time, port)
  • Sends notification via the configured channel CLI

Supported Channels

See CHANNELS.md for channel-specific CLI commands and address formats.

Manual Setup

If you need to customize the hook, see MANUAL.md for step-by-step instructions.

安全使用建议
This skill appears coherent with its purpose. Before installing: (1) inspect scripts/setup_gateway_notify.sh yourself — it creates files under ~/.openclaw/hooks and writes handler.ts; (2) ensure the messaging CLIs it will call (imsg, wacli, openclaw message) are the official/trusted binaries on your system — a malicious replacement binary with one of those names could be invoked; (3) optionally open the generated handler.ts after running the setup script to confirm the embedded address and command look correct; (4) if you are concerned about command injection, test with a dummy address and review the SAFE_ADDRESS escaping in the setup script. No extra credentials are requested by this skill.
功能分析
Type: OpenClaw Skill Name: gateway-notify Version: 1.0.5 The gateway-notify skill is a utility designed to send notifications via messaging platforms (iMessage, WhatsApp, Telegram, etc.) whenever the OpenClaw gateway starts. The setup script (scripts/setup_gateway_notify.sh) creates a hook handler (handler.ts) that uses shell commands to send messages. The code demonstrates good security practices, including strict regex-based input validation for channel names and addresses, and proper shell escaping to prevent command injection. There is no evidence of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
Name and description (notify on gateway startup) align with the files and script. The setup script only creates a hook under ~/.openclaw/hooks/gateway-restart-notify, generates HOOK.md and handler.ts, enables the hook, and asks the user to restart the gateway. No unrelated cloud credentials or global config paths are requested.
Instruction Scope
SKILL.md and setup script stay within the described scope: they write to the skill's hook directory, enable the hook, and the handler only collects timestamp and a hardcoded port. The handler executes external CLI commands (imsg, wacli, openclaw message) to send notifications — this is expected for a notification skill but means the skill will invoke local binaries. The script performs input validation and attempts to escape single quotes before embedding the address into handler.ts.
Install Mechanism
Instruction-only skill with no install spec; the only code written to disk is created by the provided setup script in the user's home directory. No remote downloads or archive extraction are performed by the skill itself.
Credentials
No environment variables, secrets, or external credentials are requested. The messaging address is provided by the user at setup. The handler does not read OpenClaw config files (project changelog/SECURITY.md explicitly documents removal of config reads).
Persistence & Privilege
The skill does not request always: true and does not modify other skills. It enables a hook via the OpenClaw CLI (openclaw hooks enable) which is the expected mechanism for registering event handlers.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gateway-notify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gateway-notify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Version 1.0.5 of gateway-notify - No changes detected in this release.
v1.0.4
- Updated all references from "OpenAWS" to "OpenClaw" to reflect correct gateway software. - No functional or code changes; documentation clarity improved.
v1.0.3
- Updated iMessage example address in the Quick Start section to use [email protected] instead of a numeric QQ address. - No functional or code changes; documentation wording improved for clarity and consistency.
v1.0.2
Version 1.0.2 of gateway-notify - No file changes detected in this release. - Functionality and documentation remain unchanged from the previous version.
v1.0.1
gateway-notify 1.0.1 - No changes to code or documentation were detected in this release. - Functionality and usage remain the same as the previous version.
v1.0.0
- Initial release of gateway-notify. - Automatically sends notifications on OpenAWS gateway startup events. - Supports multiple messaging channels, including iMessage, WhatsApp, Telegram, and Discord. - Simple setup via included shell script with custom channel and address. - Provides manual setup instructions and channel reference documentation.
元数据
Slug gateway-notify
版本 1.0.5
许可证 MIT-0
累计安装 7
当前安装数 7
历史版本数 6
常见问题

gateway-notify 是什么?

Set up automatic notifications when OpenClaw gateway restarts. Use when user wants to be notified of gateway startup events via any messaging channel (iMessa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 778 次。

如何安装 gateway-notify?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gateway-notify」即可一键安装,无需额外配置。

gateway-notify 是免费的吗?

是的,gateway-notify 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

gateway-notify 支持哪些平台?

gateway-notify 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 gateway-notify?

由 Deemo(@deemoartisan)开发并维护,当前版本 v1.0.5。

💬 留言讨论