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.
npx agentmods add skills/rockielab/rockie-codex/gpu-customnpx skills add Rockielab/rockie-codex --skill gpu-customgit clone --depth 1 https://github.com/Rockielab/rockie-codexWrote 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.
[](https://agentmods.dev/skills/rockielab/rockie-codex/gpu-custom)<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>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.
| Model | Per session | Once 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 |
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.
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.
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-runor--no-opflags 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
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.
- 5d ago First seen · 105 lines · 150 tokens per session scan A b036421e0cb3
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.
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…
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.
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".
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…
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.
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.