/fastapicloud:fastapicloud-domainsfrom FastAPI Cloud
Manages custom domains for FastAPI Cloud apps: list, inspect, add with standard or zero-downtime DNS, check verification/TLS progress, restart failed setup, and remove domains.
Ships in FastAPI Cloud. 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.
Read when SKILL.md points to them.
Add, inspect, troubleshoot, and remove custom domains for a FastAPI Cloud app. The CLI reports the DNS records the user must configure; it does not change records at the user's DNS provider.
Custom domain commands require FastAPI Cloud CLI 0.25.0 or newer. Start with the command needed for the task:
uv run fastapi cloud domains --help
Only check the version if the domains command is missing or incompatible:
uv run fastapi cloud --version
If an update is needed, ask before changing an existing project environment, then update fastapi[standard] rather than installing fastapi-cli directly:
uv add -U "fastapi[standard]"
uv lock --upgrade-package fastapi --upgrade-package fastapi-cloud-cli
Domain management requires a logged-in user session; a deploy token is only for deployments and CI. If authentication fails, report the blocker and ask before starting the JSON device flow:
uv run fastapi cloud auth login --no-open --json
uv run fastapi cloud auth wait --device-code DEVICE_CODE --interval 5 --timeout 300 --json
Use an explicit --app-id APP_ID when the user provides one. Otherwise use the app linked to the current directory. Resolve an uncertain target with read commands before making changes:
uv run fastapi cloud apps get --json
uv run fastapi cloud domains list --app-id APP_ID --json
Use --json whenever supported. JSON mode is non-interactive, so provide every required domain, setup mode, and confirmation flag explicitly.
List an app's custom domains before selecting one:
uv run fastapi cloud domains list --app-id APP_ID --json
Inspect one domain by hostname or domain ID:
uv run fastapi cloud domains get DOMAIN --app-id APP_ID --json
domains get reports setup status, the DNS records currently required, and the live HTTPS URL after setup succeeds. In JSON mode, DOMAIN is required. Use the exact record type, name, and value returned by the CLI; do not infer DNS records from other apps or domains.
First determine whether the hostname is new or already serves production traffic. If this is unclear, ask—the choice changes the DNS workflow.
For a new or unused hostname, use standard setup:
uv run fastapi cloud domains add DOMAIN --app-id APP_ID --standard --json
For an already-live hostname, use zero-downtime setup:
uv run fastapi cloud domains add DOMAIN --app-id APP_ID --zero-downtime --json
--standard and --zero-downtime are mutually exclusive. JSON mode requires DOMAIN and one setup mode.
domains get; later records unlock as verification advances.After the user updates DNS, check progress with:
uv run fastapi cloud domains get DOMAIN --app-id APP_ID --json
FastAPI Cloud rechecks pending or mismatched records automatically. Do not restart setup merely because DNS is still propagating.
Restart only after domains get reports a failed setup and the returned DNS records have been checked or corrected:
uv run fastapi cloud domains restart DOMAIN --app-id APP_ID --json
uv run fastapi cloud domains get DOMAIN --app-id APP_ID --json
In interactive mode, omitting DOMAIN offers only failed domains. In JSON mode, DOMAIN is required.
Inspect the exact domain first and explain the effect. Removal deletes FastAPI Cloud's resources for the domain but does not change DNS records at the provider.
uv run fastapi cloud domains get DOMAIN --app-id APP_ID --json
uv run fastapi cloud domains remove DOMAIN --app-id APP_ID --yes --json
Only remove a domain when the user explicitly asks. JSON mode requires both DOMAIN and --yes. After removal, remind the user to review stale DNS records at their provider; do not claim those records were deleted.
Report the app and hostname affected, the resulting setup status, and the next required DNS action. For setup in progress, include only the currently required records and the next domains get command. Never claim a domain is live until the CLI reports successful setup.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/fastapicloud-deployPrepare and deploy FastAPI apps to FastAPI Cloud. Use when the user asks to deploy a project, create, link, or update a FastAPI Cloud app, log in before deployment, set up CI/CD, a GitHub Actions deploy workflow, or GitHub-linked auto-deploys, manage deploy tokens, validate deployment inputs, inspect app IDs, review `.fastapicloudignore`, or update commands that invoke `fastapi deploy` or `fastapi cloud deploy`./fastapicloud-envManage FastAPI Cloud environment variables and secrets. Use when listing, reading, setting, deleting, or auditing FastAPI Cloud env vars, handling runtime secrets, or diagnosing missing configuration for a deployed FastAPI app./fastapicloud-integrationsnpx claudepluginhub fastapicloud/skills --plugin fastapicloudOther plugins' skills for the same job