signin
GitHub用于登录 ZeroGPU 并持久化保存 API 密钥。执行后会将密钥写入本地配置文件及 Shell 环境变量,适用于首次认证或设置凭据的场景。
Trigger Scenarios
Install
npx skills add zerogpu/zerogpu-router --skill signin -g -y
SKILL.md
Frontmatter
{
"name": "signin",
"metadata": {
"openclaw": {
"install": [
{
"bins": [
"zerogpu"
],
"kind": "node",
"package": "zerogpu-cli"
}
],
"requires": {
"bins": [
"zerogpu"
]
}
}
},
"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
}
This is a credential setup with persistent side effects. On success it writes your API key to a local config file and upserts
ZEROGPU_API_KEYinto your shell profile (e.g.~/.zshrc/~/.bashrc) — a lasting change to your environment, not a session-only login. Only run it when you intend to store a ZeroGPU credential on this machine. Revoke keys from the dashboard.
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-…. Avoid passing the key as a literal argument on shared machines, where it may land in shell history or process listings. - On success the credentials are written to the local config file and
ZEROGPU_API_KEYis upserted into the user's shell profile.
Version History
-
cee9321
Current 2026-08-02 21:16
更新依赖并修复安全问题。
- 7b9b503 2026-07-24 11:48


