ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

porkbun

Manage Porkbun DNS records and domains via API v3. Use when Codex needs to create, read, update, or delete DNS records on Porkbun; list domains; configure API access; work with common record types (A, AAAA, CNAME, MX, TXT, etc.). The skill includes a CLI tool `scripts/porkbun-dns.js` for executing DNS operations reliably.

Why use this skill?

Automate your Porkbun DNS management with this OpenClaw skill. Easily create, update, and delete DNS records for your domains using a simple, reliable CLI tool.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/wmantly/porkbun-skill
Or

What This Skill Does

The Porkbun skill provides a robust interface for OpenClaw to interact with the Porkbun API v3. It allows agents to manage domain registration settings and DNS record lifecycle management programmatically. Whether you need to point a domain to a new server IP, configure mail records (MX/SPF/TXT), or manage subdomains dynamically, this skill abstracts the complex API requests into simple, atomic CLI commands. By utilizing the provided scripts/porkbun-dns.js tool, the agent ensures that all DNS operations are executed with strict adherence to API expectations, reducing error rates associated with manual record updates.

Installation

To install this skill, use the command: clawhub install openclaw/skills/skills/wmantly/porkbun-skill. After installation, ensure you have your Porkbun API credentials ready. You can authenticate by creating a configuration file at ~/.config/porkbun/config.json containing your apiKey and secretApiKey, or by setting the PORKBUN_API_KEY and PORKBUN_SECRET_API_KEY environment variables in your terminal. Note that you must also visit the Porkbun Domain Management dashboard to explicitly enable API access for each specific domain you wish to manage with this skill.

Use Cases

This skill is perfect for automated infrastructure tasks. Common use cases include: 1) Pointing development environments to new temporary IP addresses during automated deployments. 2) Bulk-updating TXT records across multiple domains for domain verification services like Google Workspace or AWS SES. 3) Automating the setup of CNAMEs for landing pages or marketing micro-sites. 4) Validating DNS health by checking current records before making modifications.

Example Prompts

  1. "Check the current DNS records for example.com and let me know if there is an A record pointing to my new server at 192.168.1.50. If not, add it."
  2. "Add a new TXT record for example.com with the value 'v=spf1 include:_spf.google.com ~all' to ensure my email deliverability is configured correctly."
  3. "Delete the existing CNAME record for 'staging.example.com' and replace it with a new CNAME pointing to 'my-new-app.herokuapp.com'."

Tips & Limitations

Always run the ping command first to verify your API credentials are functioning correctly. When modifying records by subdomain, remember that the edit-by and delete-by commands will affect all records matching the type and name; if multiple records share a name, check the record IDs first using the records command. Be aware that DNS changes can take time to propagate across the internet, so do not expect immediate global visibility after an update. Ensure your environment variables are exported in the session from which OpenClaw is running.

Metadata

Author@wmantly
Stars919
Views1
Updated2026-02-12
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-wmantly-porkbun-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#dns#networking#automation#infrastructure#porkbun
Safety Score: 3/5

Flags: network-access, file-read, file-write, external-api, code-execution