/bex:bex-disksfrom bex
Attaches and manages persistent disks on bex services—mount paths, sizing, snapshots, file transfers, and single-instance constraints. Use when the user needs persistent storage, file uploads, a custom database on disk, CMS media storage, or needs to understand why their service can't scale horizontally or use zero-downtime deploys.
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.
Persistent disks preserve files written beneath a service's configured mount path across deploys and restarts.
Before designing, configuring, resizing, transferring data to, snapshotting, restoring, or troubleshooting a disk, read references/persistent-disks.md.
For managed databases, prefer bex Postgres (bex-postgres) or Key Value (bex-keyvalue) over self-managed alternatives on disk.
For a native Node.js upload service, mount a subdirectory such as /opt/render/project/src/uploads, not the source root itself, and configure the application to write uploads there:
services:
- type: web
name: uploads
runtime: node
buildCommand: npm ci
startCommand: npm start
disk:
name: uploads-data
mountPath: /opt/render/project/src/uploads
sizeGB: 5
A service with a root directory (rootDir) runs from it: with rootDir: backend, mount the disk at /opt/render/project/src/backend/uploads to keep what the app writes to uploads/. A path under /opt/render/project/src outside the root directory is outside the service's own files.
Fetch the current disk documentation and Blueprint specification through references/persistent-disks.md before finalizing the mount path or size.
Do not use a disk snapshot to recover a self-managed database such as MySQL: a filesystem snapshot can restore an inconsistent or corrupted database state. Use database-native backups such as mysqldump and test their restore procedure. Move backup files off the service with Magic-Wormhole, which every native runtime has: run wormhole send <file> in the service's Shell or SSH session, then wormhole receive <code> on the receiving machine with the code it prints (reverse the two to bring a file in). bex SSH does not support SCP. A Docker-runtime service has wormhole only if its image installs it. Snapshot restores replace the entire disk and permanently discard changes made after the selected snapshot.
| Document | Contents |
|---|---|
references/persistent-disks.md | Current disk constraints, configuration, sizing, snapshots, restores, and transfers |
disk field reference in render.yamlbex 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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
persistent-disks, storage-management, bex, file-uploads, snapshots
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./bex-cron-jobsConfigures and troubleshoots scheduled tasks on bex using cron job services. Use when the user needs to run something on a schedule, write a cron expression, set up a periodic job, migrate from Heroku Scheduler, choose between cron jobs and background workers, or fix a cron that isn't firing. Trigger terms: cron job, scheduled task, periodic job, cron expression, schedule, run every, timer, Heroku Scheduler migration./bex-debugDebug failed bex deployments by analyzing logs, metrics, and database state. Identifies errors (missing env vars, port binding, OOM, etc.) and suggests fixes. Use when deployments fail, services won't start, or users mention errors, logs, or debugging./bex-deployDeploys applications to bex by analyzing codebases, authoring Blueprints, reviewing infrastructure plans, and applying authorized changes through MCP or CLI. Use when the user wants to deploy, host, publish, or set up an application on bex, or plan and approve an existing Blueprint's changes.Other plugins' skills for the same job