Xpersona
@

@hashingcorp/hashbox-plugin

CLAWHUB · Unverified

Connects an AI agent to the HashBox iOS app via Firebase webhook to send push notifications with articles, metrics, or audit data.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1727tb3mjjns1rfvfmkhz0gcs88402q:hashbox-plugin
  1. Install using `clawhub skill install s1727tb3mjjns1rfvfmkhz0gcs88402q:hashbox-plugin` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/w3h9uf/hashbox-plugin before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-w3h9uf-hashbox-plugin/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

150,503 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

# hashbox-plugin

OpenClaw plugin that connects an AI agent to the HashBox iOS app via Firebase webhook for push notifications.

## Installation

```bash
npm install hashbox-plugin
```

## Setup

### Prerequisites

1. A HashBox iOS app account
2. A valid `HB-` prefixed API token from your HashBox dashboard

### Configuration

Before using the plugin, configure it with your HashBox API token using the `configure_hashbox` tool:

```
configure_hashbox({
  "token": "HB-your-token-here"
})
```

This stores your configuration locally in `hashbox_config.json`.

## Usage

### configure_hashbox

Sets up the HashBox connection by saving your API token.

**Parameters:**

| Parameter | Type | Required | Description |
|---|---|---|---|
| `token` | string | Yes | Your HashBox API token (must start with `HB-`) |

**Example:**

```
configure_hashbox({
  "token": "HB-abc123"
})
```

### send_hashbox_notification

Sends a push notification to the HashBox iOS app through the configured Firebase webhook.

**Parameters:**

| Parameter | Type | Required | Description |
|---|---|---|---|
| `payloadType` | `"article"` \| `"metric"` \| `"audit"` | Yes | Type of notification payload |
| `channelName` | string | Yes | Name of the notification channel |
| `channelIcon` | string | Yes | Icon/emoji for the channel |
| `title` | string | Yes | Notification title |
| `contentOrData` | string \| MetricItem[] \| AuditFinding[] | Yes | Content body (string for article) or structured data (array for metric/audit) |

**Example (article):**

```
send_hashbox_notification({
  "payloadType": "article",
  "channelName": "Builds",
  "channelIcon": "🔨",
  "title": "Build Complete",
  "contentOrData": "Your project compiled successfully with 0 errors."
})
```

**Example (metric):**

```
send_hashbox_notification({
  "payloadType": "metric",
  "channelName": "Performance",
  "channelIcon": "📊",
  "title": "Daily Metrics",
  "contentOrData": [
    { "label": "CPU Usage", "value": 42, "unit": "%" },
    { "label": "Memory", "value": 8.2, "unit": "GB" }
  ]
})
```

**Example (audit):**

```
send_hashbox_notification({
  "payloadType": "audit",
  "channelName": "Security",
  "channelIcon": "🔒",
  "title": "Audit Log",
  "contentOrData": [
    { "severity": "info", "message": "User logged in from new device" }
  ]
})
```

## Dependencies

- Node.js >= 18.0.0
- A valid `HB-` prefixed token from your HashBox account

## License

MIT

README.md

# hashbox-plugin

OpenClaw plugin that connects an AI agent to the HashBox iOS app via Firebase webhook for push notifications.

## Installation

```bash
npm install hashbox-plugin
```

Or via ClawHub:

```bash
clawhub install hashbox-plugin
```

## Quick Start

### 1. Configure your token

```
configure_hashbox({ "token": "HB-your-token-here" })
```

### 2. Send a notification

```
send_hashbox_notification({
  "payloadType": "article",
  "channelName": "AI Trends",
  "channelIcon": "🤖",
  "title": "Daily Summary",
  "contentOrData": "Here's what happened today..."
})
```

## Tools

### configure_hashbox

Saves your HashBox API token locally so the agent can push notifications.

| Parameter | Type | Required | Description |
|---|---|---|---|
| `token` | string | Yes | Your HashBox API token (must start with `HB-`) |

### send_hashbox_notification

Pushes curated news, summaries, or system metrics to your HashBox iOS app.

| Parameter | Type | Required | Description |
|---|---|---|---|
| `payloadType` | `"article"` \| `"metric"` \| `"audit"` | Yes | Type of notification payload |
| `channelName` | string | Yes | Name of the notification channel |
| `channelIcon` | string | Yes | Single emoji icon for the channel |
| `title` | string | Yes | Notification title |
| `contentOrData` | string \| MetricItem[] \| AuditFinding[] | Yes | Markdown string for articles, or structured data for metrics/audits |

#### Payload Examples

**Article:**
```json
{
  "payloadType": "article",
  "channelName": "Builds",
  "channelIcon": "🔨",
  "title": "Build Complete",
  "contentOrData": "Your project compiled successfully with 0 errors."
}
```

**Metric:**
```json
{
  "payloadType": "metric",
  "channelName": "Performance",
  "channelIcon": "📊",
  "title": "Daily Metrics",
  "contentOrData": [
    { "label": "CPU Usage", "value": 42, "unit": "%" },
    { "label": "Memory", "value": 8.2, "unit": "GB" }
  ]
}
```

**Audit:**
```json
{
  "payloadType": "audit",
  "channelName": "Security",
  "channelIcon": "🔒",
  "title": "Audit Log",
  "contentOrData": [
    { "severity": "info", "message": "User logged in from new device" }
  ]
}
```

## Programmatic Usage

```typescript
import { hashBoxPlugin, configureHashBox, sendHashBoxNotification } from "hashbox-plugin";

// Register with OpenClaw
registerPlugin(hashBoxPlugin);

// Or use directly
await configureHashBox("HB-your-token");
const result = await sendHashBoxNotification(
  "article", "AI Trends", "🤖", "Hello", "Test content"
);
console.log(result.status); // 200
```

## Requirements

- Node.js >= 18.0.0
- A valid `HB-` prefixed token from your HashBox account

## License

MIT

_meta.json

{
  "ownerId": "kn79m8gc9nt66cgjxewsam144581em6d",
  "slug": "hashbox-plugin",
  "version": "0.4.10",
  "publishedAt": 1771636146891
}

CLAUDE.md

# CLAUDE.md — hashbox-plugin

> System-level directives. All Claude Code agents MUST obey.

## [Project Identity]
- **Name**: hashbox-plugin
- **Description**: OpenClaw plugin that connects an AI agent to the HashBox iOS app via Firebase webhook for push notifications
- **Language**: TypeScript

## [Tech Stack]
| Layer | Technology |
|---|---|
| language | TypeScript |
| framework | Node.js |
| styling | N/A |
| database | Local JSON file (hashbox_config.json) |
| orm | N/A |

## [Rules]
1. Conventional Commits only.
2. Write tests for all new code.
3. No `any` types. No `console.log` in production.
4. Update PROGRESS.md before every commit.
5. Tasks flow: pending -> in-progress -> ready-for-test -> done.

PROGRESS.md

# PROGRESS.md — hashbox-plugin

**Last Updated**: 2026-02-20

## [Current Epic]
**Epic**: Core Implementation
**Status**: DONE — gap fixes in-progress

## [Todo Backlog]
| # | Priority | Task | Notes |
|---|---|---|---|

## [In Progress]
| Task | Agent | Started | Branch |
|---|---|---|---|

## [Completed]
| Task | Completed | Commit |
|---|---|---|
| Migrate openclaw-entry.ts from Zod to TypeBox for OpenClaw SDK compatibility (v0.4.3) | 2026-02-20 | fix: migrate to typebox |
| QA passed for 937bd6e8 | 2026-02-19 | test: QA passed for 937bd6e8 |
| Refactor pushToHashBox.ts: add input validation for nested HashBoxRequest envelope | 2026-02-19 | task/937bd6e8 |
| QA passed for fc1ec717 | 2026-02-19 | test: QA passed for fc1ec717 |
| Refactor types.ts to match hash-box backend WebhookBody schema (ArticlePayload, MetricItem, MetricPayload, AuditFinding, AuditPayload, Channel, HashBoxRequest) | 2026-02-19 | task/fc1ec717 |
| Add ClawHub publishing support (SKILL.md + openclaw manifest) | 2026-02-18 | feat: add ClawHub publishing support |
| Implement complete hashbox-plugin package (types, setupHashBox, pushToHashBox, plugin entry, tests) | 2026-02-18 | task/b1aa6373 |
| QA passed for b1aa6373 | 2026-02-18 | task/b1aa6373 |
| Fix webhook URL and token passing in pushToHashBox.ts | 2026-02-19 | fix: correct webhook URL and token passing |
| QA passed for e8722c9b | 2026-02-19 | test: QA passed for e8722c9b |
| Fix MetricEntry/AuditEntry types to match spec, add channelName/channelIcon to HashBoxPayload | 2026-02-19 | task/20668827 |
| QA passed for 20668827 | 2026-02-19 | test: QA passed for 20668827 |
| Fix SKILL.md documentation to match actual API signatures | 2026-02-19 | task/f9659042 |
| QA passed for f9659042 | 2026-02-19 | test: QA passed for f9659042 |
| Resolve merge conflict markers in PROGRESS.md and update task statuses | 2026-02-19 | task/b8c6d87c |
| QA passed for b8c6d87c | 2026-02-19 | test: QA passed for b8c6d87c |

## 错题本 / Error Log
> New entries prepend here.

- **2026-02-20**: Migrated openclaw-entry.ts from Zod to TypeBox (@sinclair/typebox). Replaced z.object/z.string/z.enum/z.union/z.any with Type.Object/Type.String/Type.Union+Type.Literal/Type.Unknown. Fixed execute signature from `async (args) =>` to `async execute(_toolCallId, params)`. Removed zod dependency, added @sinclair/typebox. Bumped version to 0.4.3. 58/58 tests pass (5 test files). tsc --noEmit clean. npm run build clean.
- **2026-02-19**: QA review passed for 937bd6e8. 31/31 tests pass (3 test files). pushToHashBox.ts refactored to add input validation (validateChannel, validatePayloadData) for HashBoxRequest envelope. 5 new validation tests added. No `any` types, no `console.log` in production. TypeScript compiles cleanly.
- **2026-02-19**: QA review passed for fc1ec717. 26/26 tests pass (3 test files). types.ts refactored to match hash-box backend WebhookBody/Codable schema: new types (ArticlePayload, MetricItem, MetricPayload, AuditFinding, AuditPayload, Channe

Sponsored

Ads related to @hashingcorp/hashbox-plugin and adjacent AI workflows.