eliza-cloud-buy-domain

Registers custom domains for Eliza Cloud apps through Cloudflare using cloud credit balance.

19.2k|5.7k|Updated Jul 9, 2024
One-click install
npx skills add https://github.com/elizaOS/eliza --skill eliza-cloud-buy-domain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eliza-cloud-buy-domain
Source: https://github.com/elizaOS/eliza/tree/main/packages/skills/skills/eliza-cloud-buy-domain
Command: npx skills add https://github.com/elizaOS/eliza --skill eliza-cloud-buy-domain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @elizaos/cloud-sdk, and includes references (resource) components.

What problem does it solve?

Apps deployed on Eliza Cloud get an auto-assigned *.apps.eliza.app subdomain, which is unsuitable for production branding. This Skill handles the entire custom domain purchase flow — availability check, price quote, Cloudflare registration, DNS pointing, and app attachment — paid directly from the user's existing cloud credit balance with no separate registrar account or manual DNS configuration.

Core Features & Use Cases

  • Availability and Price Quoting: Checks whether a domain is available and returns the exact total price (Cloudflare wholesale plus margin) before any charge occurs.
  • Atomic Purchase with Refund Protection: Debits credits, registers via Cloudflare, attaches the domain to the app, and automatically refunds if registration fails; idempotent for domains already owned by the same organization.
  • First-Class Agent Actions: Conversational agents using @elizaos/plugin-cloud-apps can call CHECK_APP_DOMAIN, BUY_APP_DOMAIN, and LIST_APP_DOMAINS instead of raw SDK calls.
  • Use Case: A user says "build me a landing page and put it on mybrand.com" — after the app ships, the agent quotes the domain price, gets explicit confirmation, and completes the purchase in one flow.

Quick Start

Ask the agent to check availability and buy a custom domain like myapp.com for your deployed Eliza Cloud app, confirming the quoted price before purchase.

Frequently Asked Questions about eliza-cloud-buy-domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I buy a custom domain for my Eliza Cloud app?

First quote the domain with the check endpoint to confirm availability and price, get explicit user confirmation, then call the buy endpoint. The cloud debits your credit balance, registers via Cloudflare, and attaches the domain to your app automatically.

How much does a domain cost on Eliza Cloud?

Pricing is Cloudflare wholesale plus a fixed Eliza Cloud margin, charged in USD from your cloud credit balance. A .com domain costs roughly $14-15 per year, and the exact total is always shown in the quote before purchase.

Can I attach a domain I already own instead of buying one?

Yes, but not through this buy flow. Use the direct domains endpoint which generates a verification TXT record you add at your existing DNS provider, then re-check via the verify endpoint.

What happens if the domain registration fails after payment?

The buy route is atomic: if Cloudflare registration fails, the cloud automatically refunds the debited credits. The route is also idempotent, so retrying a domain already owned by your organization returns alreadyRegistered without charging again.

Why is my purchased domain not serving HTTPS yet?

SSL provisioning can take one to two minutes after DNS appears because edge certificates need time to provision. Verify status with direct checks like curl or dig rather than registrar search pages.

Can I cancel or get a refund for a completed domain registration?

No. Cloudflare registrations are non-refundable once complete. You can detach the domain from the app via the delete endpoint, but the registration itself stays active until expiration.