LaunchKit · 2026
Back to Skills

porkbun-skill

Manage Porkbun DNS records and domains via API v3.

0
885 downloads
by @wmantly

Setup & Installation

openclaw skills install @wmantly/porkbun-skill

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install porkbun-skill

Version History

v0.1.2Feb 11, 2026 - Version note by skill developer:

- Initial release of porkbun-skill. - Added CLI tool `scripts/porkbun-dns.js` to manage Porkbun DNS records and domains via API v3. - Added `package.json` for dependency management and CLI script setup. - Included a changelog file (CHANGELOG.md) for tracking updates.

What This Skill Does

Manages DNS records and domains on Porkbun via their REST API v3. A CLI tool at scripts/porkbun-dns.js handles create, read, update, and delete operations for all common record types including A, AAAA, CNAME, MX, TXT, and more.

The bundled CLI tool executes DNS operations deterministically, removing the need to write custom API request code for routine record management.

When to use it

  • Pointing a newly registered domain to a server IP address
  • Configuring Google Workspace MX records for business email
  • Automating dynamic DNS updates when a home IP address changes
  • Adding SPF and TXT records for email deliverability
  • Creating wildcard subdomains for staging or preview environments

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Configure email routing for example.com using Google Workspace

AGENT
  1. 1Lists existing DNS records for example.com to check for conflicts
  2. 2Creates five MX records for Google Workspace mail servers with correct priorities
  3. 3Adds an SPF TXT record to authorize Google mail servers
  4. 4Lists DNS records again to confirm all entries are present
OUTPUT

Google Workspace MX records and SPF record created on example.com, ready for email routing

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Porkbun account with API access enabled per domainPORKBUN_API_KEY environment variable or entry in ~/.config/porkbun/config.jsonPORKBUN_SECRET_API_KEY environment variable or entry in ~/.config/porkbun/config.json