Agent Skills
› zerogpu/zerogpu-router
› signin
signin
GitHub用于 ZeroGPU 服务的用户登录与 API Key 配置。支持交互式输入或 CI 环境非交互模式,成功将凭证写入本地配置文件并更新 Shell 环境变量,实现身份认证持久化。
Trigger Scenarios
用户请求登录 ZeroGPU
需要设置或更新 ZeroGPU API 密钥
首次使用 ZeroGPU 需进行身份验证
Install
npx skills add zerogpu/zerogpu-router --skill signin -g -y
SKILL.md
Frontmatter
{
"name": "signin",
"description": "Sign in to ZeroGPU and persist the API key. Use when the user asks to log in, authenticate, or set up ZeroGPU credentials for the first time.",
"allowed-tools": "Bash(zerogpu login*)",
"argument-hint": "[--api-key <key>]",
"disable-model-invocation": true
}
Run the ZeroGPU login flow:
zerogpu login $ARGUMENTS
Notes:
- With no arguments, the CLI prompts interactively for the API key (masked).
- For non-interactive use (CI), pass
--api-key zgpu-api-…. - On success the credentials are written to the local config file and
ZEROGPU_API_KEYis upserted into the user's shell profile.
Version History
- 7b9b503 Current 2026-07-24 11:48


