gpu-custom

gpu-custom is a skill for Claude Code from Rockielab/rockie-claude. It costs 150 tokens per session (1,173 once invoked), scanned A, original, Apache-2.0.

A routing guide for GPU work when Rockie’s standard GPU router is replaced by your own setup. It reads the project’s custom GPU instructions and follows them.

In plain words
What is it for?
Use it to start or connect to a custom GPU machine, check its status or cost, and terminate it when the project instructions support those actions.
Why use it?
It keeps provisioning, connection, status, cost, and shutdown actions aligned with the GPU setup chosen for that project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/train.sh.

Part of the rockie-claude plugin — 29 skills, 1 MCP server shipped together

Good fit Use it to start or connect to a custom GPU machine, check its status or cost, and terminate it when the project instructions support those actions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Rockielab/rockie-claude
Claude Code
/plugin install rockie-claude

Made for: Claude Code.

Or install rockie-claude, the plugin that ships this one along with the rest of its 29 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gpu-custom

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-claude/gpu-custom/github.svg)](https://agentmods.dev/skills/rockielab/rockie-claude/gpu-custom)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-claude/gpu-custom"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-claude/gpu-custom/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpu-custom

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockielab/rockie-claude/gpu-custom"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-claude/gpu-custom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.01173
Opus 5 $0.00075 $0.00587
Sonnet 5 $0.00030 $0.00235
Haiku 4.5 $0.00015 $0.00117

Measured 10d ago against content hash 69ba83e3502b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gpu-custom scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

project-harness/skills/gpu-custom/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/gpu-custom — runtime GPU operations in custom mode

When ROCKIE_GPU_MODE=custom, the agent doesn't drive GPU provisioning through rockie's router. Instead, it follows the user's own flow as documented in .claude/gpu-custom.md (populated once by /gpu-custom-setup).

This skill is the agent's gateway to that flow.

Pre-flight checks

# Are we in custom mode?
case "${ROCKIE_GPU_MODE:-router}" in
  custom) ;;  # ok, proceed
  router)
    echo "[gpu-custom] ROCKIE_GPU_MODE=router — use rockie-gpu / /gpu-spend instead"
    exit 0 ;;
  *) echo "[gpu-custom] ROCKIE_GPU_MODE=${ROCKIE_GPU_MODE} — not custom; nothing to do"; exit 0 ;;
esac

# Is the setup file present?
test -s .claude/gpu-custom.md || {
  echo "[gpu-custom] .claude/gpu-custom.md missing or empty"
  echo "  → run /gpu-custom-setup first to onboard your custom GPU flow"
  exit 0
}

If both pass, read .claude/gpu-custom.md and route based on the user's intent.

Routing user intent → setup file section

User intent Read this section of gpu-custom.md
"spin up a GPU" / "provision" / "start training" §2 Provision (then §3 Connect)
"connect to my pod" / "ssh in" §3 Connect
"what's running" / "list pods" / "status" §4 Monitor → Status
"what's it costing" / "spend" / "burn rate" §4 Monitor → Cost
"tear down" / "terminate" / "stop the pod" / "we're done" §5 Terminate (verbatim — don't improvise)
"preemption" / "got kicked off" §6 Optional → Preemption (if present)
"checkpoint" / "save state" §6 Optional → Persistent storage (if present)

The hard rule about §5 Terminate

The terminate command captured during onboarding was reviewed by the user for correctness. Run it verbatim. Do NOT:

  • Substitute "similar" commands you think might work
  • Add --dry-run or --no-op flags the user didn't include
  • Skip the command because you're worried about side effects (the user wrote it; they own it)
  • Run a different terminate command for "their other pod" you noticed — only act on the pod the user explicitly told you to terminate

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 105 lines · 150 tokens per session scan A 69ba83e3502b

Subscribe to this mod's changes

gpu-custom is a skill published in the GitHub repository Rockielab/rockie-claude (21 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 150 tokens to every session and 1,173 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.