diff --git a/Foundational/domainer-cli/SKILL.md b/Foundational/domainer-cli/SKILL.md new file mode 100644 index 0000000..ae1757c --- /dev/null +++ b/Foundational/domainer-cli/SKILL.md @@ -0,0 +1,116 @@ +--- +name: domainer-cli +description: Check domain name availability individually or in bulk. +metadata: + author: vibecode-dev + version: "1.0" +--- + + +domainer-cli +Command line client for checking domain name availability. + + +- macOS (Apple Silicon): https://domains.vibecodeapp.com/download/darwin/arm64/domainer-cli +- macOS (Intel): https://domains.vibecodeapp.com/download/darwin/amd64/domainer-cli +- Linux (x86_64): https://domains.vibecodeapp.com/download/linux/amd64/domainer-cli +- Windows (x86_64): https://domains.vibecodeapp.com/download/windows/amd64/domainer-cli + +After downloading, make the binary executable and install (macOS/Linux): + + mkdir -p ~/.local/bin + chmod +x domainer-cli + mv domainer-cli ~/.local/bin/domainer-cli + + + + + + --debug Enable debug logging to stderr + --output string Output format: "text" or "json" (default "text") + + + +The --output flag controls output for all commands: +- text (default): logfmt style key=value pairs, one line per result. Designed for grep and cut. +- json: single JSON object per invocation. Designed for jq. + + + +Check whether a single domain name is available for registration. +domainer-cli check <domain> + + # Check if a domain is available + domainer-cli check example.com + + # Output as JSON + domainer-cli check --output json example.com + + # Extract just the availability boolean + domainer-cli check --output json example.com | jq '.available' + + # Conditionally print a message based on availability + domainer-cli check --output json example.com | jq --raw-output 'if .available then "GO: \(.name)" else "TAKEN: \(.name)" end' + + # Filter for available domains in a shell loop + domainer-cli check example.com | grep --fixed-strings "status=available" + + +domain=example.com status=available + + +{"name":"example.com","available":true} + + + + +Check availability of domain names listed in a file (one per line). Pass - or omit the file to read from stdin. +domainer-cli check-bulk [file] [flags] + + --append-tld strings TLDs to append to each name (e.g. --append-tld com --append-tld ai) + + + # Check all domains in a file + domainer-cli check-bulk domains.txt + + # Output as JSON + domainer-cli check-bulk --output json domains.txt + + # Check names with specific TLDs (file contains bare names like "myapp") + domainer-cli check-bulk --append-tld com --append-tld ai names.txt + + # Filter for only available domains + domainer-cli check-bulk domains.txt | grep --fixed-strings "status=available" + + # Filter for unavailable domains + domainer-cli check-bulk domains.txt | grep --fixed-strings "status=unavailable" + + # Extract just the available domain names + domainer-cli check-bulk domains.txt | grep --fixed-strings "status=available" | cut --delimiter="=" --fields=2 | cut --delimiter=" " --fields=1 + + # List only available domains as JSON + domainer-cli check-bulk --output json domains.txt | jq --raw-output '.available[]' + + # Count available vs total + domainer-cli check-bulk --output json domains.txt | jq '{total: ((.available | length) + (.unavailable | length)), available: (.available | length)}' + + # List only unavailable domains as JSON + domainer-cli check-bulk --output json domains.txt | jq --raw-output '.unavailable[]' + + # Read domain names from stdin + echo -e "a.com\nb.com" | domainer-cli check-bulk + + # Pipe names through with TLD expansion + cat names.txt | domainer-cli check-bulk --append-tld com --append-tld ai - + + +domain=a.com status=available +domain=b.com status=unavailable +domain=c.com status=available + + +{"available":["a.com","c.com"],"unavailable":["b.com"]} + + + + \ No newline at end of file