Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

zeabur-deployzeabur 部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

682

周安装

29

GitHub Stars

25

下载量

239
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zeabur-deploy(zeabur 部署)
来源仓库:https://github.com/zeabur/zeabur-claude-plugin
仓库路径:skills/zeabur-deploy
安装命令:
npx skills add https://github.com/zeabur/zeabur-claude-plugin --skill zeabur-deploy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zeabur/zeabur-claude-plugin --skill zeabur-deploy

简介

辅助云资源、部署、容器和基础设施自动化任务。

  • 适合检查配置、整理部署步骤或分析资源状态。
  • 通过 npx skills add 命令从指定仓库安装使用。
  • 需明确目标环境、账号权限,区分测试与生产操作,涉及变更时先确认影响范围。
  • zeabur-deploy 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Zeabur Deploy

Always use npx zeabur@latest to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is not available, install Node.js first.

Prerequisites — Identify the Target Project

Before using this skill, you must first determine which Zeabur project to deploy to. If neither the conversation history nor project files mention a project, run:

npx zeabur@latest project list -i=false --json
  • When projects exist, ask the user which one to use.
  • If the list is empty, or the user wants to create a new project, you MUST invoke the zeabur-project-create skill. Do NOT run project create CLI commands directly — the skill handles region selection via server list, which is required.

Do not proceed with deployment until the target project is confirmed.

Deploying to a Specific Dedicated Server

If the user asks to deploy to a specific server (e.g. "deploy to my AWS Tokyo server"), do NOT SSH into the server. Zeabur dedicated servers are managed via the platform — you deploy services through the Zeabur CLI, not by manually placing files on the machine.

To find the project bound to a server:

  1. Get the server ID from npx zeabur@latest server list -i=false (or from conversation context).
  2. In the project list --json output, look for a project whose Region.ID matches server-<server-id>.
  3. If a matching project exists, use its project ID to deploy.
  4. If no matching project exists, invoke the zeabur-project-create skill to create one on that server.

Choosing a Deploy Method

Zeabur supports two ways to deploy a project:

MethodWhen to use
Direct deploy (default)User says "deploy this project/website/app". No Git repo required. Fast and simple.
Git deployUser explicitly asks to deploy via Git/GitHub, or wants CI/CD with automatic redeploy on push.

Default to direct deploy unless the user specifically requests Git-based deployment.

Direct Deploy (Default)

Deploy the current local directory to Zeabur with one command.

Flags

FlagRequiredDescription
--project-idYes (non-interactive)Project ID to deploy on
--jsonRecommendedOutput in JSON format
--nameNoService name (defaults to directory name)
--service-idNoService ID to redeploy on (omit to create new service)
--environment-idNoEnvironment ID (defaults to first environment)
Note: Do NOT use --create, -r, or --region flags with deploy commands. If the user needs to create a new project or select a region, use the zeabur-project-create skill first.

First Deploy

When deploying for the first time, omit --service-id — a new service is created automatically:

npx zeabur@latest deploy --project-id <project-id> --json

The response includes a service_id. You MUST save this service_id for all subsequent deploys. Write it to the current project's CLAUDE.md immediately:

## Zeabur Deployment
- Project ID: <project-id>
- Service ID: <service-id>

Redeploy (Update Existing Service)

IMPORTANT: When redeploying code changes, you MUST pass --service-id to update the existing service. Omitting --service-id creates a NEW duplicate service every time.

npx zeabur@latest deploy --project-id <project-id> --service-id <service-id> --json
Do NOT use this flow for version upgrades / downgrades of prebuilt or marketplace services (e.g. "upgrade PostgreSQL to 16", "downgrade n8n to 1.2"). That is a version switch, not a code redeploy — use the zeabur-update-service skill's tag update instead. Redeploying in place of a tag change can orphan or wipe the service's mounted disk.

If no project exists yet, invoke the zeabur-project-create skill (do not run CLI commands directly).

Git Deploy (On User Request)

If the user explicitly wants Git-based deployment (e.g. for CI/CD, auto-redeploy on push):

  1. First, ensure the code is pushed to a GitHub repository.
  2. Deploy via CLI:
# Non-interactive mode — required parameters only
npx zeabur@latest service deploy --json -i=false \
  --project-id <project-id> \
  --template GIT \
  --repo-id <repo-id> \
  --branch-name <branch>

# With optional service name
npx zeabur@latest service deploy --json -i=false \
  --project-id <project-id> \
  --template GIT \
  --repo-id <repo-id> \
  --branch-name <branch> \
  --name "<service-name>"

Git Deploy Flags

FlagRequiredDescription
--template GITYesSpecifies Git-based deployment
--project-idNon-interactiveProject ID (interactive mode will prompt)
--repo-idNon-interactiveGitHub repository ID
--branch-nameNon-interactiveGit branch to deploy from
--nameNoService name (defaults to repo name)
--keywordNoKeyword to search GitHub repos (interactive mode)

Git Deploy Workflow

Non-interactive (fully automated):

# 1. Push code to GitHub
git init && git add . && git commit -m "Initial commit"
gh repo create my-app --public --source=. --push

# 2. Get GitHub repo ID (Zeabur uses GitHub's numeric repo ID)
REPO_ID=$(gh api repos/OWNER/my-app --jq .id)

# 3. Deploy from GitHub (PROJECT_ID must be known beforehand — see Prerequisites)
npx zeabur@latest service deploy --json -i=false \
  --project-id $PROJECT_ID \
  --template GIT \
  --repo-id $REPO_ID \
  --branch-name main

After deployment, Zeabur will auto-redeploy on every push to the selected branch.

Only guide the user through this flow when they specifically ask for Git-based deployment.

Tips

  • Direct deploy only requires --project-id — a new service is created automatically. No Git history or GitHub account required.
  • For static sites, Zeabur auto-detects and serves them correctly.
  • Always save both Project ID and Service ID after first deploy. This prevents duplicate services on redeploy.
  • After deployment, use the zeabur-deployment-logs skill to check build and runtime logs.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.97%
按下载量换算86

Claude

33.25%
按下载量换算79

Cursor

17.18%
按下载量换算41

Gemini CLI

8.51%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills