gpu-runner

gpu-runner is a skill for Claude Code, Codex from nyosegawa/agentic-bench. It costs 107 tokens per session (1,463 once invoked), scanned A, original, MIT.

A workflow for running machine-learning model inference on cloud GPU services such as Hugging Face, Colab, Modal, Vast.ai, and RunPod.

In plain words
What is it for?
Use it to run models, deploy inference jobs, execute notebooks, collect text, image, audio, or metric outputs, and investigate failed GPU runs.
Why use it?
It handles provider selection, inference code, execution, result collection, and troubleshooting so you do not have to adapt each GPU service manually.

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/nyosegawa/agentic-bench/gpu-runner
Any agent
npx skills add nyosegawa/agentic-bench --skill gpu-runner
Clone the repo
git clone --depth 1 https://github.com/nyosegawa/agentic-bench

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nyosegawa/agentic-bench/gpu-runner.svg)](https://agentmods.dev/skills/nyosegawa/agentic-bench/gpu-runner)
Your own site
<a href="https://agentmods.dev/skills/nyosegawa/agentic-bench/gpu-runner"><img src="https://agentmods.dev/badge/skills/nyosegawa/agentic-bench/gpu-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00107 $0.01463
Opus 5 $0.00053 $0.00732
Sonnet 5 $0.00021 $0.00293
Haiku 4.5 $0.00011 $0.00146

Measured 4d ago against content hash a27b00db294f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gpu-runner 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 4d 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.

.claude/skills/gpu-runner/SKILL.md · 141 lines

How it starts

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

GPU Runner

You are executing model inference on the appropriate GPU cloud provider.

Your Goal

Given a model, its requirements, and a chosen provider:

  1. Write inference code tailored to the model
  2. Execute it on the selected provider
  3. Collect outputs (text, images, audio, metrics)
  4. Handle errors and retry with alternatives if needed

Provider Selection (if not pre-selected)

Check .env for available credentials, then sort by cheapest hourly cost:

  1. HF Inference API — Free with HF Pro. Requires HF_TOKEN. Catalog models only.
  2. HF Inference Endpoints — Any HF model on dedicated GPU. HF_TOKEN only. $0.50–2.50/hr.
  3. Colab Pro — Chrome MCP. No token needed. $9.99/month subscription. Up to ~30B.
  4. Modal — Requires MODAL_TOKEN_ID + MODAL_TOKEN_SECRET. $30/month free tier. $0.59–3.95/hr.
  5. beam.cloud — Requires BEAM_TOKEN. Existing credit. $0.54–3.50/hr.
  6. Vast.ai — Requires VAST_API_KEY. Marketplace pricing (cheapest GPUs). $0.10–2.00/hr.
  7. RunPod — Requires RUNPOD_API_KEY. Pods + Serverless. $0.34–2.69/hr.

Token availability check: If a provider's env vars are not set, skip it.

Provider-Specific Guides

Before executing, read the relevant provider reference:

Provider Reference When to Use
HF Inference API (inline below) Model on HF, API-supported, free
HF Inference Endpoints references/hf-endpoints.md Any HF model, cheapest dedicated GPU
Colab Pro references/colab-chrome-mcp.md Up to ~30B, interactive debugging
Modal references/modal.md 30B+, serverless, reliable GPUs
beam.cloud references/beam-cloud.md Dedicated endpoints, existing credit
Vast.ai references/vast.md Cheapest GPUs, marketplace pricing
RunPod references/runpod.md Pods (persistent VMs), balanced price/reliability

HF Inference API (inline — simple enough)

import os
from huggingface_hub import InferenceClient

client = InferenceClient(token=os.environ["HF_TOKEN"])

# Text generation
response = client.text_generation("Hello, ", model="MODEL_ID", max_new_tokens=100)

# Image generation
image = client.text_to_image("A cat", model="MODEL_ID")
image.save("output.png")

Read the full file on GitHub · 141 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 141 lines · 107 tokens per session scan A a27b00db294f

Subscribe to this mod's changes

gpu-runner is a skill published in the GitHub repository nyosegawa/agentic-bench (5 stars, last pushed 6mo ago), licensed MIT. It adds 107 tokens to every session and 1,463 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

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

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 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

terraform-search-import

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

hashicorp/agent-skills · 39 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens