Auto-Updater
Paste the following prompt into your AI chat to install this skill:
Install @zcwl/auto-updater according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem to Solve
When Clawdbot and multiple skills run under a long-lived Gateway setup, version drift becomes routine: the main runtime needs migrations, skills may receive new registry versions, and package dependencies can conflict. With several skills installed, manually checking clawdbot doctor, clawdhub update --all, and each local version is time-consuming and easy to forget. @zcwl/auto-updater consolidates this into a daily scheduled task that checks for updates, applies them, and posts the result back to the main session.
How It Works
The skill configures a daily cron job, defaulting to 4:00 AM, with time and timezone adjustable via --cron and --tz. The main steps are:
- Update Clawdbot itself: npm/pnpm/bun installs are updated through package managers; git checkout installs pull updates;
clawdbot doctorruns afterward to apply migrations. - Update installed skills:
clawdhub update --allcompares local skills against the registry and updates available versions. - Produce an update summary: after completion, a message is sent to the main session listing what changed and why failures happened; failure notes point to permission, network, or package conflict diagnostics.
Boundaries
This skill fits continuously running Gateway environments where cron is enabled. If cron is disabled, the Gateway is not running continuously, or the user lacks write permission to skill directories, updates may not run or may fail. It does not handle application release, rollback, dependency lock repair, or manual validation of critical changes; in high-risk environments, review versions and update diffs manually before applying them automatically.
Use Cases
- Engineers running a long-lived Clawdbot Gateway want daily automatic checks and update summaries.
- Ops maintaining npm or git-installed Clawdbot want to apply package updates, doctor migrations, and skill updates.
- Agent owners managing multiple skills want to avoid manual registry checks and get failure diagnostics.
- Teams using Gateway across time zones want timezone-aware scheduling and results in the main session.
Best For
- Platform engineers maintaining Clawdbot Gateway want to reduce manual version checks and update runs.
- AI agent owners managing multiple skills want consistent registry update tracking and failure context.
- Local deployment operators using npm, pnpm, or bun-installed Clawdbot want scheduled updates and doctor migrations.
- Team admins needing update audit context want summaries and errors delivered in the main session.
Related Skills
Automatically searches job postings based on the user profile, AI-scores fit, saves desktop reports, and sends email updates with scheduled tracking.
Activates bionic reasoning for causal judgment, numerical prediction, and hypothesis validation, using hypothesis-driven checks, Bayesian updates, falsifiability tests, bias defense, and physical constraints.
Triggered by /plan, it asks the agent to output a plan, risks, impact scope, and validation approach before execution.
Track and clean agent session files, packages, and Skills via trash-first safety.