signin
GitHub用于配置 ZeroGPU 持久化 API 密钥的认证技能。它将密钥写入本地配置文件并更新 Shell 环境变量,支持交互式和非交互(CI)模式,适用于首次登录或凭证设置场景。
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 with the exec tool:
zerogpu login
Notes:
- With no arguments, the CLI prompts interactively for the API key (masked).
- For non-interactive use (CI), when the user supplies a key, run
zerogpu login --api-key zgpu-api-…instead. 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
-
4e1b070
Current 2026-09-22 08:08
v4.4.0: 改用 zerogpu-cli 3.8.0 的模型无关端点命令;将指令格式从 Claude Code ! 块改为 exec 工具指令,以适配 OpenClaw 环境。
-
cee9321
2026-08-02 21:16
更新依赖并修复安全问题。
- 7b9b503 2026-07-24 11:48


