Skills gpu-cli
Safely run local `gpu` commands via a guarded wrapper (`runner.sh`) with preflight checks and budget/time caps.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/angusbezzina/gpu-cli" ~/.claude/skills/openclaw-skills-gpu-cli && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/angusbezzina/gpu-cli" ~/.openclaw/skills/openclaw-skills-gpu-cli && rm -rf "$T"
manifest:
skills/angusbezzina/gpu-cli/SKILL.mdsource content
GPU CLI Skill (Stable)
Use this skill to run the local
gpu binary from your agent. It only allows invoking the bundled runner.sh (which internally calls gpu) and read-only file access.
What it does
- Runs
commands you specify (e.g.,gpu
,runner.sh gpu status --json
).runner.sh gpu run python train.py - Recommends a preflight:
thengpu doctor --json
.gpu status --json - Streams results back to chat; use
for structured outputs.--json
Safety & scope
- Allowed tools:
,Bash(runner.sh*)
. No network access requested by the skill;Read
handles its own networking.gpu - Avoid chaining or redirection; provide a single
command.runner.sh gpu … - You pay your provider directly; this may start paid pods.
Quick prompts
- "Run
and summarize pod state".runner.sh gpu status --json - "Run
and summarize failures".runner.sh gpu doctor --json - See
for more examples.templates/prompts.md
Security
- Input sanitization: character blocklist (
( ) > < $ { }; & | \
gpu+ newlines) plus subcommand allowlist. Commands are executed via direct
bash -cbinary invocation — no shell re-evaluation (
eval`)./ - See
for the full threat model, permission rationale, and version history.SECURITY.md
Notes
- For image/video/LLM work, ask the agent to include appropriate flags (e.g.,
,--gpu-type "RTX 4090"
, or-p 8000:8000
).--rebuild