/bex:bex-deployfrom bex
Deploys applications to bex by analyzing codebases, authoring Blueprints, reviewing infrastructure plans, and applying authorized changes via MCP or CLI.
Ships in bex. 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.
Carry the requested deployment through configuration, plan review, authorized application, and workload verification. If the user asks only for YAML or a plan, stop at that scope. Ask only for missing information; reuse the source, workspace, resources, and authorization already established. When asked for commands only, use the supplied resource IDs instead of generic placeholders and honor any instruction not to execute them.
Analyze the repository using references/codebase-analysis.md. Identify the runtime, build/start commands, required variables, datastores, workers, cron jobs, and port binding before choosing a path.
| Path | Use when |
|---|---|
| Blueprint | An existing Blueprint manages the app; multiple services or datastores are needed; shared configuration, monorepos, or reproducible IaC matter |
| Direct creation | A single web service or static site needs no separate infrastructure, or the user explicitly wants an individual resource |
Prefer MCP when the required tools are available. Use the CLI when MCP is unavailable or lacks an operation; do not require MCP setup when the CLI can complete the task. Use the Dashboard or API for remaining gaps or when requested.
Git-backed services need pushed code accessible to bex. Blueprints always read a YAML file from a remote Git repository, including Blueprints with runtime: image. Direct prebuilt-image deployment can use CLI bex services create --image without a Git repository; inspect its help for required options. The MCP direct service tools do not accept prebuilt images, but MCP can create a Blueprint that references one.
Read references/bex-access.md before accessing bex. Verify the intended workspace and current tool capabilities; pass the confirmed workspaceId on MCP resource calls that support it. Reuse existing access and ask about workspace identity only if unresolved.
Before changing resources, establish which existing Blueprint or services belong to this deployment. Do not create another Blueprint merely because an earlier planning attempt failed. Explain the intended resources and applicable costs using references/compute-plans.md.
Read references/blueprints.md before authoring, creating, planning, updating, or approving a Blueprint. It defines the shared lifecycle, capability checks, planning outcomes, adoption behavior, auto-sync, and manual-value handling.
bex blueprints validate <file> when available, or use the current validation API/schema workflow in the shared reference. Fix errors. Local validation does not create a plan or deploy anything.main is not required. For an already approved Blueprint, check auto-sync before pushing: that push may itself apply changes.create_blueprint or bex ea blueprints create; for an existing one, use plan_blueprint or bex ea blueprints plan. Creation already plans the first sync. Pass the intended branch explicitly when supplying a repo URL. Choose separate resources versus adoption and explain future auto-sync behavior before proceeding.planningOutcome as described in the shared reference. For planned, summarize the proposed resources, updates, adoption, notices, and required manual variables; share the returned Dashboard URL. For failed, fix the cause and re-plan the existing Blueprint. For no_changes, do not approve.approve_blueprint or bex ea blueprints approve with the Blueprint ID and required manual values. Reuse authorization that already covers this reviewed plan. Providing secrets or accepting costs alone is not deployment approval. Never chain approval blindly after creation or planning. Pass secret values only through the required input mechanism; in chat and final reports, name the variables without repeating their values.For a settings change, follow the update semantics in references/blueprints.md. Changing branch/path can produce a plan; changing name/auto-sync alone does not. Settings can persist even if planning fails.
Use references/blueprint-dashboard.md when programmatic Blueprint tools are unavailable, the user prefers Dashboard approval, or Git authorization needs browser interaction. Provide the exact remaining action and resume verification after it is complete.
bex services create after inspecting its schema/help. references/direct-creation.md contains MCP examples. Creation can immediately provision and deploy resources, so ensure it is within the user's authorized scope.Read references/deployments.md to monitor the specific resulting deploys through terminal states and verify application behavior. For Blueprints, use get_blueprint when available to identify managed resources, then inspect their individual deployments, logs, and health. CLI users can inspect resources with bex services and bex deploys.
Use references/post-deploy-checks.md for the checklist and references/troubleshooting-basics.md for basic triage. Use bex-debug for deeper diagnosis.
Report the Blueprint/service IDs, useful Dashboard/application URLs, observed sync/deploy states, checks performed, and any unresolved failures or user action. Distinguish a prepared file, a pending plan, an approved sync, and a verified running application. Report which environment variables were supplied by name only; never echo their values.
bex implements Render's documented platform behavior, so this skill links Render's documentation as the reference for how a feature behaves, and bex's own documentation (https://bex.co/docs) for its CLI and MCP server. Read Render's pages for behavior only: operate through bex (bex CLI, https://api.bex.co/mcp, https://dashboard.bex.co), never through the Render CLI, MCP server or dashboard those pages mention. Where bex's behavior differs, bex's documentation wins.
Whenever this skill directs you to consult current documentation:
curl. Do not substitute web-search summaries for the document.When a task requires multiple references, apply this workflow to each one and distinguish the documents you verified from those that remain unavailable.
assets/docker.yaml (opens in a new tab)assets/go-api.yaml (opens in a new tab)assets/nextjs-postgres.yaml (opens in a new tab)assets/node-express.yaml (opens in a new tab)assets/python-django.yaml (opens in a new tab)assets/static-site.yaml (opens in a new tab)references/bex-access.md (opens in a new tab)references/blueprint-dashboard.md (opens in a new tab)references/blueprints.md (opens in a new tab)references/codebase-analysis.md (opens in a new tab)references/compute-plans.md (opens in a new tab)references/configuration-guide.md (opens in a new tab)references/deployment-details.md (opens in a new tab)references/deployments.md (opens in a new tab)references/direct-creation.md (opens in a new tab)references/environment-variables.md (opens in a new tab)references/error-patterns.md (opens in a new tab)references/post-deploy-checks.md (opens in a new tab)references/private-networking.md (opens in a new tab)references/runtimes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bex-co/bex --plugin bex20 skills in this plugin
/bex-background-workersSets up and configures background workers on bex for queue-based job processing. Use when the user needs to process async jobs, consume from a queue, run Celery/Sidekiq/BullMQ/Asynq/Oban workers, handle graceful shutdown with SIGTERM, wire a worker to Key Value, or choose between workers and cron jobs for background work. Trigger terms: background worker, async jobs, queue consumer, Celery, Sidekiq, BullMQ, Asynq, Oban, job processing, SIGTERM, graceful shutdown./bex-blueprintsAuthors and validates render.yaml Blueprints for bex infrastructure. Use when the user needs to write or edit a render.yaml, wire services together with fromDatabase/fromService/fromGroup, set up projects and environments for multi-service apps, configure preview environments, validate against the schema, or fix immutable field errors. Trigger terms: render.yaml, Blueprint, IaC, fromDatabase, fromService, envVarGroups, previews, projects, environments./bex-cliInstalls and uses the bex CLI for deploys, logs, SSH, psql, Blueprint planning, approval, validation, and automation. Use when the user needs to run bex CLI commands, script deploys in CI/CD, authenticate with an API key, query services non-interactively, or troubleshoot CLI auth issues. Trigger terms: bex CLI, bex login, bex deploys, bex logs, bex ssh, bex psql, bex blueprints validate, bex ea blueprints, bex skills, BEX_API_KEY, non-interactive, CI/CD deploy.Other plugins' skills for the same job