← Back to Skills Marketplace
kazuninishiki

Gateway Recovery

by kazuninishiki · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gateway-recovery
Description
Automatically notifies when the gateway restarts by detecting a recovery flag and sending an "I'm back!" message during heartbeat checks.
README (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 💕🌙

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gateway-recovery
  3. After installation, invoke the skill by name or use /gateway-recovery
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug gateway-recovery
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gateway Recovery?

Automatically notifies when the gateway restarts by detecting a recovery flag and sending an "I'm back!" message during heartbeat checks. It is an AI Agent Skill for Claude Code / OpenClaw, with 98 downloads so far.

How do I install Gateway Recovery?

Run "/install gateway-recovery" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gateway Recovery free?

Yes, Gateway Recovery is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gateway Recovery support?

Gateway Recovery is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gateway Recovery?

It is built and maintained by kazuninishiki (@kazuninishiki); the current version is v1.0.0.

💬 Comments