# dn-check

Checks whether one or more domain names are available and what they cost, using the dn CLI.

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add automattic/dn-cli --skill dn-check
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add automattic/dn-cli --skill dn-check -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 5. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/dn-check)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-check). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: dn-check
description: 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).
---

# dn check

Check availability and pricing for one or more domain names.

## Usage

```bash
# 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 on `status === "available"` (string, not boolean).

## Notes

- Accepts multiple domain arguments (space-separated)
- Requires prior `dn configure` setup
````

- Previous: [dn-cart](https://syn4pse.dev/terminal/automattic-dn-cart.md)
- Next: [dn-configure](https://syn4pse.dev/terminal/automattic-dn-configure.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
