Fastapicloud Logs logo

Fastapicloud Logs

Organization
fastapicloud
fastapicloud-logs

Inspect FastAPI Cloud logs. Use when the user asks for recent logs, the latest or last log timestamp, runtime log lines, build logs for a deployment, whether an app has emitted logs, or a quick app log/health check.

Overview

Publisherfastapicloud
Repositoryskills
Skill namefastapicloud-logs
Stars
29
Forks
0
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by fastapicloud on GitHub. Read the source before you install it.

Installation

Install the Fastapicloud Logs AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fastapicloud/skills/tree/main/fastapicloud-logs
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fastapicloud/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/fastapicloud-logs .claude/skills/fastapicloud-logs
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fastapicloud Logs in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fastapicloud Logs on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fastapicloud Logs is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

FastAPI Cloud Logs

Overview

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.

Command Baseline

Confirm log flags only when needed:

bash
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.

App Resolution

Resolve the app only as far as needed:

  1. Use an explicit app ID, app slug, path, or deployment ID from the user.
  2. Use the linked current directory with uv run fastapi cloud apps get --json.
  3. Use --app-id APP_ID when the directory is not linked but an app ID is known.
  4. List teams and apps only when the user did not provide an app and the local link cannot resolve one.

Do not create apps, link directories, deploy, or mutate environment variables while answering a log request unless the user explicitly asks.

Runtime Logs

For recent runtime logs:

bash
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:

bash
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.

Build Logs

When the user asks for build logs or names a deployment:

bash
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.

Build Failure Guidance

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:

bash
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.

Authentication

Treat auth as a blocker, not the main workflow:

  • If a read command returns not_logged_in or invalid_token, stop and tell the user authentication is blocking the log request.
  • Ask before starting the device login flow.
  • After approval, use the JSON device flow:
bash
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.

Response

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fastapicloud Logs AI skill do?

Inspect FastAPI Cloud logs. Use when the user asks for recent logs, the latest or last log timestamp, runtime log lines, build logs for a deployment, whether an app has emitted logs, or a quick app log/health check.

Why use Fastapicloud Logs on TypingMind?

Because you install it once and use it with any model. Fastapicloud Logs is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fastapicloud Logs in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fastapicloud/skills/tree/main/fastapicloud-logs. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fastapicloud Logs?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fastapicloud Logs?

As many as you like. As long as a model supports skills, you can use Fastapicloud Logs with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fastapicloud Logs AI skill free?

Yes. It is published on GitHub by fastapicloud under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇