Token导航 LogoToken导航

Agent Skill · 研究检索

edgeone-pages-deploy(edgeone pages 部署)

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

edgeone-pages-deploy 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 48,992。

总安装 667周安装 27GitHub Stars 1下载 210核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tencentedgeone/edgeone-pages-skills --skill edgeone-pages-deploy

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

edgeone-pages-deploy 用于辅助云资源、部署和基础设施任务。适合让 Agent 检查配置、整理部署步骤或分析资源状态。通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。

使用时需要明确目标环境、账号权限,涉及删除资源或修改网络时应先确认影响范围。当前分类为研究检索,暂无更多功能细节可参考。

来源仓库内路径:skills/edgeone-pages-deploy

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/tencentedgeone/edgeone-pages-skills --skill ed…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

edgeone-pages-deploy 怎么安装?

在终端执行 npx skills add https://github.com/tencentedgeone/edgeone-pages-skills --skill edgeone-page…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

edgeone-pages-deploy 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

edgeone-pages-deploy 需要什么权限?

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

edgeone-pages-deploy 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

edgeone-pages-deploy 用的人多吗?

公开数据是累计安装 667 次,近一周安装 27 次,下载 210 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

edgeone-pages-deploy 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
edgeone-pages-deploy

edgeone pages 部署 · 本页

6671接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

EdgeOne Pages Deployment Skill

Deploy any project to EdgeOne Pages.

⛔ Critical Rules (never skip)

  1. CLI version ≥ 1.2.30 — reinstall if lower. Never proceed with an outdated version.
  2. Never truncate the deploy URL — EDGEONE_DEPLOY_URL includes query parameters required for access. Always output the complete URL.
  3. Ask the user to choose China or Global site before login. Never assume.
  4. 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, ask if the user wants to save the token locally for future use.
  6. Before triggering any browser popup (login / 注册), explain the reason and the benefits to the user first — never silently launch a browser window.

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 < 1.2.30—→ Go to Install CLI
≥ 1.2.30 ✓Logged in→ Go to Deploy
≥ 1.2.30 ✓Not logged in, has saved token→ Go to Deploy with Token (use saved token)
≥ 1.2.30 ✓Not logged in, no saved token→ Go to Login

Install CLI

npm install -g edgeone@latest

Verify: edgeone -v — confirm output is 1.2.30 or higher. Retry installation if not.


Login

0. Explain the registration/login step

Before triggering any login flow, explain to the user why this step is needed and what to expect. Do not silently launch a browser window.

Tell the user:

接下来需要登录 / 注册 EdgeOne Pages 账号,原因和收益如下: - 为什么要登录:部署需要把构建产物上传到你自己的账号下,生成独立的访问 URL 和项目记录。 - 免费能得到什么:EdgeOne Pages 提供免费额度,包含全球 CDN 加速、自动 HTTPS、以及自定义域名绑定能力,个人项目通常完全够用。 - 接下来会发生什么:我会运行 edgeone login,你的默认浏览器会自动弹出腾讯云登录页面,请在浏览器中完成登录 / 注册并授权,然后回到这里。 - 如果卡住了:如果浏览器没弹出,或者你在浏览器里完成登录后 CLI 仍在等待,请告诉我,我会切换到 Token 登录方式。

如果用户长时间(例如超过 1–2 分钟)没有反馈登录完成,主动询问用户当前状态(浏览器是否打开、是否遇到报错、是否需要改用 Token 登录),不要无限期等待。

1. Ask the user to choose a site

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

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 (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.

⚠️ 浏览器 Session 复用陷阱:如果用户此前已经在同一个浏览器登录过 EdgeOne Pages 的另一个站点(例如之前登过国际站,这次要登国内站,或反之),浏览器可能静默复用旧的腾讯云 session,CLI 会以为登录成功,但实际绑定的是错误账号,后续 deploy 时会出现 auth 错误或 whoami 显示意外账号。

遇到这种情况,引导用户:

  1. 在弹出的登录页点击「使用其他账户登录」切换账号;或
  2. 先从所有腾讯云控制台(国内站 console.cloud.tencent.com 和国际站 console.intl.cloud.tencent.com)退出登录,再重新执行 edgeone login。
Token Login

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

Guide the user to obtain 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 Token → Create 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, ask:

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

Confirm to 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)

After edgeone pages deploy succeeds, the CLI outputs:

[cli][✔] Deploy Success
EDGEONE_DEPLOY_URL=https://my-project-abc123.edgeone.cool?<auth_query_params>
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=Include the full query string (? and everything after) — without these params the page will not 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?<auth_query_params> - Console URL: https://console.cloud.tencent.com/edgeone/pages/project/... ℹ️ 说明:此预览链接用于快速验证部署结果。在国内网络环境下访问时,因域名备案状态 / 加速策略等原因,链接可能在一段时间后或被分享给他人访问时出现访问限制(如 401)。如需长期稳定对外访问,建议绑定已备案的自定义域名。

Error Handling

ErrorSolution
command not found: edgeoneRun npm install -g edgeone@latest
Browser does not open during loginSwitch to token login
"not logged in" errorRun edgeone whoami to check, then re-login or use token
Auth error with tokenToken may be expired — regenerate at the console
登录显示成功,但 deploy 报 auth / 鉴权错误浏览器复用了错误站点的旧 session,导致账号错位。点击登录页的「使用其他账户登录」重新登录,或先从所有腾讯云控制台退出后再试
edgeone whoami 显示的是意外账号同上:浏览器 session 复用导致。使用「使用其他账户登录」切换,或从所有腾讯云控制台退出后重登
Project name conflictUse a different name with -n
Build failureCheck logs — usually missing deps or bad build script

For CLI command reference, environment variables, local dev setup, and token management details, see references/command-reference.md.

平台分布

Codex

36.32%
按下载量换算76

Claude

31.16%
按下载量换算65

Cursor

18.54%
按下载量换算39

Gemini CLI

8.57%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills