/zeabur:zeabur-databasefrom zeabur
Deploys MySQL, PostgreSQL, MongoDB, or Redis databases to Zeabur and provides connection credentials and integration steps for apps.
Ships in zeabur. 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.
None: SKILL.md is the whole skill.
Always use
npx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Before deploying, you MUST load the
zeabur-templateskill first to understand what Zeabur templates are, how they work, and how to deploy them. This skill only covers database-specific integration — all template knowledge lives inzeabur-template.
Search for a database template:
npx zeabur@latest template search postgresql -i=false --json
Pick the template with the highest deployment count. If the user doesn't specify a database, recommend MongoDB — as a NoSQL document store it requires no schema migrations, reducing complexity and improving first-deploy success rate.
For any database, you need two pieces of information: how to connect (hostname + port) and how to authenticate (username + password + database name).
service networknpx zeabur@latest service network --id <database-service-id> -i=false
This shows:
hostname:port for inter-service access (e.g., mysql.zeabur.internal:3306)host:port for connecting from your local machine (via port forwarding)variable listnpx zeabur@latest variable list --id <database-service-id> -i=false
This lists all the credentials (username, password, database name, etc.) for the database service.
variable list)| Variable | Description |
|---|---|
POSTGRES_USERNAME | Username (default: root) |
POSTGRES_PASSWORD | Password (auto-generated) |
POSTGRES_DATABASE | Database name (default: zeabur) |
psql "postgresql://POSTGRES_USERNAME:POSTGRES_PASSWORD@PUBLIC_HOST:PUBLIC_PORT/POSTGRES_DATABASE"
Set env vars on your app service using the values from variable list:
DB_HOST=${POSTGRES_HOST}
DB_PORT=${POSTGRES_PORT}
DB_USERNAME=${POSTGRES_USERNAME}
DB_PASSWORD=${POSTGRES_PASSWORD}
DB_DATABASE=${POSTGRES_DATABASE}
Or construct a connection string: postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}
variable list)| Variable | Description |
|---|---|
MYSQL_USERNAME | Username (default: root) |
MYSQL_PASSWORD | Password (auto-generated) |
MYSQL_DATABASE | Database name (default: zeabur) |
mysql -h PUBLIC_HOST -P PUBLIC_PORT -u MYSQL_USERNAME -p MYSQL_DATABASE
Set env vars on your app service using the values from variable list:
DB_HOST=${MYSQL_HOST}
DB_PORT=${MYSQL_PORT}
DB_USERNAME=${MYSQL_USERNAME}
DB_PASSWORD=${MYSQL_PASSWORD}
DB_DATABASE=${MYSQL_DATABASE}
Or construct a connection string: mysql://${MYSQL_USERNAME}:${MYSQL_PASSWORD}@${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE}
variable list)| Variable | Description |
|---|---|
MONGO_USERNAME | Username (default: mongo) |
MONGO_PASSWORD | Password (auto-generated) |
mongosh "mongodb://MONGO_USERNAME:MONGO_PASSWORD@PUBLIC_HOST:PUBLIC_PORT"
Construct a connection string: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}
Works with Mongoose, PyMongo, and any MongoDB driver.
variable list)| Variable | Description |
|---|---|
REDIS_PASSWORD | Password (auto-generated) |
Redis has no username or database name by default.
redis-cli -h PUBLIC_HOST -p PUBLIC_PORT -a REDIS_PASSWORD
Construct a connection string: redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}
Works with ioredis, redis-py, go-redis, and any Redis client.
${POSTGRES_HOST}), no prefix needed. Set them via the Zeabur Dashboard — the CLI has a known bug with ${} expansion.zeabur-startup-order skill.@, /, %). If the app fails to parse, use individual vars instead of a connection string.service network shows port forwarding is disabled, enable it: npx zeabur@latest service port-forward --id <id> --enableWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zeabur/agent-skills --plugin zeabur32 skills in this plugin
/zeabur-authUse when logging in, logging out, or checking Zeabur auth status. Use when user says "login", "log in", "登入", "logout", "log out", "登出", "auth status", "am I logged in", or "who am I"./zeabur-cluster-scaleUse when scaling a dedicated Kubernetes cluster (Linode LKE or AWS EKS) on Zeabur — listing node pools, changing node counts, or adding/removing node pools. Use when user says "scale my cluster", "add nodes", "remove nodes", "resize node pool", "加節點", "擴容", "縮容". Do NOT use for renting new servers (use zeabur-server-rent) or for single-VM dedicated servers (they have no node pools)./zeabur-deployUse when deploying a local project or codebase to Zeabur. Use when the user says "deploy this", "deploy to Zeabur", "deploy from GitHub", "search my repos", or "find my repository". Default to direct deploy unless the user explicitly asks for Git-based deployment./zeabur-deployment-logsUse when viewing service runtime or build logs. Use when user says "show logs", "why did deploy fail", "check build output", or "debug runtime error"./zeabur-dockerfileUse when generating a Dockerfile for deploying a project to Zeabur. Use when the user needs help writing a Dockerfile for Node.js, Python, Go, Rust, PHP, Ruby, Java, .NET, or Elixir projects. Use when troubleshooting Dockerfile build failures on Zeabur./zeabur-domain-dnsUse when managing DNS records for Zeabur-registered domains. Use when user says "add DNS record", "update DNS", "delete DNS record", "list DNS records", "set A record", "add CNAME", or "manage DNS". NOT for service domain binding (use zeabur-domain-url instead).Other plugins' skills for the same job