技能/ #自动化/ #Cron

Auto-Updater Skill

Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.

maximeprades@maximeprades

安装

针对本地咔咔镜像运行此命令。

$ openclaw install auto-updater --registry http://localhost:13001下载

说明

--- name: auto-updater description: "Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed." metadata: {"version":"1.0.0","clawdbot":{"emoji":"🔄","os":["darwin","linux"]}} ---

Auto-Updater Skill

Keep your Clawdbot and skills up to date automatically with daily update checks.

What It Does

This skill sets up a daily cron job that:

1. Updates Clawdbot itself (via `clawdbot doctor` or package manager) 2. Updates all installed skills (via `clawdhub update --all`) 3. Messages you with a summary of what was updated

Setup

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:

bashclawdbot 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."

Configuration Options

| Option | Default | Description | |--------|---------|-------------| | Time | 4:00 AM | When to run updates (use `--cron` to change) | | Timezone | System default | Set with `--tz` | | Delivery | Main session | Where to send the update summary |

How Updates Work

Clawdbot Updates

For **npm/pnpm/bun installs**:

bashnpm update -g clawdbot@latest
# or: pnpm update -g clawdbot@latest
# or: bun update -g clawdbot@latest

For **source installs** (git checkout):

bashclawdbot update

Always run `clawdbot doctor` after updating to apply migrations.

Skill Updates

bashclawdhub update --all

This checks all installed skills against the registry and updates any with new versions available.

Update Summary Format

After updates complete, you'll receive a message like:

🔄 Daily Auto-Update Complete

**Clawdbot**: Updated to v2026.1.10 (was v2026.1.9)

**Skills Updated (3)**:

  • prd: 2.0.3 → 2.0.4
  • browser: 1.2.0 → 1.2.1
  • nano-banana-pro: 3.1.0 → 3.1.2

**Skills Already Current (5)**: gemini, sag, things-mac, himalaya, peekaboo

No issues encountered.

Manual Commands

Check for updates without applying:

bashclawdhub update --all --dry-run

View current skill versions:

bashclawdhub list

Check Clawdbot version:

bashclawdbot --version

Troubleshooting

Updates Not Running

1. Verify cron is enabled: check `cron.enabled` in config 2. Confirm Gateway is running continuously 3. Check cron job exists: `clawdbot cron list`

Update Failures

If an update fails, the summary will include the error. Common fixes:

  • **Permission errors**: Ensure the Gateway user can write to skill directories
  • **Network errors**: Check internet connectivity
  • **Package conflicts**: Run `clawdbot doctor` to diagnose

Disabling Auto-Updates

Remove the cron job:

bashclawdbot cron remove "Daily Auto-Update"

Or disable temporarily in config:

json{
  "cron": {
    "enabled": false
  }
}

Resources

  • [Clawdbot Updating Guide](https://docs.clawd.bot/install/updating)
  • [ClawdHub CLI](https://docs.clawd.bot/tools/clawdhub)
  • [Cron Jobs](https://docs.clawd.bot/cron)

安装解析

{
  "artifact": {
    "downloadUrl": "/api/v1/download?slug=auto-updater&version=1.0.0&ownerHandle=maximeprades",
    "format": "zip",
    "generated": true,
    "kind": "skillArchive",
    "sha256": "9708b5dd95ad92f85a0cd41d15dcc89349e34f1ad98254377211b664961cf3e0",
    "size": 4654
  },
  "owner": {
    "displayName": "maximeprades",
    "handle": "maximeprades",
    "id": "af65e8ca-fbb4-491e-b71d-9b2d89f95ce3",
    "verified": false
  },
  "skill": {
    "displayName": "Auto-Updater Skill",
    "latestVersion": "1.0.0",
    "license": "unknown",
    "name": "auto-updater",
    "ownerHandle": "maximeprades",
    "slug": "auto-updater",
    "stats": {
      "downloads": 96725,
      "installs": 3255,
      "stars": 436
    },
    "summary": "Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.",
    "tags": [
      "automation",
      "Cron"
    ],
    "type": "skill",
    "updatedAt": "2026-07-06T10:48:32.493Z"
  },
  "sourceHandoff": null,
  "version": {
    "checksum": null,
    "checksumAlgorithm": null,
    "id": "c2b5f7fc-2c63-4db1-8e5e-88bfe9584a98",
    "publishedAt": "2026-01-13T16:58:59.453Z",
    "size": null,
    "version": "1.0.0",
    "artifactStorageKey": null,
    "changelog": "Automatically checks for and applies updates to Clawdbot and all installed skills once daily via cron.\n\nSends the user a message summarizing what was updated and any issues encountered.",
    "manifest": {
      "clawhub": {
        "tags": {
          "latest": "1.0.0"
        },
        "owner": "maximeprades",
        "stats": {
          "stars": 436,
          "comments": 6,
          "installs": 3255,
          "versions": 1,
          "downloads": 96725
        },
        "topics": [
          "Cron"
        ],
        "categories": [
          "automation"
        ]
      },
      "install": "openclaw skills install @maximeprades/auto-updater"
    },
    "readme": "---\nname: auto-updater\ndescription: \"Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.\"\nmetadata: {\"version\":\"1.0.0\",\"clawdbot\":{\"emoji\":\"🔄\",\"os\":[\"darwin\",\"linux\"]}}\n---\n\n# Auto-Updater Skill\n\nKeep your Clawdbot and skills up to date automatically with daily update checks.\n\n## What It Does\n\nThis skill sets up a daily cron job that:\n\n1. Updates Clawdbot itself (via `clawdbot doctor` or package manager)\n2. Updates all installed skills (via `clawdhub update --all`)\n3. Messages you with a summary of what was updated\n\n## Setup\n\n### Quick Start\n\nAsk Clawdbot to set up the auto-updater:\n\n```\nSet up daily auto-updates for yourself and all your skills.\n```\n\nOr manually add the cron job:\n\n```bash\nclawdbot cron add \\\n  --name \"Daily Auto-Update\" \\\n  --cron \"0 4 * * *\" \\\n  --tz \"America/Los_Angeles\" \\\n  --session isolated \\\n  --wake now \\\n  --deliver \\\n  --message \"Run daily auto-updates: check for Clawdbot updates and update all skills. Report what was updated.\"\n```\n\n### Configuration Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| Time | 4:00 AM | When to run updates (use `--cron` to change) |\n| Timezone | System default | Set with `--tz` |\n| Delivery | Main session | Where to send the update summary |\n\n## How Updates Work\n\n### Clawdbot Updates\n\nFor **npm/pnpm/bun installs**:\n```bash\nnpm update -g clawdbot@latest\n# or: pnpm update -g clawdbot@latest\n# or: bun update -g clawdbot@latest\n```\n\nFor **source installs** (git checkout):\n```bash\nclawdbot update\n```\n\nAlways run `clawdbot doctor` after updating to apply migrations.\n\n### Skill Updates\n\n```bash\nclawdhub update --all\n```\n\nThis checks all installed skills against the registry and updates any with new versions available.\n\n## Update Summary Format\n\nAfter updates complete, you'll receive a message like:\n\n```\n🔄 Daily Auto-Update Complete\n\n**Clawdbot**: Updated to v2026.1.10 (was v2026.1.9)\n\n**Skills Updated (3)**:\n- prd: 2.0.3 → 2.0.4\n- browser: 1.2.0 → 1.2.1  \n- nano-banana-pro: 3.1.0 → 3.1.2\n\n**Skills Already Current (5)**:\ngemini, sag, things-mac, himalaya, peekaboo\n\nNo issues encountered.\n```\n\n## Manual Commands\n\nCheck for updates without applying:\n```bash\nclawdhub update --all --dry-run\n```\n\nView current skill versions:\n```bash\nclawdhub list\n```\n\nCheck Clawdbot version:\n```bash\nclawdbot --version\n```\n\n## Troubleshooting\n\n### Updates Not Running\n\n1. Verify cron is enabled: check `cron.enabled` in config\n2. Confirm Gateway is running continuously\n3. Check cron job exists: `clawdbot cron list`\n\n### Update Failures\n\nIf an update fails, the summary will include the error. Common fixes:\n\n- **Permission errors**: Ensure the Gateway user can write to skill directories\n- **Network errors**: Check internet connectivity\n- **Package conflicts**: Run `clawdbot doctor` to diagnose\n\n### Disabling Auto-Updates\n\nRemove the cron job:\n```bash\nclawdbot cron remove \"Daily Auto-Update\"\n```\n\nOr disable temporarily in config:\n```json\n{\n  \"cron\": {\n    \"enabled\": false\n  }\n}\n```\n\n## Resources\n\n- [Clawdbot Updating Guide](https://docs.clawd.bot/install/updating)\n- [ClawdHub CLI](https://docs.clawd.bot/tools/clawdhub)\n- [Cron Jobs](https://docs.clawd.bot/cron)\n"
  }
}

版本

版本大小更新时间1.0.0暂无2026-01-13