← Back to Skills Marketplace
yangkai258

OpenClaw Rescue Instances

by yangkai258 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
100
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-rescue-instances
Description
一键创建和管理完全隔离的 OpenClaw 救援 Gateway 实例,支持端口自动分配及批量创建。
Usage Guidance
What to consider before installing/running this skill: - OS compatibility: The scripts are macOS-specific (launchctl, ~/Library/LaunchAgents, sed -i ''). Don't run them on Linux/Windows. The skill metadata does not declare this. - Inspect the scripts before running: They copy your existing ~/.openclaw/openclaw.json into new instance directories. That config may contain API keys, tokens, or other secrets. The scripts only partially sanitize settings (they attempt to disable wecom and clear plugin config), but they do not comprehensively remove credentials or other sensitive fields. - Hardcoded environment values: The generated plist embeds a PATH, HOME and other environment variables referencing /Users/zhuobao and a specific Node path (/opt/homebrew/...). Update these entries to match your machine. If left unchanged, the service may fail to start or run with incorrect environment values. - Persistence and cleanup: The scripts load LaunchAgents with KeepAlive=true, so instances will auto-restart. Deleting instances uses rm -rf on the created directory and removes the plist; verify the delete script before use and back up any data you care about. - Safe testing: Run the scripts in a controlled environment (test account, VM, or after backing up ~/.openclaw) to confirm behavior. Consider modifying the scripts to (a) prompt before copying configs, (b) sanitize or require fresh credentials for rescue instances, and (c) template PATH/HOME/Node paths from the current environment rather than using hardcoded values. Given these inconsistencies and the potential for accidental credential duplication and unwanted persistent services, proceed only after reviewing and adapting the scripts to your system and security requirements.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-rescue-instances Version: 1.0.0 The skill bundle automates the creation of persistent background services on macOS by generating and loading LaunchAgent plists (~/Library/LaunchAgents/). While this aligns with the stated goal of managing multiple OpenClaw instances, the script 'scripts/create-rescue-instance.sh' contains hardcoded environment variables and paths specific to a user named 'zhuobao', which could cause functional failures or security issues on other systems. Additionally, the use of 'sed' and 'perl' to programmatically modify configuration files, combined with the creation of persistent services, represents a high-risk capability that could be abused if the agent's inputs are not strictly controlled.
Capability Assessment
Purpose & Capability
The declared purpose (create isolated rescue Gateway instances) matches the scripts' behavior: creating directories, copying openclaw.json, adjusting ports, creating LaunchAgents and starting services. However the implementation is macOS-specific (launchctl, ~/Library/LaunchAgents, sed -i ''), while the skill metadata declares no OS restriction. Also the generated plist hardcodes user-specific PATH and HOME values (e.g., /Users/zhuobao) and a specific Node installation path; these are not justified by the high-level description and will likely fail or behave unexpectedly on other systems.
Instruction Scope
The runtime instructions and included scripts read and copy the user's existing ~/.openclaw/openclaw.json into each rescue instance. That file can contain credentials, API keys, and other sensitive configuration; the scripts do not comprehensively sanitize or remove secrets (they disable wecom and clear plugin sections in a limited way). The scripts also create persistent system services (LaunchAgents) and change system state (load/unload plists, rm -rf of instance dirs). These actions are within the apparent purpose but involve reading and duplicating potentially sensitive local files without explicit user confirmation in the scripts themselves.
Install Mechanism
This is an instruction-only skill with shell scripts included; there is no external installer, no downloads, and nothing written to disk by an automated installer step beyond the script actions. No remote code fetch URLs or archive extracts were seen.
Credentials
The skill declares no required environment variables or credentials, yet the scripts duplicate the user's existing openclaw configuration (and therefore any embedded API keys/credentials) into new instance directories. The created LaunchAgent plist also includes a hardcoded PATH, HOME, TMPDIR and other environment entries referencing a specific user (zhuobao) and a specific Node installation path; this leaks author-specific environment assumptions and may expose or misplace environment-sensitive values. The skill does not request explicit consent or separate credentials for the new instances.
Persistence & Privilege
The scripts register and load macOS LaunchAgents (RunAtLoad + KeepAlive), giving the created instances persistent background presence. That persistence is coherent with the stated goal (run rescue gateways continuously), but it modifies user launch agent state and will auto-start services. This is expected for a service-creation tool but is a significant change to the user's system and should be highlighted to the user before installation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-rescue-instances
  3. After installation, invoke the skill by name or use /openclaw-rescue-instances
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Create isolated rescue Gateway instances
Metadata
Slug openclaw-rescue-instances
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is OpenClaw Rescue Instances?

一键创建和管理完全隔离的 OpenClaw 救援 Gateway 实例,支持端口自动分配及批量创建。 It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install OpenClaw Rescue Instances?

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

Is OpenClaw Rescue Instances free?

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

Which platforms does OpenClaw Rescue Instances support?

OpenClaw Rescue Instances is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Rescue Instances?

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

💬 Comments