auto-updater-gateway

Review·Scanned 2/19/2026

This skill schedules and runs daily/weekly updates for Clawdbot and installed skills using clawdbot/clawdhub CLI commands. It explicitly instructs executing commands like clawdbot cron add and clawdhub update --all and requires logging in via clawdhub login, which entails credential use.

from clawhub.ai·v1.0.1·2.7 KB·0 installs
Scanned from 1.0.1 at e505561 · Transparency log ↗
$ vett add clawhub.ai/xabo1986/auto-updater-gatewayReview findings below

Auto-Updater (Gateway)

Create a reliable daily auto-update routine using Clawdbot Cron (Gateway scheduler).

This is a "skill" in the sense of a repeatable workflow + correct config shapes (not a plugin).

Quick setup checklist

  1. Ensure ClawHub CLI is logged in (for skill updates):
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub login --workdir /home/xabo/clawd --dir skills
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub whoami --workdir /home/xabo/clawd --dir skills
  1. Decide:
  • When to run (cron + timezone)
  • Whether the job should only report, or update + restart

Recommended cron job (isolated, deliver output)

Use an isolated cron job so it doesn’t spam the main session context.

Example CLI (04:00 Europe/Stockholm):

/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdbot cron add \
  --name "Daily auto-update (Clawdbot + skills)" \
  --cron "0 4 * * *" \
  --tz "Europe/Stockholm" \
  --session isolated \
  --wake now \
  --deliver \
  --channel telegram \
  --to "2095290688" \
  --message "Run daily auto-update: update skills via clawdhub update --all; if Clawdbot has an update available, apply it and restart; then run clawdbot doctor --non-interactive; report what changed."

What the job should do (workflow)

Within the cron run:

  1. Capture “before” state
  • clawdbot --version
  • clawdhub list (skills + versions)
  1. Update skills
  • clawdhub update --all
  1. (Optional) Update Clawdbot
  • Only if the owner explicitly wants self-updates.
  • After updating, run clawdbot doctor --non-interactive.
  • Restart gateway if required.
  1. Send a concise summary
  • Clawdbot version before/after
  • Skills updated (old → new)
  • Any errors

Notes / gotchas

  • Timezone field: in Gateway job objects this is schedule.tz (IANA tz like Europe/Stockholm).
  • Delivery: Prefer explicit channel + to so the job always reaches you.
  • Clawdbot self-update: can be disruptive (restarts). Run at a quiet time.

Troubleshooting

  • clawdhub update says “Not logged in” → run clawdhub login again.
  • Job doesn’t run → confirm Gateway is always-on and cron is enabled.
  • Nothing updates → that can be normal; still send a “no changes” report.