# Send Porkbun to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "porkbun-skill",
    "name": "Porkbun",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wmantly/porkbun-skill",
    "canonicalUrl": "https://clawhub.ai/wmantly/porkbun-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/porkbun-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=porkbun-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "SKILL.md",
      "package.json",
      "references/dns-record-types.md",
      "scripts/porkbun-dns.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "porkbun-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T07:19:00.603Z",
      "expiresAt": "2026-05-14T07:19:00.603Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=porkbun-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=porkbun-skill",
        "contentDisposition": "attachment; filename=\"porkbun-skill-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "porkbun-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/porkbun-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/porkbun-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/porkbun-skill",
    "agentUrl": "https://openagent3.xyz/skills/porkbun-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/porkbun-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/porkbun-skill/agent.md"
  }
}
```
## Documentation

### Porkbun DNS Management

Manage DNS records and domains on Porkbun via their REST API v3.

### Set up API credentials

Generate API keys: https://porkbun.com/account/api
Save credentials to config file: ~/.config/porkbun/config.json

{
  "apiKey": "your-api-key",
  "secretApiKey": "your-secret-api-key"
}

Or set environment variables:

export PORKBUN_API_KEY="your-api-key"
export PORKBUN_SECRET_API_KEY="your-secret-api-key"

Enable API access for each domain: Domain Management → Details → API Access → Enable

### Test connection

node ~/.openclaw/workspace/skills/public/porkbun/scripts/porkbun-dns.js ping

### Using the CLI Tool

The scripts/porkbun-dns.js script provides a reliable, deterministic way to execute DNS operations. Use it directly for common tasks instead of writing custom code.

### Common Operations

List domains

node scripts/porkbun-dns.js list

List DNS records

node scripts/porkbun-dns.js records example.com

Create records

# A record
node scripts/porkbun-dns.js create example.com type=A name=www content=1.1.1.1 ttl=600

# CNAME
node scripts/porkbun-dns.js create example.com type=CNAME name=docs content=example.com

# MX record
node scripts/porkbun-dns.js create example.com type=MX name= content="mail.example.com" prio=10

# TXT record ( SPF for email)
node scripts/porkbun-dns.js create example.com type=TXT name= content="v=spf1 include:_spf.google.com ~all"

Edit records

# By ID (get ID from records command)
node scripts/porkbun-dns.js edit example.com 123456 content=2.2.2.2

# By type and subdomain (updates all matching records)
node scripts/porkbun-dns.js edit-by example.com A www content=2.2.2.2

Delete records

# By ID
node scripts/porkbun-dns.js delete example.com 123456

# By type and subdomain
node scripts/porkbun-dns.js delete-by example.com A www

Get specific records

# All records
node scripts/porkbun-dns.js get example.com

# Filter by type
node scripts/porkbun-dns.js get example.com A

# Filter by type and subdomain
node scripts/porkbun-dns.js get example.com A www

### Record Types

Supported record types: A, AAAA, CNAME, ALIAS, TXT, NS, MX, SRV, TLSA, CAA, HTTPS, SVCB, SSHFP

For detailed field requirements and examples, see references/dns-record-types.md.

### Website Setup

Create root A record and www CNAME:

node scripts/porkbun-dns.js create example.com type=A name= content=192.0.2.1
node scripts/porkbun-dns.js create example.com type=CNAME name=www content=example.com

### Email Configuration

Set up MX records for Google Workspace:

node scripts/porkbun-dns.js create example.com type=MX name= content="aspmx.l.google.com" prio=1
node scripts/porkbun-dns.js create example.com type=MX name= content="alt1.aspmx.l.google.com" prio=5
node scripts/porkbun-dns.js create example.com type=MX name= content="alt2.aspmx.l.google.com" prio=5
node scripts/porkbun-dns.js create example.com type=MX name= content="alt3.aspmx.l.google.com" prio=10
node scripts/porkbun-dns.js create example.com type=MX name= content="alt4.aspmx.l.google.com" prio=10

Add SPF record:

node scripts/porkbun-dns.js create example.com type=TXT name= content="v=spf1 include:_spf.google.com ~all"

### Dynamic DNS

Update home IP address (can be scripted/automated):

HOME_IP=$(curl -s ifconfig.me)
node scripts/porkbun-dns.js edit-by example.com A home content=$HOME_IP

### Wildcard DNS

Create a wildcard record pointing to root:

node scripts/porkbun-dns.js create example.com type=A name=* content=192.0.2.1

### Reference Documentation

references/dns-record-types.md - Detailed reference for all DNS record types and field requirements
https://porkbun.com/api/json/v3/documentation - Full API documentation

### "API key not found"

Verify config file exists at ~/.config/porkbun/config.json
Check environment variables: echo $PORKBUN_API_KEY
Ensure API access is enabled for the specific domain

### "Invalid type passed"

Record types must be uppercase (e.g., A, not a)
See supported types list above

### HTTP errors

Verify API keys are valid at https://porkbun.com/account/api
Check network connectivity
Confirm API endpoint is api.porkbun.com (not porkbun.com)

### TTL errors

Minimum TTL is 600 seconds (10 minutes)
Default TTL is 600 seconds
Common values: 300 (dynamic), 3600 (standard), 86400 (stable)

### Notes

TTL minimum is 600 seconds
Use "@" for root domain records
Use "*" for wildcard records
TXT records with spaces need quotes
Multiple MX records allowed with different priorities
API v3 current hostname: api.porkbun.com
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wmantly
- Version: 0.1.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T07:19:00.603Z
- Expires at: 2026-05-14T07:19:00.603Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/porkbun-skill)
- [Send to Agent page](https://openagent3.xyz/skills/porkbun-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/porkbun-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/porkbun-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/porkbun-skill)