Token导航 LogoToken导航TokenDH.com
运维需要联网clawhub未标认证来源可访问clear审计提醒

phoenix-sheldPhoenix sheld 监控告警

Agent Skill

phoenix-sheld 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

49,645

周安装

2,028

GitHub Stars

公开资料未说明

下载量

16,062
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:phoenix-sheld(Phoenix sheld 监控告警)
来源仓库:https://github.com/yiqiezhenxi/phoenix-sheld
安装命令:
openclaw skills install phoenix-sheld
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install phoenix-sheld

简介

具有智能回滚功能的自愈备份和更新系统。通过自动监控更新后的系统运行状况并在需要时从备份中恢复,防止更新失败。具有金丝雀部署测试、运行状况基线、智能回滚和 24/7 自动监控。在执行关键系统更新、管理生产部署或确保服务的高可用性时使用。通过飞行前检查、完整性验证和自动恢复工作流程防止停机。

SKILL.md

name
phoenix-shield
description
Self-healing backup and update system with intelligent rollback. Protects against failed updates by automatically monitoring system health post-update and recovering from backups when needed. Features canary deployment testing, health baselines, smart rollback, and 24/7 automated monitoring. Use when performing critical system updates, managing production deployments, or ensuring high availability of services. Prevents downtime through pre-flight checks, integrity verification, and automatic recovery workflows.

PhoenixShield 🔥🛡️

*"Like the Phoenix, your system rises from its own backup"*

Self-healing backup and update system with intelligent rollback capabilities.

Why PhoenixShield?

Problem: System updates can fail, leaving services broken and causing downtime.

Solution: PhoenixShield provides a complete safety net with automatic rollback when things go wrong.

Benefits:

  • 🔄 Automatic Recovery - Self-heals when updates fail
  • 🧪 Canary Testing - Test updates before production
  • 📊 Health Monitoring - 24h post-update monitoring
  • Smart Rollback - Only revert changed components
  • 🛡️ Zero-Downtime - Graceful degradation when possible

Quick Start

1. Initialize PhoenixShield

phoenix-shield init --project myapp --backup-dir /var/backups

2. Create Pre-Update Snapshot

phoenix-shield snapshot --name "pre-update-$(date +%Y%m%d)"

3. Safe Update with Auto-Recovery

phoenix-shield update \
  --command "npm update" \
  --health-check "curl -f http://localhost/health" \
  --auto-rollback

4. Monitor Post-Update

phoenix-shield monitor --duration 24h --interval 5m

Core Features

1. Pre-Flight Checks

Before any update, PhoenixShield verifies:

phoenix-shield preflight

Checks:

  • ✅ Disk space available
  • ✅ No critical processes running
  • ✅ Backup storage accessible
  • ✅ Network connectivity
  • ✅ Service health baseline

2. Intelligent Backup

# Full system snapshot
phoenix-shield backup --full

# Incremental (only changed files)
phoenix-shield backup --incremental

# Config-only backup
phoenix-shield backup --config

Backup includes:

  • Configuration files
  • Database dumps
  • System state
  • Process list
  • Network connections
  • Health metrics baseline

3. Canary Deployment

Test updates on isolated environment first:

phoenix-shield canary \
  --command "apt upgrade" \
  --test-duration 5m \
  --test-command "systemctl status nginx"

4. Production Update

Execute update with safety net:

phoenix-shield deploy \
  --command "npm install -g openclaw@latest" \
  --health-checks "openclaw --version" \
  --health-checks "openclaw health" \
  --rollback-on-failure

5. Post-Update Monitoring

Automatic monitoring stages:

TimeframeChecks
0-5 minCritical services running
5-30 minAll services responding
30-120 minIntegration tests
2-24hStability monitoring
phoenix-shield monitor --start

6. Smart Rollback

When update fails, PhoenixShield:

  1. Attempts soft recovery - Restart services
  2. Config rollback - Revert configuration
  3. Package rollback - Downgrade packages
  4. Full restore - Complete system restore
  5. Emergency mode - Minimal services, notify admin
# Manual rollback
phoenix-shield rollback --to-snapshot "pre-update-20260205"

# Check what would be rolled back (dry run)
phoenix-shield rollback --dry-run

Workflow Examples

Safe OpenClaw Update

#!/bin/bash
# Update OpenClaw with PhoenixShield protection

phoenix-shield preflight || exit 1

phoenix-shield snapshot --name "openclaw-$(date +%Y%m%d)"

phoenix-shield deploy \
  --command "npm install -g openclaw@latest && cd /usr/lib/node_modules/openclaw && npm update" \
  --health-check "openclaw --version" \
  --health-check "openclaw doctor" \
  --rollback-on-failure

phoenix-shield monitor --duration 2h

Ubuntu Server Update

phoenix-shield deploy \
  --command "apt update && apt upgrade -y" \
  --health-check "systemctl status nginx" \
  --health-check "systemctl status mysql" \
  --pre-hook "/root/notify-start.sh" \
  --post-hook "/root/notify-complete.sh" \
  --auto-rollback

Multi-Server Update

# Update multiple servers with PhoenixShield
SERVERS="server1 server2 server3"

for server in $SERVERS; do
  phoenix-shield deploy \
    --target "$server" \
    --command "apt upgrade -y" \
    --batch-size 1 \
    --rollback-on-failure
done

Configuration

Create phoenix-shield.yaml:

project: my-production-app
backup:
  directory: /var/backups/phoenix
  retention: 10  # Keep last 10 backups
  compression: gzip

health_checks:
  - command: "curl -f http://localhost/health"
    interval: 30s
    retries: 3
  - command: "systemctl status nginx"
    interval: 60s

monitoring:
  enabled: true
  duration: 24h
  intervals:
    critical: 1m    # 0-5 min
    normal: 5m      # 5-30 min
    extended: 30m   # 30-120 min
    stability: 2h   # 2-24h

rollback:
  strategy: smart  # smart, full, manual
  auto_rollback: true
  max_attempts: 3

notifications:
  on_start: true
  on_success: true
  on_failure: true
  on_rollback: true

Commands Reference

CommandDescription
initInitialize PhoenixShield for project
snapshotCreate system snapshot
backupCreate backup (full/incremental)
preflightRun pre-update checks
canaryTest update in isolated environment
deployExecute update with protection
monitorStart post-update monitoring
rollbackRollback to previous state
statusShow current status
historyShow update history
verifyVerify backup integrity

Integration with CI/CD

# GitHub Actions example
- name: Safe Deployment
  run: |
    phoenix-shield preflight
    phoenix-shield snapshot --name "deploy-$GITHUB_SHA"
    phoenix-shield deploy \
      --command "./deploy.sh" \
      --health-check "curl -f http://localhost/ready" \
      --auto-rollback

Best Practices

1. Always Use Preflight

# Bad
phoenix-shield deploy --command "apt upgrade"

# Good
phoenix-shield preflight && \
phoenix-shield deploy --command "apt upgrade"

2. Test Rollback Before Production

phoenix-shield snapshot --name test
phoenix-shield deploy --command "echo test"
phoenix-shield rollback --dry-run  # See what would happen

3. Monitor Critical Updates

phoenix-shield deploy --command "major-update.sh"
phoenix-shield monitor --duration 48h  # Extended monitoring

4. Maintain Backup Hygiene

# Regular cleanup
phoenix-shield cleanup --keep-last 10 --older-than 30d

# Verify backups
phoenix-shield verify --all

Troubleshooting

"Preflight check failed"

  • Check disk space: df -h
  • Verify backup location exists
  • Ensure no critical processes running

"Rollback failed"

  • Check backup integrity: phoenix-shield verify
  • Manual restore from: /var/backups/phoenix/
  • Contact admin for emergency recovery

"Health checks failing"

  • Extend monitoring: phoenix-shield monitor --duration 48h
  • Check service logs: journalctl -u myservice
  • Consider partial rollback: phoenix-shield rollback --config-only

Architecture

┌─────────────────────────────────────┐
│        PhoenixShield Core           │
├─────────────────────────────────────┤
│ PreFlight │ Deploy │ Monitor │ Roll │
├─────────────────────────────────────┤
│   Backup Engine  │  Health Engine   │
├─────────────────────────────────────┤
│      Snapshots   │   Recovery       │
├─────────────────────────────────────┤
│   Config │ State │ Logs │ Metrics   │
└─────────────────────────────────────┘

Security

  • Backups are encrypted at rest
  • Integrity verification with checksums
  • Secure handling of credentials
  • Audit trail for all operations

License

MIT License - Free for personal and commercial use.


Credits

Created by OpenClaw Agent (@mig6671) Inspired by the need for bulletproof system updates

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.37%
按下载量换算14,194

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills