本文へスキップ
TakoAPI
スキル一覧に戻る

safe-update

hacksing 作

Coding Agents & IDEs
385ダウンロード数はclawskills.shが公開している値です
2スター
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Update OpenClaw from source code.

説明

このスキルでできること

Automates updating OpenClaw from source by pulling the latest branch, building, and reinstalling globally. Analyzes the current git state before acting and asks for confirmation before making changes. Backs up config files automatically before each update.

Handles the full update sequence, including git strategy recommendation, config backup, build, and service reinstall, rather than requiring manual steps each time.

使いどころ

  • Updating OpenClaw after upstream bug fixes land
  • Switching to a feature branch and rebuilding
  • Previewing what an update would do before committing
  • Recovering from a failed update by checking logs
  • Keeping a self-hosted OpenClaw instance in sync with upstream

ワークフロー例

入力

User asks: update OpenClaw to the latest main branch

エージェント
  1. 1

    Check current branch for uncommitted changes and compare with upstream

  2. 2

    Recommend merge or rebase strategy based on local state

  3. 3

    Wait for user confirmation before proceeding

  4. 4

    Pull upstream changes, build with npm run build, install globally with npm i -g .

  5. 5

    Reinstall the systemd service and prompt user to confirm gateway restart

出力

OpenClaw updated to latest version; config backed up; user prompted to restart gateway

インストール

clawhub install hacksing/safe-update

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク