cloud-inference-routing-workflow

cloud-inference-routing-workflow is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 98 tokens per session (1,872 once invoked), scanned A, original, Apache-2.0.

A guide for choosing where to run AI models, train or convert them, and provide inference through cloud GPUs or managed services.

In plain words
What is it for?
Use it with Runpod, Hugging Face, AWS, Vast.ai, CoreWeave, GPU instances, inference endpoints, custom containers, and model-serving tools.
Why use it?
It helps developers select an appropriate provider and avoid changing cloud resources, moving model files, or spending GPU budget on the wrong setup.

Skill for Claude CodeCodex

Part of the cloud-inference-skills plugin — 4 skills shipped together

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/gaelic-ghost/socket/cloud-inference-routing-workflow
Any agent
npx skills add gaelic-ghost/socket --skill cloud-inference-routing-workflow
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Or install cloud-inference-skills, the plugin that ships this one along with the rest of its 4 skills.

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 cloud-inference-routing-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/cloud-inference-routing-workflow.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/cloud-inference-routing-workflow)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/cloud-inference-routing-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/cloud-inference-routing-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,872 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.00098 $0.01872
Opus 5 $0.00049 $0.00936
Sonnet 5 $0.00020 $0.00374
Haiku 4.5 $0.00010 $0.00187

Measured yesterday against content hash 2b92f5bfa97c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloud-inference-routing-workflow 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 yesterday.

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.

plugins/cloud-inference-skills/skills/cloud-inference-routing-workflow/SKILL.md · 124 lines

How it starts

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

Cloud Inference Routing Workflow

Purpose

Choose the smallest correct cloud AI inference path before changing provider resources, spending GPU budget, moving model weights, or deploying endpoints.

The practical decision is whether the agent should use an official provider plugin, provider MCP server, provider CLI, SDK, managed inference endpoint, rented GPU instance, cluster platform, or a stack-owned implementation workflow.

Source Check

Use repo-local model code, Dockerfiles, provider configs, checked-out scripts, installed provider plugins, installed provider CLIs, bundled MCP servers, and official provider documentation before making claims about current behavior.

Preferred official sources:

  • Runpod docs and bundled MCP servers for Runpod Pods, Serverless, Flash, templates, volumes, registries, and docs lookup.
  • Hugging Face plugin and huggingface_hub CLI for Hub repos, models, datasets, Spaces, Inference Endpoints, jobs, and papers.
  • AWS Agent Toolkit, AWS CLI, AWS SDKs, and AWS docs for Lambda, SageMaker, Bedrock, ECS, EKS, Batch, IAM, billing, and observability.
  • Vast.ai docs and CLI for low-cost rented GPU instances.
  • CoreWeave docs for Kubernetes-backed GPU infrastructure, clusters, storage, networking, and observability.

Translate documentation into the concrete project decision it changes.

Routing Workflow

  1. Inspect the workload:
    • task: inference endpoint, batch inference, fine-tuning, full training, eval, model conversion, quantization, benchmark, notebook, or one-off GPU shell
    • model family, parameter count, precision, context length, adapters, tokenizer, and required runtime
    • expected VRAM, CPU RAM, disk, network, container image, driver, CUDA, and startup time
    • latency, throughput, concurrency, cold-start tolerance, uptime, privacy, and cleanup needs
    • artifact flow: model weights, private datasets, outputs, logs, checkpoints, and caches
  2. Choose the provider lane:
    • quick managed inference
    • quick custom endpoint
    • cheap flexible GPU box
    • training or conversion workspace
    • Kubernetes or production cluster
    • existing provider familiarity
  3. Prefer familiar first-party paths when they fit:
    • Runpod for fast GPU Pods, Serverless endpoints, Flash, cheap/flexible experiments, templates, and resource management through MCP.
    • Hugging Face for model and dataset repos, conversion/publishing workflows, Inference Endpoints, Spaces, jobs, and Hub-native collaboration.
    • AWS when the project already uses AWS accounts, IAM, S3, CloudWatch, Lambda, SageMaker, Bedrock, ECS, EKS, or Batch.
  4. Route to official tools:
    • Use runpod MCP for Runpod resource mutations and runpod-docs MCP for docs lookup when available.
    • Use the upstream Runpod skills under the exported skills/ tree for Runpod flash, runpodctl, and companion CLI details. Refresh those skills with npx skills update or npx skills add runpod/skills instead of hand-editing them.
    • Use the Hugging Face Codex plugin and Hugging Face CLI for Hub, model, dataset, Space, endpoint, or job work when available.
    • Use the AWS Agent Toolkit and AWS CLI or SDKs for AWS inference work when available.
    • Use provider CLIs or docs for Vast.ai and CoreWeave until a provider-owned agent surface is available or a concrete repeated Socket workflow justifies a new slice.
  5. Confirm boundaries before mutation:
    • provider account, project, region, org, namespace, and budget
    • API key or profile source
    • model and dataset license or private-use boundary
    • exact resources to create, update, stop, delete, or scale
    • expected hourly cost, storage cost, bandwidth cost, idle behavior, and teardown path
  6. Choose validation:
    • read-only docs, list, or pricing query for planning
    • local smoke test or CPU fallback before GPU spend
    • minimal GPU probe before full training or endpoint deployment
    • endpoint health, latency, throughput, logs, and cost check after deployment
    • cleanup verification for stopped Pods, terminated instances, deleted endpoints, detached volumes, and lingering storage

Read the full file on GitHub · 124 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. yesterday First seen · 124 lines · 98 tokens per session scan A 2b92f5bfa97c

Subscribe to this mod's changes

cloud-inference-routing-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 98 tokens to every session and 1,872 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-09-03.

Related

Other skills, from other repositories

chief-data-officer

Owns data as an asset — governance, quality, the warehouse and semantic layer, analytics capability, and the governance of models built on top. Use this for a decision about how data is collected, stored, defined, or shared; when numbers disagree between teams; when deciding what to build in-house versus buy; when…

cbrock84/headcount · 88 tokens

ai-workflow-architect

Designs AI systems, automations, and agent workflows for a business — identifying which manual work is worth automating, how to structure the system, which tools fit, and what could go wrong. Use this to automate part of an operation, design an agent or MCP workflow, reduce repetitive manual work, connect tools into a…

cbrock84/headcount · 89 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens

data-engineering

Builds and operates data pipelines — ingestion, transformation, orchestration, quality testing, and reliability of data delivery. Use this to design or debug a pipeline, decide batch versus streaming, add data quality checks, handle late or duplicate data, or work out why a dashboard's numbers changed without anyone…

cbrock84/headcount · 67 tokens

pipeline

Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…

kardebadas/claude-plugin · 80 tokens

craft

Use when a product idea is still vague and needs to become a clear definition of what to build — "let's craft an app like X", "help me define what I actually want", "clarify this idea before we plan it". Also use before planning or implementation when requirements, UX, domain behaviour, or technical preferences have…

kardebadas/claude-plugin · 83 tokens