Dn check
Check domain name availability and pricing using the dn CLI. Use when the user wants to know if a domain is available, see domain pricing, or verify multiple domains at once. Supports both partner mode (Domain Services API) and user mode (WordPress.com API).From its SKILL.md
npx -y skills add Automattic/dn-cli --skill dn-checkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, as published. Nobody here has run it
dn check
Check availability and pricing for one or more domain names.
Usage
# Check a single domain
dn check example.com
# Check multiple domains at once
dn check example.com example.net example.org
Output
Partner mode table columns: Domain, Available, Fee Class, Price, Zone Active, TLD Maintenance
User mode table columns: Domain, Available, Status, Cost, Privacy
Behavior by Mode
- Partner mode: Queries the Domain Services API. Returns pricing in dollars, fee class, zone/TLD status.
- User mode: Queries WPCOM
rest/v1.3/domains/{domain}/is-available. Availability is based onstatus === "available"(string, not boolean).
Notes
- Accepts multiple domain arguments (space-separated)
- Requires prior
dn configuresetup