Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

edgeone-pages-deployedgeone pages 部署

Agent Skill

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

总安装

8,520

周安装

355

GitHub Stars

公开资料未说明

下载量

2,840
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install edgeone-pages-deploy

简介

将前端和全栈项目部署至腾讯 EdgeOne Pages,支持静态托管与边缘函数运行。

  • 适用于 Web 应用上线、CI/CD 自动化与全球化部署场景。
  • 通过 OpenClaw 安装并使用 clawhub 方式部署,需配置 EdgeOne 账号与项目 ID。
  • 使用前请确认域名绑定、环境变量管理与是否允许覆盖已有部署版本。
  • edgeone-pages-deploy 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
edgeone-pages-deploy
description
Deploy frontend and full-stack projects to EdgeOne Pages (Tencent EdgeOne). Use when the user wants to deploy, publish, ship, host, launch, or go live on EdgeOne Pages — e.g. "deploy my app", "publish this site", "push this live", "deploy and give me the link", "create a preview deployment", "deploy to EdgeOne", or "ship to production".
metadata
author
edgeone
version
1.1.0

EdgeOne Pages Deployment Skill

Deploy any project to EdgeOne Pages.

⛔ Critical Rules (MUST follow — never skip)

  1. CLI version MUST be 1.2.30 or higher. If the installed version is lower, reinstall. Do NOT proceed with an outdated version.
  2. NEVER truncate the deploy URL. The EDGEONE_DEPLOY_URL includes eo_token= and eo_time= query parameters — they are required for access. Always output the complete URL.
  3. MUST ask the user to choose China or Global site before login. Never assume.
  4. MUST auto-detect the login method — browser login in desktop environments, token login in headless/remote/CI environments. Follow the decision table below.
  5. After token login, MUST ask if the user wants to save the token locally for future use.

Deployment Flow

Run these checks first, then follow the decision table:

# Check 1: CLI installed and correct version?
edgeone -v

# Check 2: Already logged in?
edgeone whoami

# Check 3: Project already linked?
cat edgeone.json 2>/dev/null

# Check 4: Saved token exists?
cat .edgeone/.token 2>/dev/null

Decision Table

CLI versionLogin statusAction
Not installed or version < 1.2.30→ Go to Install CLI
≥ 1.2.30Logged in→ Go to Deploy
≥ 1.2.30Not logged in, has saved token→ Go to Deploy with Token (use saved token)
≥ 1.2.30Not logged in, no saved token→ Go to Login

Install CLI

npm install -g edgeone@latest

Verify: edgeone -v must output 1.2.30 or higher. If not, retry installation.


Login

1. Ask the user to choose a site

You MUST ask before running any login command. Use the IDE's selection control (ask_followup_question):

Choose your EdgeOne Pages site: - China — For users in mainland China (console.cloud.tencent.com) - Global — For users outside China (console.intl.cloud.tencent.com)

2. Detect environment and choose login method

ConditionMethod
Local desktop IDE (e.g. VS Code, Cursor, etc.)Browser Login
Remote / SSH / container / CI / cloud IDE / headlessToken Login
User explicitly requests tokenToken Login

Browser Login

# China site
edgeone login --site china

# Global site
edgeone login --site global

Wait for the user to complete browser auth. The CLI prints a success message when done.

Token Login

Token login does NOT use edgeone login. The token is passed directly in the deploy command via -t.

Guide the user to get a token:

  1. Go to the console:

- China: https://console.cloud.tencent.com/edgeone/pages?tab=settings - Global: https://console.intl.cloud.tencent.com/edgeone/pages?tab=settings

  1. Find API TokenCreate Token → Copy it

⚠️ Remind the user: the token has account-level permissions. Never commit it to a repository.

3. Offer to save the token locally

After the user provides a token, MUST ask:

Would you like to save this token locally for future deployments? - Yes — Save to .edgeone/.token (auto-used next time) - No — Use for this deployment only

If Yes:

mkdir -p .edgeone
echo "<token>" > .edgeone/.token
grep -q '.edgeone/.token' .gitignore 2>/dev/null || echo '.edgeone/.token' >> .gitignore

Tell the user: "✅ Token saved to .edgeone/.token and added to .gitignore."


Deploy

Browser-authenticated deploy

# Project already linked (edgeone.json exists)
edgeone pages deploy

# New project (no edgeone.json)
edgeone pages deploy -n <project-name>

<project-name>: auto-generate from the project directory name. The first deploy creates edgeone.json automatically.

Token-based deploy

First check for a saved token:

cat .edgeone/.token 2>/dev/null
  • Saved token found → use it, tell the user: "Using saved token from .edgeone/.token"
  • No saved token → ask the user to provide one (see Token Login above)
# Project already linked
edgeone pages deploy -t <token>

# New project
edgeone pages deploy -n <project-name> -t <token>

The token already contains site info — no --site flag needed.

After a successful deploy with a manually-entered token, ask if the user wants to save it (see "Offer to save the token locally" above).

Deploy to preview environment

edgeone pages deploy -e preview

Build behavior

The CLI auto-detects the framework, runs the build, and uploads the output directory. No manual config needed.


⚠️ Parse Deploy Output (Critical — read carefully)

After edgeone pages deploy succeeds, the CLI outputs:

[cli][✔] Deploy Success
EDGEONE_DEPLOY_URL=https://my-project-abc123.edgeone.cool?eo_token=xxxx&eo_time=yyyy
EDGEONE_DEPLOY_TYPE=preset
EDGEONE_PROJECT_ID=pages-xxxxxxxx
[cli][✔] You can view your deployment in the EdgeOne Pages Console at:
https://console.cloud.tencent.com/edgeone/pages/project/pages-xxxxxxxx/deployment/xxxxxxx

Extraction rules:

FieldHow to extract⛔ Warning
Access URLFull value after EDGEONE_DEPLOY_URL=MUST include ?eo_token=...&eo_time=... — without these params the page won't load
Project IDValue after EDGEONE_PROJECT_ID=
Console URLLine after "You can view your deployment..."

Show the user:

✅ Deployment complete! - Access URL: https://my-project-abc123.edgeone.cool?eo_token=xxxx&eo_time=yyyy - Console URL: https://console.cloud.tencent.com/edgeone/pages/project/...

Error Handling

ErrorSolution
command not found: edgeonenpm install -g edgeone@latest
Browser doesn't open during loginUse token login instead
"not logged in" erroredgeone whoami to check, then re-login or use token
Auth error with tokenToken may be expired — regenerate at the console
Project name conflictUse a different name with -n
Build failureCheck logs — usually missing deps or bad build script

Appendix

Edge/Node Functions

For projects needing server-side functions, run before first deploy:

edgeone pages init

Pure static projects skip this.

Local Development

edgeone pages dev    # http://localhost:8088/

Environment Variables

edgeone pages env ls          # List all
edgeone pages env pull        # Pull to local .env
edgeone pages env add KEY val # Add
edgeone pages env rm KEY      # Remove

Project Linking

edgeone pages link

Token Management

TaskHow
Save tokenStored in .edgeone/.token (auto-added to .gitignore)
Update tokenDelete .edgeone/.token, then deploy again — you'll be prompted to enter and save a new one
Use saved tokenAutomatic — the agent reads .edgeone/.token before each token deploy

Command Reference

ActionCommand
Install CLInpm install -g edgeone@latest
Check versionedgeone -v
Login (China)edgeone login --site china
Login (Global)edgeone login --site global
View login infoedgeone whoami
Logoutedgeone logout
Switch accountedgeone switch
Init functionsedgeone pages init
Local devedgeone pages dev
Link projectedgeone pages link
Deployedgeone pages deploy
Deploy new projectedgeone pages deploy -n <name>
Deploy previewedgeone pages deploy -e preview
Deploy with tokenedgeone pages deploy -t <token>

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

73.24%
按下载量换算2,080

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills