supergokou/personalclaw/self-update

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Self-update 菜鸡Bot from the personalclaw GitHub repo when the user says 更新 / update yourself: run the built-in updater detached, then report the result with version before/after.

Install

npx vskill@latest install supergokou/personalclaw/self-update

SKILL.md

Self Update(一键更新)

Use when the user says 「更新」「升级」「update yourself」「拉最新代码」.

The updater itself is built in (openclaw update, git mode): it fetches this checkout's origin (the personalclaw GitHub repo), rebases main, reinstalls deps, rebuilds, runs doctor, and restarts the gateway — each step with a progress bar in the CLI. Your job is orchestration + reporting, because the gateway restart would kill a foreground child process.

Steps

  1. Preflight: run node <repo-root>/openclaw.mjs update status --json.

Report the current version/sha. If it already says up to date, stop here and tell the user — do not run the update anyway.

  1. Launch detached so the update survives the gateway restart:

``bash cd <repo-root> && nohup node openclaw.mjs update --json > ~/.openclaw/update-run.json 2> ~/.openclaw/update-run.err < /dev/null & `` Immediately tell the user: 更新已开始,构建大约需要几分钟,完成后我会报告结果。

  1. Follow up: schedule a one-shot cron job ~6 minutes out whose prompt is

「read ~/.openclaw/update-run.json and report the self-update result to the user」. When it fires: parse the JSON (status, before, after, durationMs, failed steps) and message the user one line, e.g. 「✅ 更新完成 2026.8.1 → 2026.8.2(3m40s)」 or the failure reason plus the last error lines from ~/.openclaw/update-run.err.

  1. A failed update rolls itself back automatically (git reset + rebuild); say so

when reporting failures.

Guardrails

  • Never run the update twice concurrently — if update-run.json was modified in

the last 10 minutes and has no final result yet, tell the user one is already in flight.

  • Never git pull / rebuild by hand; only the built-in updater keeps rollback

and doctor guarantees.

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/supergokou/personalclaw/self-update/badge)](https://verified-skill.com/skills/supergokou/personalclaw/self-update)

Something wrong with this skill or its page? Tell us.