/gandi:gandifrom gandi
Manage Gandi domains, DNS records, and web redirects via the gandi CLI. Use when the user wants to view or edit DNS records, check domain info or availability, renew a domain, toggle auto-renew, or set up web redirects on a Gandi-managed domain.
Ships in gandi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The gandi CLI must be installed (npm install -g @kud/gandi-cli) and a Gandi
Personal Access Token must be available as GANDI_API_KEY (or in
~/.config/gandi/config.toml). If any command returns an authentication error,
run gandi doctor --json and surface its guidance — do not retry blindly.
--jsonAppend --json to every command. Reads print the data; writes print a result
object ({ "ok": true, ... }); errors print { "error": "..." } to stderr
with a non-zero exit code. Parse the JSON — never scrape the human-formatted
tables.
Running gandi with no arguments (added in 0.7.0) opens an interactive
terminal browser — a domain picker, then DNS / Redirects / Info tabs for the
chosen domain, with inline editing. That's for a human at a terminal; for
scripted or programmatic use the subcommands below are unchanged and remain
the right choice.
DNS
gandi dns list <domain> --jsongandi dns get <domain> <type> <name> --jsongandi dns set <domain> <type> <name> <value> [--ttl <s>] --json — replaces the whole recordgandi dns add <domain> <type> <name> <value> [--ttl <s>] --json — appends one valuegandi dns export <domain> --json — returns { "zone": "<BIND zone file>" }gandi dns delete <domain> <type> <name> --yes --jsonDomains
gandi domain list --jsongandi domain info <domain> --jsongandi domain available <name> --jsongandi domain renew <domain> [--duration <years>] --jsongandi domain autorenew <domain> on|off --jsongandi domain nameservers <domain> --jsonRedirects (web forwarding)
gandi redirect list <domain> --json — pages through all redirects; no
longer capped at the first 50 (fixed in 0.6.1).gandi redirect add <domain> <source> <target> [--type http301|http302|cloak] --jsongandi redirect update <domain> <source> [target] [--type http301|http302|cloak] [--protocol http|https|httpsonly] [--override|--no-override] --json —
updates a redirect in place via the API's PATCH route, sending only the
fields you pass. That makes it the right way to change a redirect's target:
unlike delete-then-add, it preserves the Gandi-issued TLS certificate and
leaves protocol untouched unless you set it. Passing nothing to change is
an error, not a no-op. It cannot move a redirect to a different source
host — Gandi's PATCH has no host field — so retargeting a subdomain still
needs delete + add.gandi redirect delete <domain> <source> --yes --json<source> is the redirect's fully-qualified host (e.g. www.example.com) —
the same identifier Gandi returns in the list response and uses in the
{host} path segment, not a bare label like www. The CLI accepts either
spelling and normalises to the FQDN (since 0.6.0), but always prefer writing
the FQDN: the pre-0.6.0 CLI sent a bare label straight through and the API
rejected it with HTTP 400.
Destructive commands (dns delete, redirect delete) require --yes. Always
confirm with the user before passing --yes, and show them exactly what will
be removed first (run gandi dns get … or gandi redirect list …). Never add
--yes on your own initiative.
set replaces a record's full value set; add appends a single value.
Use add for a second A address or an extra TXT string so existing values are
not clobbered.target.example.com.).domain:tech scope ("Manage technical configuration") covers both DNS and
web redirects.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kud/claude-plugins --plugin gandiOther plugins' skills for the same job