gpu-custom

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

A runtime guide for using a user's own GPU setup instead of the default GPU service. It reads the project's custom instructions and routes requests such as starting, connecting to, checking, or stopping GPU work.

In plain words
What is it for?
Use it to provision or connect to a custom GPU, check its status or cost, start training, or terminate GPU work.
Why use it?
It keeps GPU operations aligned with the user's documented setup. It also prevents this custom workflow from being used when the project is configured for the default router.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/rockielab/rockie-codex/gpu-custom
Any agent
npx skills add Rockielab/rockie-codex --skill gpu-custom
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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-codex/gpu-custom.svg)](https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/gpu-custom.svg" alt="Measured on agentmods" 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. Scan, not verified.
Origin 86% copy Near-identical to another mod 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 $0.00150 $0.01173
Opus 5 $0.00075 $0.00587
Sonnet 5 $0.00030 $0.00235
Haiku 4.5 $0.00015 $0.00117

Measured 5d ago against content hash b036421e0cb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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

This is a copy

86% identical to gpu-custom — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

project-extension/agents/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 .codex/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 .codex/gpu-custom.md || {
  echo "[gpu-custom] .codex/gpu-custom.md missing or empty"
  echo "  → run /gpu-custom-setup first to onboard your custom GPU flow"
  exit 0
}

If both pass, read .codex/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. 5d ago First seen · 105 lines · 150 tokens per session scan A b036421e0cb3

Subscribe to this mod's changes

gpu-custom is a skill published in the GitHub repository Rockielab/rockie-codex (20 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. It is 86% identical to gpu-custom, differing in 16 lines, and is treated as a copy.

Related

Other skills, from other repositories

application-design-center-design-deploy

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…

google/skills · 94 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens

atmos-auth

Authentication and identity management: providers (SSO/SAML/OIDC/GCP/Atmos Pro), identities, keyring, identity chaining, login/exec/shell/console, and github/sts for private GitHub access.

cloudposse/atmos · 48 tokens