devtu-remote-provider

devtu-remote-provider is a skill for Claude Code, Codex from mims-harvard/ToolUniverse. It costs 93 tokens per session (8,850 once invoked), scanned A, original, Apache-2.0.

A guide to building and debugging a self-hosted ToolUniverse remote tool backed by a GPU model. ToolUniverse is a system that exposes tools to an AI agent through a standard connection, while a resident worker keeps the model running.

In plain words
What is it for?
Use it when adding or converting a GPU model provider, defining its deployment manifest, or investigating why remote setup rejects a provider.
Why use it?
It explains how to separate conflicting software environments and how to validate model weights, startup, communication, and request handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding or converting a GPU model provider, defining its deployment manifest, or investigating why remote setup rejects a provider.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mims-harvard/tooluniverse/devtu-remote-provider
About the project

ToolUniverse is a collection of tools, interfaces, and supporting components for building AI systems that perform scientific work. It is for developers creating AI scientist agents that use APIs, databases, machine-learning tools, and domain-specific utilities. The catalogue includes skills, commands, an MCP server, an agent, and a hook for working with the ecosystem.

mims-harvard/ToolUniverse · 1,754 stars · on GitHub · aiscientist.tools

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 mims-harvard/ToolUniverse --skill devtu-remote-provider
Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

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 devtu-remote-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/devtu-remote-provider/github.svg)](https://agentmods.dev/skills/mims-harvard/tooluniverse/devtu-remote-provider)
Your own site
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/devtu-remote-provider"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/devtu-remote-provider/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 devtu-remote-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/devtu-remote-provider"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/devtu-remote-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,850 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.00093 $0.08850
Opus 5.5 $0.00037 $0.03540
Sonnet 5.5 $0.00019 $0.01770
Haiku 4.5 $0.00009 $0.00885

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

Security

Grade A, and why

devtu-remote-provider 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 2d 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.

skills/devtu-remote-provider/SKILL.md · 498 lines

How it starts

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

ToolUniverse remote provider

A remote tool is a model you host yourself, exposed over MCP. The contract lives in src/tooluniverse/remote_resident/STANDARD.md; read it before changing a provider. This page is how to apply it and how to read what it refuses.

The shape

agent ──MCP──> remote/<slug>/<slug>_mcp_server.py     ToolUniverse's env, CPU only
                      │
                      │ Unix socket, one request at a time
                      ▼
               remote/<slug>/resident/<slug>_worker.py   the model's own env

Two environments because their pinned stacks conflict. Boltz-2 needs torch 2.12.0+cu130 / triton 3.7.0 / numpy 1.26.4, which cannot be installed alongside ToolUniverse's other 1000+ tools. The MCP server must not import the model's dependencies, and the worker must not import ToolUniverse — the shared surface is one dependency-free file (remote_resident/protocol.py) loaded by path.

Top mistakes

  1. Requiring the model's CLI at tool construction. shutil.which("boltz") in __init__ fails on a correctly separated deployment. Accept either route.
  2. Trusting weights because the download exited 0. A boltz2_conf.ckpt arrived as 1.2 % of itself and served predictions for a month. Declare size and sha256; nothing is fetched implicitly at request time.
  3. Starting the model per request. Measured on a GB10: 110 s per call as a subprocess, ~54 s held. Most of the difference is not kernels — it is CUDA graphs captured on one request and replayed on the next, which a worker that exits cannot collect.
  4. Letting a worker outlive its server. start_new_session=True keeps a Ctrl-C from killing a prediction, and also orphans the worker; SIGKILLing the MCP server left two processes holding the GPU. Workers need the idle timeout and the orphan watchdog.
  5. Claiming status = "verified" without hardware. It must carry verified_on. A bare "verified" claims every machine.
  6. Hashing gigabytes on every check. Use the digest memo; pass deep=True only in setup, where what is certified should have been read.
  7. Forgetting package data. A built wheel carries only .py under remote/. Provider JSON, provider.toml, lock files, smoke inputs and the R halves of R-backed providers need globs in pyproject.toml.
  8. Believing exit 0. OpenFold3's smoke exited 0 in 29 s, reported a GPU peak, and produced no structure: upstream caught the per-query exception, wrote "Failed Queries: 1" to a summary file and returned normally. Declare [runtime] outputs (globs) or output_keys (reply fields); the manifest refuses status = "verified" without one and the smoke step refuses when nothing matched.
  9. Quoting a budget from the smoke. RFdiffusion3's 60-mer smoke reserves 2.12 GiB; a 400-residue, 4-design request reserves 12.49. When peak tracks input size, measure a ladder and declare the envelope alongside the number.
  10. Forking a loader out of a resident worker. The parent has CUDA and the kit's threads initialised long before a request arrives. Set num_workers = 0 unconditionally — it is a property of the resident route, not of one kit.
  11. Accepting a smoke as verification. One request is not a test of a resident provider. openfold3 produced five real structures and then failed deterministically on the SECOND request of the same shape, because a lever dropped a CUDA graph on moved storage while keeping its emptied pool handle. Run at least four consecutive identical requests, then a mixed-shape sequence. Four different shapes pass on a build that cannot serve a repeat.
  12. Assuming levers_off reaches the kit. boltzgen's modes.py never reads MODEL_OPT_LEVERS_OFF, and its stack.activate() overwrites a caller's value for any switch the mode exports. Check the ACTIVE line: if the lever is still listed the door did not open, and shipping the setting anyway is worse than saying so.
  13. Quoting wall times from a contended card. The same fold read 15-19 s quiet and 28-56 s with another session on the GPU. Peak reserved reproduced to the hundredth of a GiB in both. Report peaks from any run; report wall times only from an idle card. And utilisation alone is not evidence that YOUR process is computing — a 40-minute boltzgen stall was read as progress because the card showed 86-91%, which belonged to someone else. The usable signal is utilisation plus /proc/<pid>/stat CPU, on a quiet card.
  14. Letting a library fork. num_workers = 0 covers the loader and nothing else. boltzgen's DataLoader worker sat in torch.cdist → at::parallel_for → an OpenMP region, alive and at 0% CPU, waiting on a pool fork() did not carry over — up only because the kit's levers had done host-tensor work during activation. The rule that covers all three observed shapes: a resident worker that has run any host-tensor work must not let a library fork, and [kit.env] OMP_NUM_THREADS = "1" is the cheapest guarantee.
  15. An outputs glob that matches a file written regardless of success. boltzgen's configure writes design_spec.cif — a picture of the specification — whether or not anything is designed, so *.cif would have passed a run that produced nothing. Test the glob against a failing run, not only a passing one.
  16. Reading four identical requests as the acceptance test. They are the WEAKER half. A held engine is built once and replayed, so N identical requests exercise exactly one build — they cannot show the worker can build a SECOND one. genie3 would have passed four and raised on the first request that changed its engine key, because upstream's sampling config is a module-level mutable permitting one build per process. Run four identical requests then at least one that changes the engine key; the rebuild is the danger, not the new shape. Before writing a worker, call the upstream config or model builder twice in one process — one minute, and invisible to the repeats test.
  17. An input ceiling that the budget cannot cover. progen2's tool allowed 16 sequences × 1024 tokens; each is sane, the product costs 116.93 GiB, essentially the whole card. Bound the product, and check the ceilings against the budget rather than only against each other.
  18. Trusting a probe that does nothing afterwards. protenix's stock LayerNorm emits SASS with no PTX above sm_100, so the call returns, synchronize() PASSES, and the next unrelated op raises no kernel image is available. The first probe printed "LAUNCH OK" twice because it stopped there.
  19. Assuming a wheel that installs will run. tokenizers 0.10.x publishes well-formed aarch64 wheels that Illegal instruction (core dumped) at import. In a worker that is a smoke_protocolerror with no traceback, because SIGILL is uncatchable. Import every compiled pin in [env] verify.
  20. Assuming pip honours requirement order. A lock with two CUDA generations gets whichever of a colliding pair pip reaches last — measured, libcudnn.so.9 at 124,920 bytes instead of 6,328,728. Declare ordered passes with # --- pass break ---.
  21. Sizing an ablation to the smoke. Every kernel lever of the atlasfold kit is gated at min_tokens = 512; its 35-residue smoke exercises none. Seven ablated levers fold 35 residues and abort at 600; thirteen fold both. Size the ablation for the largest input the provider accepts — and check whether stock itself survives that size, because atlasfold's does not.

Read the full file on GitHub · 498 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. 2d ago First seen · 498 lines · 93 tokens per session scan A c7086330a9a0

Subscribe to this mod's changes

devtu-remote-provider is a skill published in the GitHub repository mims-harvard/ToolUniverse (1,754 stars, last pushed 2d ago), licensed Apache-2.0. It adds 93 tokens to every session and 8,850 once invoked, about $0.0004 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-10-20.

Related

Other skills, from other repositories

ai-agent-tool-routing

Use when designing or reviewing an AI agent tool registry or MCP router: document parameter schemas, caller authorization, execution limits, replay-safe retries and verification evidence.

sickn33/agentic-awesome-skills · 36 tokens

azure-resource-manager-sql-dotnet

Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL…

microsoft/skills · 109 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

airunway-aks-setup

Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on…

microsoft/skills · 121 tokens

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…

microsoft/skills · 106 tokens

gateway-workers

Build, debug, or review Cloudflare Workers invoked by the Forward action in Gateway HTTP policies, including the GatewayMiddleware entrypoint, Gateway types, context, and continuation.

cloudflare/skills · 37 tokens