safe-update
hacksing द्वारा
Coding Agents & IDEsसंक्षिप्त
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
Check current branch for uncommitted changes and compare with upstream
- 2
Recommend merge or rebase strategy based on local state
- 3
Wait for user confirmation before proceeding
- 4
Pull upstream changes, build with npm run build, install globally with npm i -g .
- 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-updateCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।