gpu-custom-setup

gpu-custom-setup is a skill for Claude Code, Codex from Rockielab/rockie-codex. It costs 159 tokens per session (1,510 once invoked), scanned A, original, Apache-2.0.

A one-time setup questionnaire for users who want to run GPU work on their own hardware or computing account instead of Rockie’s GPU router.

In plain words
What is it for?
Use it when custom GPU mode is enabled and the workspace has not yet recorded details about an AWS account, private cluster, university computer system, workstation tunnel, or similar setup.
Why use it?
It records how the user authenticates and provisions their own computing environment, so later GPU work can follow that setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when custom GPU mode is enabled and the workspace has not yet recorded details about an AWS account, private cluster, university computer system, workstation tunnel, or similar setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rockielab/rockie-codex/gpu-custom-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Rockielab/rockie-codex --skill gpu-custom-setup
Clone the repo
git clone --depth 1 https://github.com/Rockielab/rockie-codex

Made for: Claude Code, Codex.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-codex/gpu-custom-setup/github.svg)](https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom-setup)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom-setup"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/gpu-custom-setup/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-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom-setup"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/gpu-custom-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,510 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.00159 $0.01510
Opus 5.5 $0.00064 $0.00604
Sonnet 5.5 $0.00032 $0.00302
Haiku 4.5 $0.00016 $0.00151

Measured 1mo ago against content hash c0d0cfdfff42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gpu-custom-setup 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 1mo 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.

project-extension/agents/skills/gpu-custom-setup/SKILL.md · 168 lines

How it starts

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

/gpu-custom-setup — onboard a user with their own GPU setup

Rockie's default GPU layer is the deidentified GPU router (gpu.py). But some users have their own setup they prefer to drive themselves — their own AWS account, on-prem cluster, university HPC quota, custom SSH tunnel, etc. They opt out by setting ROCKIE_GPU_MODE=custom, and the agent reaches for THIS skill on first GPU need to learn how THEY provision compute.

Pre-flight checks

Run these BEFORE invoking the skill. If any fail, do not proceed.

# 1. Are we in custom mode?
test "$(echo "${ROCKIE_GPU_MODE:-router}")" = "custom" || exit 0

# 2. Has setup already been done?
test -s .codex/gpu-custom.md && {
  echo "[gpu-custom-setup] .codex/gpu-custom.md already populated — skipping"
  exit 0
}

If both checks pass, continue.

What to do

This is a Q&A skill — the agent prompts the user, the user pastes commands or describes their flow, the agent structures the answers into .codex/gpu-custom.md and saves.

Sections to elicit, in this order:

1. Authentication

Ask: "How do you authenticate to your GPU provider? Paste any commands or env vars you set up. (e.g. aws configure, gcloud auth login, ssh-add ~/.ssh/key, custom token in env, etc.)"

Probe: if they say "AWS", ask whether they use IAM role, access keys, or SSO. If "on-prem", ask whether SSH key auth or password.

2. Provision (start a GPU)

Ask: "How do you spin up a GPU? Paste the command, script, or describe the steps. (e.g. aws ec2 run-instances ..., sbatch train.slurm, ssh worker && ./start_pod.sh, terraform apply, etc.)"

Probe for:

  • Default instance type / GPU model
  • How long it usually takes from "go" to "SSH-ready"
  • Any pre-flight checks they run (capacity, quota, billing)
  • How they pass training scripts to the pod (rsync, S3, git clone, etc.)

3. Connect (SSH to running GPU)

Ask: "Once the GPU is provisioned, how do you connect? Paste the SSH template (e.g. ssh user@host -i key.pem)."

Read the full file on GitHub · 168 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. 1mo ago First seen · 168 lines · 159 tokens per session scan A c0d0cfdfff42

Subscribe to this mod's changes

gpu-custom-setup is a skill published in the GitHub repository Rockielab/rockie-codex (20 stars, last pushed 12d ago), licensed Apache-2.0. It adds 159 tokens to every session and 1,510 once invoked, about $0.0006 per session on Opus 5.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.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

google-cloud-filestore-autoscale

Inspects Filestore capacity and utilization on Google Cloud, evaluates storage scaling rules, and performs capacity autoscaling (scale UP for low free space or scale DOWN for cost optimization). Use when monitoring Filestore instance headroom, resizing instance shares, configuring automated growth/shrink thresholds…

google/skills · 102 tokens

terraform-module-library

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

wshobson/agents · 44 tokens

vast-gpu

Rent, manage, and destroy GPU instances on vast.ai. Use when user says "rent gpu", "vast.ai", "rent a server", "cloud gpu", or needs on-demand GPU without owning hardware.

wanshuiyin/Auto-claude-code-research-in-sleep · 46 tokens

aws-lambda-microvms

Builds, runs, debugs, and operates applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments running inside a container with up to 8 hr lifetimes. Applicable when workloads need strong isolation between tenants, isolated serverless compute, sandbox compute, or…

aws/agent-toolkit-for-aws · 197 tokens

doca-hardware-safety

Use this skill whenever the agent is about to recommend or apply a change that touches DPU / NIC hardware state on a live system — mlxconfig firmware-parameter write, NIC firmware burn, BFB reflash, NIC ↔ DPU mode flip, SR-IOV or device-emulation slot enable, kernel boot-parameter change (IOMMU, hugepages, VFIO), PCIe…

NVIDIA/skills · 228 tokens