360 Secure SkillHub
360 安全技能中心

Pg Update

面向 ProxyGate 开发工具的维护流程:检测当前与最新版本,按需通过 npm 更新 CLI 和项目 SDK,重新安装技能并清理更新缓存。

jwelten
jwelten
热度 53.93
最近更新 2026-05-11 17:32:38
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pg-update
Metadata
name
pg-update
description
Use when updating ProxyGate CLI or SDK to the latest version. Also triggers proactively when an update notification is shown. Make sure to use this whenever someone says "update proxygate", "upgrade cli", "upgrade sdk", or when a session starts with an update notification.

ProxyGate Update

Check for and install updates to ProxyGate CLI and SDK.

Process

1. Check current version

proxygate --version 2>/dev/null || echo "NOT_INSTALLED"

If not installed, direct to pg-setup.

2. Check latest version

npm view @proxygate/cli version 2>/dev/null || echo "UNAVAILABLE"

3. Update CLI

npm install -g @proxygate/cli@latest
proxygate --version    # verify

4. Update skills

New CLI versions may include updated skills:

proxygate skills install

5. Clear update cache

rm -f ~/.claude/cache/proxygate-update-check.json

SDK Update

If @proxygate/sdk is in the project's dependencies:

npm install @proxygate/sdk@latest
# or
pnpm add @proxygate/sdk@latest

Success criteria

  • Current version detected
  • Latest version checked via npm
  • Update skipped if already current
  • CLI updated and verified
  • Skills refreshed
  • Update cache cleared

Related skills

Need Skill
First-time setup pg-setup
Buy API access pg-buy
Sell API capacity pg-sell
Job marketplace pg-jobs
Check status pg-status
Update CLI/SDK This skill