简介
Domain Checker
原始描述
Check whether domain names are available for registration. Use when a user asks to verify domain availability, find unregistered domains, brainstorm project/...
通过你的 Agent 添加
安装目录:domain-checker/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: domain-checker
description: Check whether domain names are available for registration. Use when a user asks to verify domain availability, find unregistered domains, brainstorm project/brand names with domain checks, or any task involving "is this domain taken?". Supports .com, .net, .org, .io, .ai, .so, and other TLDs. Cross-verifies via whois + DNS NS + DNS A records for reliable results.
Domain Checker
Check domain availability using whois + DNS cross-verification. Single source of truth for all domain availability queries.
Quick Start
Run the Python script (no system dependencies — no whois/dig CLI needed):
python3 scripts/check_domains.py example.com myproject.io brand.ai
Or pipe a list:
echo "foo.com bar.ai baz.io" | python3 scripts/check_domains.py
Legacy bash script (requires whois + dig CLI):
bash scripts/check_domains.sh example.com myproject.io brand.ai
Output Format
Each domain gets one of three verdicts:
| Symbol | Meaning | Confidence |
|---|---|---|
| ✅ AVAILABLE | whois says "not found" AND no DNS NS records | High |
| ❌ TAKEN | whois shows Creation Date OR DNS records exist | High |
| ⚠️ LIKELY TAKEN | Conflicting signals (whois unclear but DNS exists) | Medium |
| ❓ UNKNOWN | whois returned no data — verify manually | Low |
How It Works
Three independent signals are cross-verified:
- whois Creation Date — Most authoritative. If present, domain is taken.
- DNS NS records — Registered domains almost always have nameservers.
- DNS A records — Fallback signal for parked/active domains.
A domain is only marked AVAILABLE when whois explicitly says "not found" AND no DNS records exist. This eliminates false positives from unreliable whois web interfaces.
Important Notes
- Rate limiting: The script waits 1 second between queries to avoid whois server throttling. For large batches (>50), consider splitting into multiple runs.
- whois web interfaces are unreliable: Sites like whois.com often return stale/incorrect data. This script uses the
whois CLI directly.
- .ai TLD quirk: The .ai whois server sometimes returns sparse data. The script handles this by also checking DNS.
- Premium/aftermarket domains: A domain may be "available" in whois but listed at a premium price on registrars. The script cannot detect this — check the registrar for actual purchase price.
- Python script: No system dependencies — uses stdlib
socket for whois (port 43) and DNS resolution.
- Bash script (legacy): Requires
whois and dig CLI tools (pre-installed on most Linux/macOS systems).
Batch Domain Brainstorming
whois CLI directly.socket for whois (port 43) and DNS resolution.whois and dig CLI tools (pre-installed on most Linux/macOS systems).When helping users brainstorm project names with domain checks, use this workflow:
- Generate 15-30 candidate names based on user criteria
- Run all candidates through the script in one batch
- Present only the AVAILABLE results with analysis
- Iterate on available candidates if needed
Example:
python3 scripts/check_domains.py myapp.com myapp.ai myapp.io coolname.com coolname.ai
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。