Agent Skills
› zerogpu/zerogpu-router
› signin
signin
GitHub用于在ZeroGPU平台执行登录流程并持久化API密钥。当用户请求登录、认证或首次设置ZeroGPU凭证时触发,支持交互式输入及CI环境下的非交互模式。
触发场景
用户要求登录ZeroGPU
用户需要认证身份
用户首次配置ZeroGPU凭证
安装
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.
版本历史
- 7b9b503 当前 2026-07-24 11:48


