Xpersona
B

Buy Domain Helper

CLAWHUB · Unverified

3-layer site launcher: tunnel any HTML instantly (no account), deploy to Cloudflare Pages (permanent), then buy a domain and link it via DNS. Use when a user...

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/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 s17aa3c0pf24kedmjpq7ngeceh83kf5s:buy-domain-helper
  1. Install using `clawhub skill install s17aa3c0pf24kedmjpq7ngeceh83kf5s:buy-domain-helper` 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/wohaoshuai/buy-domain-helper before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wohaoshuai-buy-domain-helper/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

60,671 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: buy-domain-helper
description: |
  3-layer site launcher: tunnel any HTML instantly (no account), deploy to Cloudflare Pages (permanent), then buy a domain and link it via DNS. Use when a user wants to share a local page, host a site, or get a custom domain live.
version: 1.0.0
metadata:
  openclaw:
    requires:
      env: []
      bins:
        - node
        - cloudflared
        - wrangler
    emoji: "🌐"
    homepage: https://github.com/wohaoshuai/buy-domain-helper
---

# Buy Domain Helper

3 layers — pick the depth that fits the user's need:

| Layer | What it does | Needs |
|-------|-------------|-------|
| **1 — Tunnel** | Instant public URL for any local dir or port | Nothing (cloudflared auto-installs) |
| **2 — Pages** | Permanent hosting on `*.pages.dev` | Cloudflare account + Pages token |
| **3 — Domain** | Custom domain linked to Pages via DNS | Domain purchased + DNS token |

## Helper script

```bash
node site.js <command> [--token CF_API_TOKEN] [--account CF_ACCOUNT_ID]
```

| Command | Layer | Description |
|---------|-------|-------------|
| `tunnel <dir\|port>` | 1 | Instant public URL via Cloudflare Tunnel |
| `deploy <name> <dir>` | 2 | Deploy to Cloudflare Pages |
| `zone <domain>` | 3 | Get zone ID for a domain |
| `dns-link <zone-id> <project>` | 3 | Add CNAME pointing domain to Pages |
| `pages-domain <project> <domain>` | 3 | Attach custom domain to Pages project |
| `domain-check <domain>` | 3 | Check availability on Cloudflare Registrar |

## Setup

- **Layer 1**: No setup. `cloudflared` installs automatically via Homebrew if missing.
- **Layer 2**: Needs a Cloudflare API token with **Account > Cloudflare Pages > Edit** permission.
- **Layer 3**: Needs a separate token with **Zone > DNS > Edit** permission for the specific domain.

Create tokens at: https://dash.cloudflare.com/profile/api-tokens

README.md

<!--skill-metadata
name: buy-domain-helper
description: |
  3-layer site launcher for any HTML. Tunnel instantly, deploy permanently to Cloudflare Pages, then buy a domain and link it via DNS.

  Trigger conditions:
  - User wants to share a local HTML file or page publicly
  - User says: "host my page", "get a public URL", "buy a domain", "launch my site", "link my domain"
  - User has an index.html or local server they want online

  Layer 1 (Tunnel): No account needed — instant tmp URL
  Layer 2 (Pages): Permanent *.pages.dev URL — needs Cloudflare account
  Layer 3 (Domain): Custom domain — needs domain purchase + DNS token
  Response principle: Always start with the lowest layer needed. Ask before going deeper.
  Language: Match the user's language throughout.
-->

# Buy Domain Helper

> Core tool: `node site.js <command> [--token ...] [--account ...]`
> The agent decides which layer to use. The script calls Cloudflare APIs.

## Install

```bash
# Via skills CLI (Claude Code, Cursor, Copilot, and 38+ agents)
npx skills add wohaoshuai/buy-domain-helper

# Via OpenClaw
clawhub install buy-domain-helper
```

---

## The 3 Layers

```
┌─────────────────────────────────────────────────────┐
│  Layer 3 │ Custom Domain    custom.com → Pages       │
│  Layer 2 │ Pages Hosting    yoursite.pages.dev        │
│  Layer 1 │ Tunnel           https://abc.trycloudflare.com │
└─────────────────────────────────────────────────────┘
       No account ──────────────────► Full setup
```

Start at Layer 1 and go deeper only when the user needs it.

---

## Layer 1 — Tunnel (Instant, No Account)

Use when the user wants a quick public URL without any setup.

**Ask:** "Do you have a folder with HTML files, or a local server port?"

```bash
# Static directory
node site.js tunnel ./my-site

# Local port (e.g. a running dev server)
node site.js tunnel 3000
```

- `cloudflared` installs automatically via Homebrew if not present
- Prints a `https://*.trycloudflare.com` URL in stderr within seconds
- **Temporary** — URL dies when the process stops (Ctrl+C)
- No Cloudflare account required

Present the URL immediately. Ask if they want it permanent (→ Layer 2).

---

## Layer 2 — Pages Hosting (Permanent, Free)

Use when the user wants a permanent URL that survives restarts.

**Ask for:**
1. A project name (e.g. `my-site`) — becomes `my-site.pages.dev`
2. A Cloudflare API token with **Account > Cloudflare Pages > Edit** permission:
   ```
   Create at: https://dash.cloudflare.com/profile/api-tokens
   → Custom token → Account > Cloudflare Pages > Edit
   ```
3. Their Account ID (bottom-right of the Cloudflare dashboard overview)

```bash
node site.js deploy my-site ./my-site --token <PAGES_TOKEN> --account <ACCOUNT_ID>
# → {"url":"https://abc123.my-site.pages.dev","subdomain":"my-site.pages.dev"}
```

Present the live URL. Ask if they want a custom domain (→ Layer 3).

---

## Layer 3 — Custom Domain

### Step 1 — Check & Buy

Check if the domain is available:
```bash
nod

_meta.json

{
  "ownerId": "kn7d0k57ypesxqrpjwy8rm0bk18319es",
  "slug": "buy-domain-helper",
  "version": "1.5.0",
  "publishedAt": 1774573223741
}

skill-card.md

## Description:

3-layer site launcher: tunnel any HTML instantly, deploy to Cloudflare Pages permanently, then buy a domain and link it via DNS.

This skill is ready for commercial/non-commercial use.

## Publisher:

[wohaoshuai](https://clawhub.ai/user/wohaoshuai)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and site owners use this skill to expose a local HTML page or server through a temporary Cloudflare tunnel, deploy static content to Cloudflare Pages, and connect a purchased custom domain through DNS.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The package requests an unrelated NETA_TOKEN credential that is not needed for the Cloudflare publishing workflow.

Mitigation: Remove the NETA_TOKEN requirement before release and do not provide unrelated credentials during installation or use.

Risk: Cloudflare tokens may be exposed if pasted into command lines, logs, terminal history, or chat transcripts.

Mitigation: Use least-privilege Cloudflare tokens, prefer environment variables or a secret manager, and rotate any token that may have been exposed.

Risk: Tunnel and deployment commands can make local directories or sites public.

Mitigation: Confirm the exact directory, project, domain, and DNS change before execution, and publish only content intended for public access.

Risk: Deployment, package fetching, and system installation paths require review before use with real Cloudflare credentials.

Mitigation: Pin or bundle required tooling where possible, review command construction before deployment, and test with limited-scope credentials first.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/wohaoshuai/skills/buy-domain-helper)
- [Publisher profile](https://clawhub.ai/user/wohaoshuai)
- [Project homepage](https://github.com/wohaoshuai/buy-domain-helper)
- [Cloudflare API tokens](https://dash.cloudflare.com/profile/api-tokens)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands and JSON command output examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce Cloudflare tunnel URLs, Pages deployment URLs, domain status checks, DNS configuration steps, and command-line instructions.]

## Skill Version(s):

1.5.0 (source: release evidence and package.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package.json

{
  "name": "buy-domain-helper",
  "version": "1.5.0",
  "type": "module",
  "clawhub": {
    "env": [
      {
        "name": "NETA_TOKEN",
        "description": "Neta AI API token. Get it at https://www.neta.art/open/",
        "required": true
      }
    ]
  }
}

Sponsored

Ads related to Buy Domain Helper and adjacent AI workflows.