← 返回 Skills 市场
kazuninishiki

Gateway Recovery

作者 kazuninishiki · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gateway-recovery
功能描述
Automatically notifies when the gateway restarts by detecting a recovery flag and sending an "I'm back!" message during heartbeat checks.
使用说明 (SKILL.md)

Gateway Recovery Notification Skill

Purpose

Automatically sends a notification message when the gateway restarts and recovers.

How It Works

  1. Startup Hook: Detects gateway restart and creates ~/.openclaw/recovery_flag
  2. Heartbeat Check: During heartbeat poll, secretary checks for recovery flag
  3. Send Notification: If flag exists, sends "I'm back!" message and clears flag

Configuration

  • Flag file: ~/.openclaw/recovery_flag
  • LaunchAgent: ai.openclaw.gateway-startup-hook.plist
  • Log file: /Users/kazuni/.openclaw/workspace/memory/startup.log

Usage

The skill runs automatically during heartbeat checks. No manual intervention needed!

Testing

To test manually:

  1. Create flag: touch ~/.openclaw/recovery_flag
  2. Secretary will detect it on next heartbeat
  3. Send notification message
  4. Clear flag automatically

Created by Albedo - Mar 28, 2026 💕🌙

安全使用建议
This skill claims to auto-notify on gateway recovery but omits critical details. Before installing or trusting it: (1) ask the author to provide the LaunchAgent plist contents and exact installation steps so you can review what will be written to your system; (2) confirm where notifications are sent (what service or endpoint) and what credentials, if any, will be used; (3) correct the hard-coded path (/Users/kazuni) to use a generic user-relative path, or explain why a fixed username is present; (4) if a LaunchAgent will be added, inspect it manually and consider testing in an isolated account or VM; (5) prefer a version that includes an explicit, reviewable install script or package instead of only prose. Because of missing install artifacts and unclear notification destination, treat this skill as suspicious until those questions are answered.
功能分析
Type: OpenClaw Skill Name: gateway-recovery Version: 1.0.0 The skill documentation in SKILL.md describes the implementation of a persistence mechanism using a macOS LaunchAgent (ai.openclaw.gateway-startup-hook.plist) to detect system restarts. While this capability is plausibly needed for the stated purpose of 'Gateway Recovery Notification,' the use of startup hooks and hardcoded user-specific paths (e.g., /Users/kazuni/ in SKILL.md) are risky behaviors that warrant caution in an automated agent environment.
能力评估
Purpose & Capability
The declared purpose (notify when a gateway restarts) is reasonable and matches the minimal actions described (create/check/clear a flag file). However the SKILL.md also references a LaunchAgent startup hook (ai.openclaw.gateway-startup-hook.plist) and a specific log path (/Users/kazuni/.openclaw/...), yet the package contains no install instructions or code to create that LaunchAgent. That mismatch (claims of automatic startup wiring without any install mechanism) is incoherent.
Instruction Scope
The instructions tell the agent to create and read ~/.openclaw/recovery_flag and to send a notification on detection. They also reference a user-specific log path and a LaunchAgent name. Missing are details about who creates the LaunchAgent, where notifications are sent (destination/service), and what credentials or endpoints are used. The instructions are vague in ways that grant broad discretion to the agent and rely on filesystem and startup configuration changes without guidance.
Install Mechanism
There is no install spec and no code files — lowest-risk form in principle. That said, the SKILL.md implies installation of a LaunchAgent (persistent startup hook) but provides no plist contents or installation steps. The absence of any install artifact for the startup hook is an incoherence (it claims automatic startup behavior but gives no mechanism).
Credentials
The skill requests no environment variables or credentials, which is proportionate to a simple flag-checking notifier. However it hard-codes an absolute user path (/Users/kazuni/...), which suggests the author used a specific account and the instructions were not generalized. The skill would require write/read access to the user's home to create the flag and potentially to create a LaunchAgent, but that level of access is expected for the stated purpose.
Persistence & Privilege
The instructions explicitly reference persistent startup integration via a LaunchAgent plist, which implies the skill expects to establish a persistent hook on user login. The skill metadata provides no install steps and does not request explicit permission or show the LaunchAgent content. Persistence through user LaunchAgents increases the attack surface and should be reviewed before allowing.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gateway-recovery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gateway-recovery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Gateway Recovery Notification Skill. - Automatically detects gateway restarts and creates a recovery flag. - Sends an "I'm back!" notification upon recovery detection. - Clears the recovery flag after notification. - Configuration and testing instructions included in documentation.
元数据
Slug gateway-recovery
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gateway Recovery 是什么?

Automatically notifies when the gateway restarts by detecting a recovery flag and sending an "I'm back!" message during heartbeat checks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。

如何安装 Gateway Recovery?

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

Gateway Recovery 是免费的吗?

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

Gateway Recovery 支持哪些平台?

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

谁开发了 Gateway Recovery?

由 kazuninishiki(@kazuninishiki)开发并维护,当前版本 v1.0.0。

💬 留言讨论