# Add Update Check

> Monthly check for GhostClaw updates. Notifies the user when new commits are available. Never auto-updates — user reviews and applies manually.

- Skill: `b1rdmania/add-update-check` (Agent Skill)
- Install (CLI): `npx skillmds@latest add b1rdmania/add-update-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/b1rdmania/add-update-check/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: b1rdmania (https://skillmd.com/u/b1rdmania)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/b1rdmania/add-update-check

---


# Add Update Check

Registers a monthly scheduled task that checks the GhostClaw repo for new commits and notifies the user if updates are available.

## Setup

Find the main group's chat JID:

```bash
sqlite3 store/messages.db "SELECT jid FROM registered_groups WHERE folder = 'main' LIMIT 1;"
```

Register the task:

```bash
CHAT_JID="<main chat JID>"
cat > data/ipc/main/tasks/update_check_$(date +%s).json << EOF
{
  "type": "schedule_task",
  "prompt": "Check for GhostClaw updates.\n\n1. Run: git fetch origin 2>&1\n2. Run: git log HEAD..origin/main --oneline\n3. If there are new commits, message the user with how many and a one-line summary of each.\n4. If no new commits, respond with <internal>GhostClaw is up to date</internal> and nothing else.\n\nWhen notifying about updates, always include:\n- Number of new commits\n- One-line summary of each\n- Remind them: 'Review the changes with git diff HEAD..origin/main — then run /update-ghostclaw in Claude Code to apply safely (it backs up, migrates, rebuilds, and restarts).'\n- Remind them to review for security — this code runs with full system access.",
  "schedule_type": "cron",
  "schedule_value": "0 10 * * 1",
  "context_mode": "isolated",
  "targetJid": "$CHAT_JID"
}
EOF
```

This runs at 10am on the every Monday.

## What the user sees

If updates are available:
> 3 new GhostClaw commits available:
> - abc1234 Add heartbeat disk usage threshold config
> - def5678 Fix Telegram reconnection on network change
> - ghi9012 Update Grammy to 1.25
>
> Review the changes before applying. This code runs with full system access.
> Run `git diff HEAD..origin/main` to see the full diff.
> When ready, run `/update-ghostclaw` in Claude Code to apply safely.

If up to date: silence (wrapped in `<internal>` tags).

## Security note

This skill deliberately does NOT auto-update. The user must:
1. Review the diff
2. Understand what changed
3. Run `/update-ghostclaw` to apply safely (or apply manually)

GhostClaw runs bare metal with no sandboxing. Blindly pulling code is a security risk.

