360 Secure SkillHub
360 安全技能中心

Pg Update

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

分类:开发
jwelten
jwelten
热度 39.62
最近更新 2026-05-11 17:32:38

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jwelten/pg-update
兼容性
Claude Code 专属
联网要求
需要联网
数据出网
必须出网
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