check-version by b-open-io/prompts
npx skills add https://github.com/b-open-io/prompts --skill check-version快速插件版本检查 — 在约 70 毫秒内比较已安装版本与 GitHub 上的版本。
bash <skill-path>/scripts/check-version.sh
返回 JSON:
{
"plugin": "bopen-tools",
"org": "b-open-io",
"local_version": "1.0.82",
"remote_version": "1.0.83",
"status": "outdated",
"message": "Update available: 1.0.82 -> 1.0.83. Run: claude plugin update bopen-tools@b-open-io"
}
| 状态 | 含义 | 操作 |
|---|---|---|
current | 已安装版本与 GitHub 一致 | 无需操作 |
outdated | GitHub 上有新版本可用 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 告知用户运行消息字段中的更新命令 |
ahead | 本地版本比 GitHub 更新(开发环境) | 无需操作 |
not_installed | 在缓存中未找到插件 | 告知用户安装该插件 |
check_failed | 无法连接到 GitHub | 网络问题 — 不严重,继续工作 |
此检查速度足够快(约 70 毫秒),运行不会产生明显延迟。如果状态为 outdated,请告知用户并建议更新命令,但不要因此阻塞 — 继续使用已安装的版本工作。
每周安装数
1
代码仓库
GitHub 星标数
7
首次出现
1 天前
安全审计
已安装于
windsurf1
amp1
cline1
opencode1
cursor1
kimi-cli1
Fast plugin version check — compares installed version against GitHub in ~70ms.
bash <skill-path>/scripts/check-version.sh
Returns JSON:
{
"plugin": "bopen-tools",
"org": "b-open-io",
"local_version": "1.0.82",
"remote_version": "1.0.83",
"status": "outdated",
"message": "Update available: 1.0.82 -> 1.0.83. Run: claude plugin update bopen-tools@b-open-io"
}
| Status | Meaning | Action |
|---|---|---|
current | Installed version matches GitHub | No action needed |
outdated | Newer version available on GitHub | Tell user to run the update command in the message field |
ahead | Local is newer than GitHub (dev environment) | No action needed |
not_installed | Plugin not found in cache | Tell user to install the plugin |
check_failed | Couldn't reach GitHub | Network issue — not critical, continue working |
The check is fast enough (~70ms) to run without noticeable delay. If status is outdated, tell the user and suggest the update command, but don't block on it — continue working with what's installed.
Weekly Installs
1
Repository
GitHub Stars
7
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
windsurf1
amp1
cline1
opencode1
cursor1
kimi-cli1
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装