๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

Auto Updater Pro

by @newolf20000

Enhanced auto-updater with detailed logging, missed run recovery, and Gateway restart protection.

Versionv1.1.0
Installs9
๐Ÿ’ก Examples

Ask Clawdbot to set up the auto-updater:

Set up daily auto-updates for yourself and all your skills.

Or manually add the cron job:

clawdbot cron add \
  --name "Daily Auto-Update" \
  --cron "0 4 * * *" \
  --tz "America/Los_Angeles" \
  --session isolated \
  --wake now \
  --deliver \
  --message "Run daily auto-updates: check for Clawdbot updates and update all skills. Report what was updated."

Recommended Configuration (v1.1.0+)

For production use, add these settings to your cron job:

{
  "schedule": {
    "expr": "0 4 * * *",
    "kind": "cron",
    "tz": "Asia/Shanghai"
  },
  "missedRunPolicy": "run-immediately",
  "payload": {
    "kind": "agentTurn",
    "message": "...",
    "timeoutSeconds": 600
  }
}

Key Settings:

  • missedRunPolicy: "run-immediately" - Auto-runs if Gateway was offline at scheduled time
  • timeoutSeconds: 600 - Allow 10 minutes for updates to complete
  • tz: "Asia/Shanghai" - Set to your timezone

  • โš™๏ธ Configuration

    Quick Start

    Ask Clawdbot to set up the auto-updater:

    Set up daily auto-updates for yourself and all your skills.
    

    Or manually add the cron job:

    clawdbot cron add \
      --name "Daily Auto-Update" \
      --cron "0 4 * * *" \
      --tz "America/Los_Angeles" \
      --session isolated \
      --wake now \
      --deliver \
      --message "Run daily auto-updates: check for Clawdbot updates and update all skills. Report what was updated."
    

    Recommended Configuration (v1.1.0+)

    For production use, add these settings to your cron job:

    {
      "schedule": {
        "expr": "0 4 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "missedRunPolicy": "run-immediately",
      "payload": {
        "kind": "agentTurn",
        "message": "...",
        "timeoutSeconds": 600
      }
    }
    

    Key Settings:

  • missedRunPolicy: "run-immediately" - Auto-runs if Gateway was offline at scheduled time
  • timeoutSeconds: 600 - Allow 10 minutes for updates to complete
  • tz: "Asia/Shanghai" - Set to your timezone

  • ๐Ÿ“‹ Tips & Best Practices

    1. Schedule During Low Activity

    Choose a time when you're unlikely to be using the system:

    "expr": "0 4 * * *"  // 4:00 AM
    

    2. Enable Missed Run Recovery

    Prevents missing updates if Gateway is offline:

    "missedRunPolicy": "run-immediately"
    

    3. Use Email for Reports

    Less intrusive than chat messages:

  • Configure email-163-com or similar skill
  • Send plain text reports
  • Include log file path
  • 4. Log Everything

    Always write to log file before sending reports:

  • Prevents state loss
  • Enables debugging
  • Provides audit trail
  • 5. Wait After Updates

    Add 30-second delay before any Gateway restart:

    sleep 30
    


    View on ClawHub
    TERMINAL
    clawhub install auto-updater-pro

    ๐Ÿงช Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    ๐Ÿ” Can't find the right skill?

    Search 60,000+ AI agent skills โ€” free, no login needed.

    Search Skills โ†’