host-and-share-remote-tool

host-and-share-remote-tool is a skill for Codex from mims-harvard/ToolUniverse. It costs 66 tokens per session (1,596 once invoked), scanned A, original, Apache-2.0.

A guide for hosting a model, Python function, workflow, or existing Streamable HTTP MCP endpoint as a private remote ToolUniverse tool. MCP is a standard way for software tools to communicate with AI agents.

In plain words
What is it for?
Use it to serve a local CPU or GPU workload, connect an existing MCP server, validate the setup, or share a user-owned tool with controlled access.
Why use it?
It explains how to keep the actual workload on a computer or lab server while sharing only the tool definition and relayed calls through ToolUniverse Platform.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to serve a local CPU or GPU workload, connect an existing MCP server, validate the setup, or share a user-owned tool with controlled access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mims-harvard/tooluniverse/host-and-share-remote-tool
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,739 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 host-and-share-remote-tool
Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

Made for: 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 host-and-share-remote-tool

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/host-and-share-remote-tool"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/host-and-share-remote-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,596 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00066 $0.01596
Opus 5.5 $0.00026 $0.00638
Sonnet 5.5 $0.00013 $0.00319
Haiku 4.5 $0.00007 $0.00160

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

Security

Grade A, and why

host-and-share-remote-tool 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 6d 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/host-and-share-remote-tool/SKILL.md · 136 lines

How it starts

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

Host and share a remote tool

Use this workflow for user-owned code and infrastructure. Keep the workload on the user's computer or lab server; ToolUniverse Platform receives only the MCP tool manifest and relayed calls.

Choose the shortest path

  • Python function, model, database query, or workflow: wrap only the callable with @remote_tool, then use tu serve ... --share.
  • Existing Streamable HTTP MCP server: keep it running on loopback and use tuplatform-relay --forward ....
  • One of ToolUniverse's 30 reviewed scientific implementations: use its implementation-specific setup-<name>-remote-tool skill and tu remote share <name> instead.

Do not treat an arbitrary REST endpoint as MCP. Wrap it in a typed Python function first, or put a reviewed MCP adapter in front of it.

1. Install the reviewed clients

Open ToolUniverse Connect, go to Computers → Connect a computer (https://connect.aiscientist.tools/remote-servers), choose the Python or existing-MCP path, and copy the immutable install command shown there. Run it in a new Python 3.12 virtual environment. The command pins both the ToolUniverse and relay sources; do not replace the pins with a moving branch.

Confirm the expected commands exist:

tu --help
tuplatform-relay --help

Stop if installation or source access fails. A locally working model does not prove that sharing works.

2A. Wrap a Python model or function

Create my_tool.py. Load fixed model artifacts from provider-owned configuration; do not accept arbitrary caller-controlled filesystem paths or model identifiers.

from tooluniverse import remote_tool

@remote_tool
def predict(sequence: str, threshold: float = 0.5) -> dict:
    """Score one sequence with the locally hosted model."""
    if not isinstance(sequence, str) or not 1 <= len(sequence) <= 10_000:
        raise ValueError("sequence must contain 1 to 10,000 characters")
    score = min(len(sequence) / 100.0, 1.0)  # replace with the real model call
    return {"score": score, "passes": score >= threshold}

Read the full file on GitHub · 136 lines

Files

What ships with it

1 file 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. 6d ago Changed 6b33869aae44
  2. 1mo ago First seen · 136 lines · 66 tokens per session scan A a3dcdeb0fb5f

Subscribe to this mod's changes

host-and-share-remote-tool is a skill published in the GitHub repository mims-harvard/ToolUniverse (1,739 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,596 once invoked, about $0.0003 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-09-03.

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-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-servicebus-dotnet

Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor"…

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

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-storage-file-share-py

Azure Storage File Share SDK for Python. Use for SMB file shares, directories, and file operations in the cloud. Triggers: "azure-storage-file-share", "ShareServiceClient", "ShareClient", "file share", "SMB".

microsoft/skills · 55 tokens