← 返回 Skills 市场
joshualeecowan33-ui

Blue Green Deployer

作者 joshualeecowan33-ui · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
85
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install blue-green-deployer
功能描述
A specialized skill for safely managing and testing OpenClaw configuration changes using a Blue/Green deployment pattern. Use when you need to test new setti...
使用说明 (SKILL.md)

Blue/Green Deployer

This skill provides a structured pre-production testing workflow for OpenClaw configuration changes using a Blue/Green deployment pattern.

Workflow

1. Setup the Green Environment

Initialize the testing area by creating the Green configuration from your current Blue master.

  • Command: bash \x3Cskill-path>/scripts/deploy.sh

2. Experiment

Modify the files within the green configuration folder or the openclaw.json.green file directly using your preferred editor.

3. Audit and Validate

Verify that the changes in the Green environment are valid and do not break the OpenClaw service.

  • Step A: Check JSON syntax: jq empty openclaw.json.green
  • Step B: Run the deployment script to perform the symlink-based validation check.

4. Promote or Rollback

  • To Promote: If the audit passes, the deploy.sh script will automatically promote the Green configuration to Blue.
  • To Rollback: If the audit fails, the deploy.sh (or manual action) will revert the Blue configuration to its previous state using the .bak file.

Troubleshooting

  • Validation Error: If the script reports a failure, check the openclaw.json.green file for syntax errors (missing commas, brackets) or invalid keys.
  • Manual Check: Always use openclaw status after any deployment to ensure the live service is operational.
安全使用建议
This skill appears to do what it says, but it modifies your live OpenClaw config files. Before installing or running: (1) review scripts/deploy.sh yourself to confirm behavior; (2) ensure you trust the `openclaw` binary on your system (the script runs `openclaw status`); (3) take an independent backup of $HOME/.openclaw/openclaw.json in case of failures; (4) test the workflow on a non-production account or copy of your config; (5) note SKILL.md mentions using `jq` for validation but the included script does not call it — run `jq empty openclaw.json.green` manually if you want stricter JSON checks; and (6) consider restricting autonomous invocation if you don't want the agent to run the deployment script without explicit approval.
功能分析
Type: OpenClaw Skill Name: blue-green-deployer Version: 2.0.0 The skill provides a legitimate utility for managing OpenClaw configuration changes using a Blue/Green deployment pattern. The 'scripts/deploy.sh' script implements a structured workflow for backing up, testing, and promoting configuration files within the '$HOME/.openclaw/' directory, using 'openclaw status' for validation. No indicators of malicious intent, data exfiltration, or unauthorized execution were found.
能力标签
crypto
能力评估
Purpose & Capability
The name/description claim a Blue/Green deployer for OpenClaw; the provided script implements that behavior (copies, backups, creates symlinks, runs `openclaw status`, promotes or restores). Required files and actions are proportional to the purpose.
Instruction Scope
SKILL.md instructs running the included deploy.sh and using jq for validation; the script itself operates only on $HOME/.openclaw/*. It does remove and recreate the live config file (via symlink and cp) which is expected but potentially disruptive if run on a production host without testing. SKILL.md lists `jq` validation steps that are not invoked by the script (you must run them manually if desired).
Install Mechanism
Instruction-only skill with an included shell script and no install spec — nothing is downloaded or installed by the skill itself, minimizing install-time risk.
Credentials
The skill declares no required env vars or credentials and only touches $HOME/.openclaw config files. The dependency list mentions `jq` but the script does not call it; `openclaw` is used and is a reasonable dependency given the stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not change other skills or global settings. It does modify files under the user's OpenClaw configuration, so the agent running the skill must be trusted to perform filesystem operations on that path. The platform default allowing autonomous invocation means the agent could run this script without explicit user action — consider invocation policy if that matters.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install blue-green-deployer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /blue-green-deployer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Blue-green-deployer 2.0.0 is a significant update introducing versioning and dependency metadata. - Added explicit `version` and `dependencies` fields to SKILL.md for improved clarity and reproducibility. - Declared dependencies on `openclaw` and `jq` in the documentation. - Corrected minor documentation issues (e.g., file naming typo: `open:openclaw.json.green` → `openclaw.json.green`). - No changes to the documented deployment script workflow.
v1.0.0
Initial release of the Blue/Green deployment skill.
元数据
Slug blue-green-deployer
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Blue Green Deployer 是什么?

A specialized skill for safely managing and testing OpenClaw configuration changes using a Blue/Green deployment pattern. Use when you need to test new setti... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Blue Green Deployer?

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

Blue Green Deployer 是免费的吗?

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

Blue Green Deployer 支持哪些平台?

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

谁开发了 Blue Green Deployer?

由 joshualeecowan33-ui(@joshualeecowan33-ui)开发并维护,当前版本 v2.0.0。

💬 留言讨论