9.8kā
gandi ā OpenClaw Skill
gandi is an OpenClaw Skills integration for coding workflows. Manage Gandi domains, DNS, email, and SSL certificates via the Gandi API
Skill Snapshot
| name | gandi |
| description | Manage Gandi domains, DNS, email, and SSL certificates via the Gandi API OpenClaw Skills integration. |
| owner | chrisagiddings |
| repository | chrisagiddings/gandi-skill |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @chrisagiddings/gandi-skill |
| last updated | Feb 7, 2026 |
Maintainer

name: gandi description: "Manage Gandi domains, DNS, email, and SSL certificates via the Gandi API"
Gandi Domain Registrar Skill
Comprehensive Gandi domain registrar integration for Moltbot.
Status: š§ Phase 1 MVP - Basic operations functional
Current Capabilities (Phase 1)
- ā Personal Access Token authentication
- ā List domains in your account
- ā Get domain details (expiration, status, services)
- ā List DNS records for domains
- ā View domain and DNS information
- ā Domain availability checking (#4)
- ā Smart domain suggestions with variations (#4)
- ā SSL certificate status checker
- ā Error handling and validation
Coming Soon (Phase 2+)
- Domain registration
- DNS record modification (add, update, delete)
- Multi-organization support (#1)
- Gateway Console configuration (#3)
- Domain renewal management
- DNSSEC configuration
- Certificate management
- Email configuration
Setup
Step 1: Create Personal Access Token
- Go to Gandi Admin ā Personal Access Tokens
- Click "Create a token"
- Select your organization
- Choose scopes:
- ā Domain: read (minimum)
- ā LiveDNS: read (for DNS operations)
- Copy the token (you won't see it again!)
Step 2: Store Token
# Create config directory
mkdir -p ~/.config/gandi
# Store your token (replace YOUR_PAT with actual token)
echo "YOUR_PERSONAL_ACCESS_TOKEN" > ~/.config/gandi/api_token
# Secure the file (owner read-only)
chmod 600 ~/.config/gandi/api_token
Step 3: Test Authentication
cd gandi-skill/scripts
node test-auth.js
Expected output:
ā
Authentication successful!
Your organizations:
1. Personal Account (uuid-here)
Type: individual
š You're ready to use the Gandi skill!
Usage Examples
List Your Domains
node list-domains.js
Output shows:
- Domain names
- Expiration dates
- Auto-renewal status
- Services (LiveDNS, Email, etc.)
- Organization ownership
List DNS Records
node list-dns.js example.com
Output shows:
- All DNS records grouped by type
- TTL values
- Record names and values
- Nameservers
Using from Moltbot
Once configured, you can use natural language:
"List my Gandi domains"
"Show DNS records for example.com"
"When does example.com expire?"
"Is auto-renewal enabled for example.com?"
Domain Availability Checking
Check Single Domain
Check if a specific domain is available for registration:
node check-domain.js example.com
Features:
- Shows availability status (available/unavailable/pending/error)
- Displays pricing information (registration, renewal, transfer)
- Lists supported features (DNSSEC, LiveDNS, etc.)
- Shows TLD information
Example Output:
š Checking availability for: example.com
Domain: example.com
ā
Status: AVAILABLE
š° Pricing:
1 year: 12.00 EUR (+ 2.40 tax)
2 years: 24.00 EUR (+ 4.80 tax)
š Supported Features:
⢠create
⢠dnssec
⢠livedns
š TLD Information:
Extension: com
Smart Domain Suggestions
Find available alternatives with TLD variations and name modifications:
# Check all configured TLDs + variations
node suggest-domains.js example
# Check specific TLDs only
node suggest-domains.js example --tlds com,net,io
# Skip name variations (only check TLDs)
node suggest-domains.js example --no-variations
# Output as JSON
node suggest-domains.js example --json
Name Variation Patterns:
- Hyphenated: Adds hyphens between word boundaries (
exampleāex-ample) - Abbreviated: Removes vowels (
exampleāexmpl) - Prefix: Adds common prefixes (
exampleāget-example,my-example) - Suffix: Adds common suffixes (
exampleāexample-app,example-hub) - Numbers: Appends numbers (
exampleāexample2,example3)
Example Output:
š Checking availability for: example
š Checking 13 TLDs and generating variations...
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š EXACT MATCHES (Different TLDs)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
Available:
example.net 12.00 EUR
example.io 39.00 EUR
example.dev 15.00 EUR
ā Unavailable:
example.com (unavailable)
example.org (unavailable)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
šØ NAME VARIATIONS
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Hyphenated:
ā
ex-ample.com 12.00 EUR
Prefix:
ā
get-example.com 12.00 EUR
ā
my-example.com 12.00 EUR
Suffix:
ā
example-app.com 12.00 EUR
ā
example-io.com 12.00 EUR
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š SUMMARY: 8 available domains found
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Configuration
Domain checker configuration is stored in gandi-skill/config/domain-checker-defaults.json.
Structure:
{
"tlds": {
"mode": "extend",
"defaults": ["com", "net", "org", "info", "io", "dev", "app", "ai", "tech"],
"custom": []
},
"variations": {
"enabled": true,
"patterns": ["hyphenated", "abbreviated", "prefix", "suffix", "numbers"],
"prefixes": ["get", "my", "the", "try"],
"suffixes": ["app", "hub", "io", "ly", "ai", "hq"],
"maxNumbers": 3
},
"rateLimit": {
"maxConcurrent": 3,
"delayMs": 200,
"maxRequestsPerMinute": 100
},
"limits": {
"maxTlds": 5,
"maxVariations": 10
}
}
Rate Limiting & Limits:
- maxConcurrent: Maximum concurrent API requests (default: 3)
- delayMs: Delay between requests in milliseconds (default: 200ms)
- maxRequestsPerMinute: Hard limit on requests per minute (default: 100, Gandi allows 1000)
- maxTlds: Maximum TLDs to check in suggest-domains.js (default: 5)
- maxVariations: Maximum name variations to generate (default: 10)
These limits ensure good API citizenship and prevent overwhelming Gandi's API.
TLD Modes:
"extend": Use defaults + custom TLDs (merged list)"replace": Use only custom TLDs (ignore defaults)
Gateway Console Integration:
When Gateway Console support is added (#3), configuration will be available at:
skills:
entries:
gandi:
config:
domainChecker:
tlds:
mode: extend
defaults: [...]
custom: [...]
variations:
enabled: true
patterns: [...]
See docs/gateway-config-design.md for complete configuration architecture.
Helper Scripts
All scripts are in gandi-skill/scripts/:
| Script | Purpose |
|---|---|
test-auth.js | Verify authentication works |
list-domains.js | Show all domains in account |
list-dns.js <domain> | Show DNS records for domain |
check-domain.js <domain> | Check single domain availability + pricing |
suggest-domains.js <name> | Smart domain suggestions with variations |
check-ssl.js | Check SSL certificate status for all domains |
gandi-api.js | Core API client (importable) |
Configuration
Default Configuration
- Token file:
~/.config/gandi/api_token - API URL:
https://api.gandi.net(production)
Sandbox Testing
To use Gandi's sandbox environment:
# Create sandbox token at: https://admin.sandbox.gandi.net
echo "YOUR_SANDBOX_TOKEN" > ~/.config/gandi/api_token
echo "https://api.sandbox.gandi.net" > ~/.config/gandi/api_url
Troubleshooting
Token Not Found
# Verify file exists
ls -la ~/.config/gandi/api_token
# Should show: -rw------- (600 permissions)
Authentication Failed (401)
- Token is incorrect or expired
- Create new token at Gandi Admin
- Update stored token file
Permission Denied (403)
- Token doesn't have required scopes
- Create new token with Domain:read and LiveDNS:read
- Verify organization membership
Domain Not Using LiveDNS
If you get "not using Gandi LiveDNS" error:
- Log in to Gandi Admin
- Go to domain management
- Attach LiveDNS service to the domain
Rate Limit (429)
Gandi allows 1000 requests/minute. If exceeded:
- Wait 60 seconds
- Reduce frequency of API calls
API Reference
The skill provides importable functions:
import {
testAuth,
listDomains,
getDomain,
listDnsRecords,
getDnsRecord,
checkAvailability
} from './gandi-api.js';
// Test authentication
const auth = await testAuth();
// List domains
const domains = await listDomains();
// Get domain info
const domain = await getDomain('example.com');
// List DNS records
const records = await listDnsRecords('example.com');
// Get specific DNS record
const record = await getDnsRecord('example.com', '@', 'A');
// Check availability
const available = await checkAvailability(['example.com', 'example.net']);
Security
Token Storage
ā DO:
- Store at
~/.config/gandi/api_token - Use 600 permissions (owner read-only)
- Rotate tokens regularly
- Use minimal required scopes
ā DON'T:
- Commit tokens to repositories
- Share tokens between users
- Give tokens unnecessary permissions
- Store tokens in scripts
Token Scopes
Phase 1 (current):
- Domain: read
- LiveDNS: read
Phase 2+ (future):
- Domain: read, write (for registration, renewal)
- LiveDNS: read, write (for DNS modifications)
- Certificate: read (optional, for SSL certs)
- Email: read, write (optional, for email config)
Architecture
gandi-skill/
āāā SKILL.md # This file
āāā references/ # API documentation
ā āāā api-overview.md
ā āāā authentication.md
ā āāā domains.md
ā āāā livedns.md
ā āāā setup.md
āāā scripts/ # Helper utilities
āāā package.json
āāā gandi-api.js # Core API client
āāā test-auth.js # Test authentication
āāā list-domains.js # List domains
āāā list-dns.js # List DNS records
Development Roadmap
Phase 1: Read Operations (ā Current)
- Authentication with PAT
- List domains
- Get domain details
- List DNS records
- Basic error handling
Phase 2: DNS Modifications
- Add DNS records
- Update DNS records
- Delete DNS records
- Bulk DNS operations
Phase 3: Domain Management
- Domain registration
- Domain renewal
- Auto-renewal configuration
- Nameserver management
Phase 4: Multi-Organization (#1)
- Profile-based token management
- Organization selection
- Multiple token support
Phase 5: Advanced Features
- DNSSEC management
- Certificate management
- Email/mailbox configuration
- Domain transfer operations
Contributing
See Contributing Guide in the main README.
Support
- Issues: GitHub Issues
- Documentation: Reference Guides
- Gandi Support: help.gandi.net
License
MIT License - See LICENSE
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
``` ### Authentication Failed (401) - Token is incorrect or expired - Create new token at Gandi Admin - Update stored token file ### Permission Denied (403) - Token doesn't have required scopes - Create new token with Domain:read and LiveDNS:read - Verify organization membership ### Domain Not Using LiveDNS If you get "not using Gandi LiveDNS" error: 1. Log in to Gandi Admin 2. Go to domain management 3. Attach LiveDNS service to the domain ### Rate Limit (429) Gandi allows 1000 requests/minute. If exceeded: - Wait 60 seconds - Reduce frequency of API calls ## API Reference The skill provides importable functions: ```javascript import { testAuth, listDomains, getDomain, listDnsRecords, getDnsRecord, checkAvailability } from './gandi-api.js'; // Test authentication const auth = await testAuth(); // List domains const domains = await listDomains(); // Get domain info const domain = await getDomain('example.com'); // List DNS records const records = await listDnsRecords('example.com'); // Get specific DNS record const record = await getDnsRecord('example.com', '@', 'A'); // Check availability const available = await checkAvailability(['example.com', 'example.net']); ``` ## Security ### Token Storage ā **DO:** - Store at `~/.config/gandi/api_token` - Use 600 permissions (owner read-only) - Rotate tokens regularly - Use minimal required scopes ā **DON'T:** - Commit tokens to repositories - Share tokens between users - Give tokens unnecessary permissions - Store tokens in scripts ### Token Scopes **Phase 1 (current):** - Domain: read - LiveDNS: read **Phase 2+ (future):** - Domain: read, write (for registration, renewal) - LiveDNS: read, write (for DNS modifications) - Certificate: read (optional, for SSL certs) - Email: read, write (optional, for email config) ## Architecture ``` gandi-skill/ āāā SKILL.md # This file āāā references/ # API documentation ā āāā api-overview.md ā āāā authentication.md ā āāā domains.md ā āāā livedns.md ā āāā setup.md āāā scripts/ # Helper utilities āāā package.json āāā gandi-api.js # Core API client āāā test-auth.js # Test authentication āāā list-domains.js # List domains āāā list-dns.js # List DNS records ``` ## Development Roadmap **Phase 1: Read Operations** (ā Current) - Authentication with PAT - List domains - Get domain details - List DNS records - Basic error handling **Phase 2: DNS Modifications** - Add DNS records - Update DNS records - Delete DNS records - Bulk DNS operations **Phase 3: Domain Management** - Domain registration - Domain renewal - Auto-renewal configuration - Nameserver management **Phase 4: Multi-Organization** ([#1](https://github.com/chrisagiddings/moltbot-gandi-skill/issues/1)) - Profile-based token management - Organization selection - Multiple token support **Phase 5: Advanced Features** - DNSSEC management - Certificate management - Email/mailbox configuration - Domain transfer operations ## Contributing See [Contributing Guide](../../README.md#contributing) in the main README. ## Support - **Issues:** [GitHub Issues](https://github.com/chrisagiddings/moltbot-gandi-skill/issues) - **Documentation:** [Reference Guides](./references/) - **Gandi Support:** [help.gandi.net](https://help.gandi.net/) ## License MIT License - See [LICENSE](../../LICENSE)
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
Configuration
Domain checker configuration is stored in `gandi-skill/config/domain-checker-defaults.json`. **Structure:** ```json { "tlds": { "mode": "extend", "defaults": ["com", "net", "org", "info", "io", "dev", "app", "ai", "tech"], "custom": [] }, "variations": { "enabled": true, "patterns": ["hyphenated", "abbreviated", "prefix", "suffix", "numbers"], "prefixes": ["get", "my", "the", "try"], "suffixes": ["app", "hub", "io", "ly", "ai", "hq"], "maxNumbers": 3 }, "rateLimit": { "maxConcurrent": 3, "delayMs": 200, "maxRequestsPerMinute": 100 }, "limits": { "maxTlds": 5, "maxVariations": 10 } } ``` **Rate Limiting & Limits:** - **maxConcurrent**: Maximum concurrent API requests (default: 3) - **delayMs**: Delay between requests in milliseconds (default: 200ms) - **maxRequestsPerMinute**: Hard limit on requests per minute (default: 100, Gandi allows 1000) - **maxTlds**: Maximum TLDs to check in suggest-domains.js (default: 5) - **maxVariations**: Maximum name variations to generate (default: 10) These limits ensure good API citizenship and prevent overwhelming Gandi's API. **TLD Modes:** - `"extend"`: Use defaults + custom TLDs (merged list) - `"replace"`: Use only custom TLDs (ignore defaults) **Gateway Console Integration:** When Gateway Console support is added ([#3](https://github.com/chrisagiddings/moltbot-gandi-skill/issues/3)), configuration will be available at: ```yaml skills: entries: gandi: config: domainChecker: tlds: mode: extend defaults: [...] custom: [...] variations: enabled: true patterns: [...] ``` See `docs/gateway-config-design.md` for complete configuration architecture.
FAQ
How do I install gandi?
Run openclaw add @chrisagiddings/gandi-skill in your terminal. This installs gandi into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/chrisagiddings/gandi-skill. Review commits and README documentation before installing.
