TopRank Skills

Home / Claw Skills / Git / GitHub / bluebubbles-healthcheck
Official OpenClaw rules 54%

bluebubbles-healthcheck

Diagnoses and auto-heals BlueBubbles ↔ OpenClaw iMessage connectivity. Use when: iMessages stop arriving after a gateway restart, webhook connection is broken, or user reports messages not coming through. Runs a 4-step diagnostic and auto-fixes webhook backoff, stale registrations, and gateway issues.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 bluebubbles-healthcheck 技能。 若已安装,则直接安装 bluebubbles-healthcheck 技能。

Overview

Skill Key
amzzzzzzz/bluebubbles-healthcheck
Author
amzzzzzzz
Source Repo
openclaw/skills
Version
-
Source Path
skills/amzzzzzzz/bluebubbles-healthcheck
Latest Commit SHA
d4d4097659a83e41c4a98cd3d6d201be6955a3b4

Extracted Content

SKILL.md excerpt

# BlueBubbles Healthcheck Skill

## When to Use This Skill

Use this skill when:
- iMessages aren't being delivered to/from OpenClaw
- After restarting the OpenClaw gateway
- User reports "messages not coming through"
- Periodic healthcheck (can be added to HEARTBEAT.md)
- Debugging BlueBubbles ↔ OpenClaw connectivity

## What It Does

Diagnoses and auto-heals the webhook connection between BlueBubbles and OpenClaw. This is a common failure mode: after gateway restarts, BlueBubbles can lose its webhook or enter backoff state.

**Diagnostic checks:**
1. BlueBubbles server reachable
2. Webhook registered pointing to OpenClaw
3. OpenClaw gateway endpoint responding
4. Recent webhook delivery activity

**Auto-healing:**
- Restarts OpenClaw gateway if endpoint is down
- Deletes stale webhooks and re-registers fresh
- Verifies fix after healing

## How to Use

### Quick Check (Read-Only)

```bash
BB_URL="http://127.0.0.1:1234" \
BB_PASSWORD="your-password" \
~/.openclaw/workspace/skills/bluebubbles-healthcheck/scripts/diagnose.sh
```

**Interpret the output:**
- All ✅ = healthy, no action needed
- Any ❌ = issue detected, consider running heal

### Auto-Heal

```bash
BB_URL="http://127.0.0.1:1234" \
BB_PASSWORD="your-password" \
~/.openclaw/workspace/skills/bluebubbles-healthcheck/scripts/heal.sh
```

This will:
1. Run diagnostics
2. Identify what's broken
3. Attempt to fix it (gateway restart, webhook reset)
4. Re-run diagnostics to verify

### Dry Run (See What Would Happen)

```bash
BB_URL="http://127.0.0.1:1234" \
BB_PASSWORD="your-password" \
~/.openclaw/workspace/skills/bluebubbles-healthcheck/scripts/heal.sh --dry-run
```

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `BB_URL` | Yes | `http://127.0.0.1:1234` | BlueBubbles server URL |
| `BB_PASSWORD` | Yes | — | BlueBubbles API password |
| `OPENCLAW_WEBHOOK_URL` | No | `http://127.0.0.1:18789/bluebubbles-webhook` | OpenClaw webhook endp...

README excerpt

# BlueBubbles Healthcheck

**Diagnose and auto-heal BlueBubbles ↔ OpenClaw iMessage connectivity.**

If you've ever restarted your OpenClaw gateway and wondered why iMessages stopped coming through — this skill is for you.

## The Problem

BlueBubbles uses webhooks to push iMessage events to OpenClaw. When OpenClaw's gateway restarts, BlueBubbles doesn't know the endpoint is back. It may:

- Keep trying to deliver to a dead endpoint
- Enter exponential backoff (waiting longer between retries)
- Stop trying entirely after too many failures

The result: **messages silently stop flowing**, and there's no obvious error.

## The Solution

This skill provides scripts to:

1. **Diagnose** the connection (4 targeted health checks)
2. **Auto-heal** common issues (gateway restart, webhook reset)
3. **Verify** the fix worked

## Quick Start

### Prerequisites

- [OpenClaw](https://openclaw.ai) running on your Mac
- [BlueBubbles](https://bluebubbles.app) server configured
- BlueBubbles API password (from BB settings)

### Installation

The skill lives in your OpenClaw workspace:

```bash
# Clone or copy to your workspace
~/.openclaw/workspace/skills/bluebubbles-healthcheck/
```

### Usage

**Run a health check:**

```bash
export BB_URL="http://127.0.0.1:1234"
export BB_PASSWORD="your-bluebubbles-password"

~/.openclaw/workspace/skills/bluebubbles-healthcheck/scripts/diagnose.sh
```

**Auto-heal if issues are detected:**

```bash
~/.openclaw/workspace/skills/bluebubbles-healthcheck/scripts/heal.sh
```

## What It Checks

| Check | What It Tests | Common Failures |
|-------|--------------|-----------------|
| **1. BB Server Reachable** | `GET /api/v1/ping` returns 200 | BlueBubbles.app not running |
| **2. Webhook Registered** | A webhook exists pointing to port 18789 | Webhook deleted or misconfigured |
| **3. Gateway Endpoint Alive** | POST to webhook endpoint returns "ok" | OpenClaw gateway not running |
| **4. Webhook Delivery** | Recent webhook dispatches in BB logs | Backof...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

human-pages-ai

humanpages

★ 3

Search and hire real humans for tasks — photography, delivery, research, and more

zseven-w

openclaw-skills

★ 1

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.