From pipecat-cloud
Walks through deploying an agent to Pipecat Cloud using the Pipecat CLI, with cloud build and self-managed Docker image options.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pipecat-cloud:deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Deploy an agent to Pipecat Cloud. This skill walks through the full deployment process interactively, confirming each step with the user.
Deploy an agent to Pipecat Cloud. This skill walks through the full deployment process interactively, confirming each step with the user.
/deploy [--config <PATH>] [--env <PATH>]
--config (optional): Path to pcc-deploy.toml. Defaults to pcc-deploy.toml in the current directory.--env (optional): Path to .env file for creating secrets. If not provided, the skill will look for a .env file in the same directory as the config file.Examples:
/deploy/deploy --config examples/mybot/pcc-deploy.toml/deploy --config examples/mybot/pcc-deploy.toml --env examples/mybot/.envBefore starting, verify these prerequisites and inform the user about any that are missing:
Pipecat CLI: Check if pipecat is installed by running pipecat --version. If not installed, tell the user to install it with uv tool install pipecat-ai-cli and stop.
Pipecat Cloud authentication: Check if pipecat cloud auth whoami succeeds. If not authenticated, do not try to run login yourself — pipecat cloud auth login opens a browser for an OAuth flow that Claude can't complete. Instead, tell the user to authenticate by running pipecat cloud auth login in their terminal (suggest the ! pipecat cloud auth login form so the output lands in the session). Wait for them to confirm, then re-run pipecat cloud auth whoami to verify before proceeding.
Configuration file: Read the pcc-deploy.toml file (from --config argument or current directory). If it doesn't exist, tell the user they need a pcc-deploy.toml and stop. Parse and display the configuration to the user (agent_name, image, secret_set, etc.).
If any prerequisite fails, stop and clearly explain what needs to be fixed. Do not proceed to the next steps.
After prerequisites pass, ask the user how they want to deploy using AskUserQuestion:
All pipecat cloud commands must be run from the directory containing the pcc-deploy.toml file. Use cd <dir> && <command> to ensure the correct working directory.
Several pipecat cloud commands prompt for interactive confirmation which doesn't work in this environment. Skip the prompts with these flags:
pipecat cloud deploy: Use --force (e.g., pipecat cloud deploy --force)pipecat cloud secrets set: Use the --skip flag (e.g., pipecat cloud secrets set NAME --file .env --skip)pipecat cloud docker build-push runs non-interactively and has no confirmation prompt, so no extra flag is needed.
This path uses Pipecat Cloud to build your Docker image from source. No local Docker installation is required.
Check that a Dockerfile exists in the build context directory (the directory containing pcc-deploy.toml, or the context_dir from the [build] section of the config). If no Dockerfile is found, tell the user they need one and stop.
If the Dockerfile references uv (e.g., uv sync, uv pip install, COPY uv.lock), check that a uv.lock file exists in the build context directory. If it doesn't exist, run uv lock to generate it. If it already exists, run uv lock to ensure it's up to date. The lockfile must be present and current because cloud builds run remotely and cannot generate it.
Ask the user if they need to create or update secrets for this deployment.
If yes, determine the env file path (from --env argument, or look for .env in the same directory as the config file, or ask the user).
Read the secret_set name from the pcc-deploy.toml configuration.
Run: pipecat cloud secrets set {SECRET_SET_NAME} --file {ENV_FILE_PATH} --skip
Show the output to the user.
If no, skip this step.
Ask the user to confirm they want to deploy the agent.
pipecat cloud deploy --forcepipecat cloud build logs {BUILD_ID} to check build progress. Share the output with the user.pipecat cloud agent logs {AGENT_NAME} and share with the user.pipecat cloud build logs {BUILD_ID} to show the user what went wrong..dockerignoreThis path builds and pushes the Docker image from your machine. Requires Docker to be installed and running.
Check these additional prerequisites:
docker info succeeds (daemon running). If not, tell the user to start Docker and stop.docker login succeeds. If not logged in, tell the user to run docker login and stop.Ask the user if they need to create or update secrets for this deployment.
If yes, determine the env file path (from --env argument, or look for .env in the same directory as the config file, or ask the user).
Read the secret_set name from the pcc-deploy.toml configuration.
Run: pipecat cloud secrets set {SECRET_SET_NAME} --file {ENV_FILE_PATH} --skip
Show the output to the user.
If no, skip this step.
Ask the user if they want to build and push the Docker image.
If yes:
uv.lock exists in the config directory. If so, run uv lock to ensure it's up to date before building.pipecat cloud docker build-pushuv lock in the config directory and retry.If no, skip this step (image may already be pushed).
Ask the user to confirm they want to deploy the agent.
pipecat cloud deploy --forcepipecat cloud agent logs {AGENT_NAME} and share with the user — the deployment may still be starting up.docker login)image field in pcc-deploy.tomluv.lock file — run uv lock to fixpipecat cloud command fails, show the full error output and explain what might have gone wrong.pcc-deploy.tomlAfter a successful deployment, summarize what was done:
npx claudepluginhub pipecat-ai/skills --plugin pipecatDeploys and manages AI agents on GreenNode AgentBase, including Custom Agent Docker runtimes and OpenClaw chatbot agents for Telegram/Zalo, plus container registry operations.
Deploys ADK agents to Agent Runtime, Cloud Run, or GKE. Covers CI/CD setup, secrets configuration, rollback, service accounts, and production infrastructure.
Generates Docker scaffolding and guides deployment: token setup, build, start, MCP config, workspace trust, verification. Offers to backup existing Docker files.