/fastapicloud:fastapicloud-logsfrom FastAPI Cloud
Inspects FastAPI Cloud logs including runtime logs, build logs, and deployment health checks. Use when the user asks for recent logs, timestamps, or build output.
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.
Inspect FastAPI Cloud logs with the narrowest read-only command that answers the user. Prefer direct log retrieval over broad deployment debugging unless the log output points to a failure that needs deeper triage.
Confirm log flags only when needed:
uv run fastapi cloud logs --help
Use uv run fastapi cloud apps get --json only when resolving the linked current directory. Use --json whenever the command supports it.
Resolve the app only as far as needed:
uv run fastapi cloud apps get --json.--app-id APP_ID when the directory is not linked but an app ID is known.Do not create apps, link directories, deploy, or mutate environment variables while answering a log request unless the user explicitly asks.
For recent runtime logs:
uv run fastapi cloud logs . --no-follow --tail 100 --since 30m --json
uv run fastapi cloud logs --app-id APP_ID --no-follow --tail 100 --since 30m --json
For the latest log timestamp, try the narrowest command first:
uv run fastapi cloud logs . --no-follow --tail 1 --json
uv run fastapi cloud logs --app-id APP_ID --no-follow --tail 1 --json
If the command returns no lines or requires a time window, widen with bounded supported ranges such as 30m, 24h, 7d, then 30d. Do not use very large ranges such as 365d; report the widest window checked when no logs are found.
When the user asks for build logs or names a deployment:
uv run fastapi cloud deployments list --app-id APP_ID --json
uv run fastapi cloud deployments build-logs DEPLOYMENT_ID --no-follow --json
If no deployment ID is provided, use the newest deployment from deployments list.
FastAPI Cloud CLI 0.26.0 or newer includes backend failure guidance when available. In build-logs --no-follow --json, inspect data.failed and data.failure as well as data.logs. A non-null failure contains error_code, error_title, error_message, and error_hint. Surface the backend's title, message, and any non-empty hint; use the error code when it helps identify the failure.
Build-log commands exit with code 1 for a failed build even when stdout contains a valid JSON result. Parse that result before treating the exit as a command or network error. Empty logs do not establish that a build succeeded: failure guidance can remain available after logs expire. If failure is null, use the reported failure state and available logs without inventing a diagnosis.
For deployment status or persisted failure details:
uv run fastapi cloud deployments get DEPLOYMENT_ID --app-id APP_ID --json
Inspect data.deployment.status and data.deployment.failure. Build completion alone does not establish that the deployment is healthy.
Treat auth as a blocker, not the main workflow:
not_logged_in or invalid_token, stop and tell the user authentication is blocking the log request.uv run fastapi cloud auth login --no-open --json
uv run fastapi cloud auth wait --device-code DEVICE_CODE --interval 5 --timeout 300 --json
Surface only the login URL or user code needed for authorization. Do not print token values, ask the user to paste tokens, or inspect FASTAPI_CLOUD_TOKEN unless the user is debugging CI/auth configuration.
Answer the concrete log question first: newest timestamp, matching log lines, empty result, or the auth/app-resolution blocker. Include the app name or ID only when it clarifies the evidence, and keep follow-up diagnostics to the next likely command.
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-domainsManage custom domains for FastAPI Cloud apps. Use when listing or inspecting domains, adding a hostname, choosing standard or zero-downtime DNS setup, checking verification or TLS progress, restarting failed setup, or removing a custom domain./fastapicloud-envnpx claudepluginhub fastapicloud/skills --plugin fastapicloudOther plugins' skills for the same job