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

namecheap-dns

Safe DNS record management for Namecheap domains. Fetch, add, remove, backup, and restore DNS records with automatic safety checks and dry-run mode. Prevents accidental DNS record wipeout via the Namecheap API's destructive setHosts method.

Why use this skill?

Manage Namecheap DNS records safely with OpenClaw. This tool prevents accidental domain record wipeouts, performs safe merging, and includes automated backups.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jarekbird/namecheap-dns
Or

What This Skill Does

The namecheap-dns skill is a professional-grade safety wrapper designed for managing DNS records on the Namecheap platform via OpenClaw. Because the standard Namecheap API uses a destructive 'setHosts' method—which replaces your entire DNS configuration with whatever is sent, potentially causing catastrophic downtime—this skill introduces a robust safety layer. It performs automated fetching of existing records to merge changes safely, provides a dry-run preview, and executes mandatory pre-flight checks to identify 'ghost records' (records managed by internal Namecheap subsystems that aren't visible through the standard API).

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/jarekbird/namecheap-dns. After installation, navigate to the workspace directory (~/.openclaw/workspace/skills/namecheap-dns) and run npm install. Ensure your Namecheap API credentials are configured in your environment variables (NAMECHEAP_API_KEY, NAMECHEAP_USERNAME, and NAMECHEAP_API_USER) and that your current IP address is whitelisted in the Namecheap API settings dashboard.

Use Cases

This skill is perfect for developers managing domain infrastructure who need to add, update, or remove records without risking the integrity of their existing setup. It is particularly useful for setting up automated workflows for email verification (SPF/DKIM/MX), managing custom subdomains for staging environments, or migrating legacy DNS configurations. The auto-backup feature provides an essential safety net for teams that need to perform rapid rollbacks in case of configuration errors.

Example Prompts

  1. "OpenClaw, please list all current DNS records for example.com and verify that there are no ghost records hiding in my configuration."
  2. "Add a new TXT record for mail.example.com with the value 'v=spf1 include:mailgun.org ~all' to example.com, but run it as a dry-run first so I can preview the merge."
  3. "Restore the DNS records for example.com to the latest backup state immediately."

Tips & Limitations

Always run the verify command before performing any write operations to detect conflicts with invisible system records. If you are forced to override protection, ensure you fully understand the implications of the Namecheap destructive update process. This tool is intended for experienced users who require programmatic control over their infrastructure while maintaining maximum data safety and auditability.

Metadata

Author@jarekbird
Stars1947
Views0
Updated2026-03-04
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-jarekbird-namecheap-dns": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#dns#namecheap#network-admin#automation#web-infrastructure
Safety Score: 5/5

Flags: network-access, file-read, external-api