← 返回 Skills 市场
keaneyan

Gateway Notify

作者 KeaneYan · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
135
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install gateway-startup-notify
功能描述
Send automatic notifications when the OpenClaw gateway starts up. Supports Telegram, WhatsApp, Discord, Slack, Signal, iMessage, IRC, Google Chat, Line, WeCh...
使用说明 (SKILL.md)

Gateway Notify

Get notified instantly when your OpenClaw gateway starts up — via any supported messaging channel.

Quick Start

Run the setup script with your preferred channel and recipient address:

bash scripts/setup.sh \x3Cchannel> \x3Caddress>

Examples

# Telegram
bash scripts/setup.sh telegram @your_username

# WhatsApp
bash scripts/setup.sh whatsapp +1234567890

# Discord
bash scripts/setup.sh discord 1234567890

# Slack
bash scripts/setup.sh slack #general

# Signal
bash scripts/setup.sh signal +1234567890

# iMessage
bash scripts/setup.sh imessage [email protected]

# Google Chat
bash scripts/setup.sh googlechat spaces/xxx

# IRC
bash scripts/setup.sh irc #channel

# Line
bash scripts/setup.sh line user_id

# WeChat (requires openclaw-weixin plugin)
bash scripts/setup.sh openclaw-weixin [email protected]

# Feishu / Lark (requires feishu plugin)
bash scripts/setup.sh feishu chat_id

# QQ Bot (requires qqbot plugin)
bash scripts/setup.sh qqbot chat_id

The script will:

  1. Create the hook directory at ~/.openclaw/hooks/gateway-notify
  2. Generate HOOK.md and handler.ts with your channel config
  3. Enable the hook
  4. Print instructions to restart the gateway

After restart, you'll receive a notification like:

🚀 Gateway Started
⏰ 2026-04-03 15:52:00
🌐 127.0.0.1:18789

Supported Channels

Channel Address Format
telegram @username or chat ID
whatsapp +countrycodenumber
discord Channel ID
slack #channel or channel ID
signal +countrycodenumber
imessage Email or phone number
googlechat Space ID
irc #channel
line User ID
openclaw-weixin [email protected]
feishu Chat ID (e.g. oc_xxx)
qqbot Numeric chat ID

Note: WeChat (openclaw-weixin), Feishu, and QQ Bot are bundled channel plugins. Make sure the channel is configured via openclaw channels before using this skill.

For channel-specific details and troubleshooting, see references/CHANNELS.md.

How It Works

Uses OpenClaw's native hook system:

  • Listens for gateway:startup events
  • Sends a notification via openclaw message send
  • Zero configuration beyond the initial setup

Uninstall

openclaw hooks disable gateway-notify
rm -rf ~/.openclaw/hooks/gateway-notify
安全使用建议
This skill appears to do only what it says: it creates a gateway startup hook that uses your existing OpenClaw channels to send notifications. Before running the setup script, ensure you: (1) have OpenClaw installed and channels (Telegram/Slack/WeChat/etc.) already configured and secured (those channel configurations carry the actual send tokens), (2) inspect the generated files (~/.openclaw/hooks/gateway-notify/config.json and handler.ts) to verify the target address, and (3) confirm the `openclaw` binary on your PATH is the expected official tool. If you do not want files written to your home directory, do not run the script. Overall low risk but review channel credentials in OpenClaw separately since this hook will use whatever channels are already configured.
功能分析
Type: OpenClaw Skill Name: gateway-startup-notify Version: 1.2.0 The skill bundle is a legitimate utility for sending gateway startup notifications across various messaging platforms. The setup script (scripts/setup.sh) includes robust input validation using regex and safely generates configuration files using Python to prevent injection. The generated handler (handler.ts) uses execFile with array-based arguments to interact with the OpenClaw CLI, effectively mitigating shell injection risks.
能力评估
Purpose & Capability
Name/description (gateway startup notifications) match the included script and handler which create a hook that listens for gateway:startup and calls `openclaw message send`. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md instructs running the provided setup script. The script only writes hook files under ~/.openclaw/hooks/gateway-notify, produces a config.json, and creates a handler that calls the local `openclaw` CLI. It does not read arbitrary user files or transmit data outside OpenClaw's configured channels.
Install Mechanism
No remote downloads or install spec; the skill is instruction-only with a bundled setup script. The script requires python3 (checked at runtime) and writes files in the user's home hook directory — a low-risk, expected install pattern.
Credentials
The skill declares no required env vars or secrets. It relies on the existing OpenClaw channel configuration (which may itself contain tokens). The script uses $HOME and PATH-standard bins (python3, openclaw); these are proportional to the task.
Persistence & Privilege
Does not request always:true or modify other skills. It creates and enables a single hook (its own) under ~/.openclaw/hooks and backs up any existing hook — expected behavior for a hook plugin.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gateway-startup-notify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gateway-startup-notify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Add WeChat (openclaw-weixin), Feishu/Lark, and QQ Bot channel support. Now covers all 12 OpenClaw messaging channels.
v1.1.0
Security fix: separate config.json from handler.ts to eliminate injection risk. handler.ts reads config at runtime via JSON.parse. Added python3 dependency check, backup existing hooks, config error handling.
v1.0.0
Initial release. Supports 9 official channels via openclaw message send. Uses execFile for safe command execution.
元数据
Slug gateway-startup-notify
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Gateway Notify 是什么?

Send automatic notifications when the OpenClaw gateway starts up. Supports Telegram, WhatsApp, Discord, Slack, Signal, iMessage, IRC, Google Chat, Line, WeCh... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。

如何安装 Gateway Notify?

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

Gateway Notify 是免费的吗?

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

Gateway Notify 支持哪些平台?

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

谁开发了 Gateway Notify?

由 KeaneYan(@keaneyan)开发并维护,当前版本 v1.2.0。

💬 留言讨论