Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tooluniverse-share-computer

БесплатноБез исполняемых скриптовНе проверен

Share tools that live on this computer (the user's own Python function, script or notebook code, a model, a program they already run, or ToolUniverse's…

mims-harvardот mims-harvard★ 1 813 звёзд на GitHub

Об этом скилле

Share a computer's tools through ToolUniverse

The person you are helping is usually a scientist, not a programmer. Do every technical step yourself. Ask them only what you cannot find out, in plain words, one question at a time. Never ask them to edit code, read logs, or type commands; never paste or ask for keys, tokens or passwords in the chat.

Nothing leaves their computer except what the chosen tool returns. ToolUniverse only relays calls to it; their files, data and passwords stay where they are, and only the tools they pick are reachable.

0. Check you can do this here

You must be able to run commands on the computer that has the code or model (Claude Code, Codex, or another agent with a terminal there). If you cannot (for example you are Claude in a browser), say so plainly and stop:

Sharing has to be set up on the computer that has your model. Open Claude Code or Codex on that computer and ask it the same thing; it can use this guide too.

Sandboxes. Several steps need the internet and write to the user's home folder (installing, signing in, sharing). If your environment runs commands in a sandbox (Codex does by default), a step can fail with errors such as Could not resolve host or Permission denied. That is your own safety setting, not a broken installer: ask the user to approve running the step with network access, in one plain sentence ("I need internet access to install ToolUniverse's sharing tool. Allow it?"). Combine steps into as few commands as you can, so the user approves as few times as possible.

1. Find out what to share (ask, don't assume)

Work out, from the conversation or by looking around with their permission:

  • What: a function or script they wrote, a notebook cell, a model they run, a program that already serves MCP, or one of ToolUniverse's reviewed models (run tu remote list after step 2 to see them: ESM, Boltz, scVI, Enformer, and others).
  • The one thing it should do, as a sentence ("score a protein sequence", "look up a sample in our lab database"). Share narrow operations, not a whole program.
  • Inputs and output: what a caller gives and gets back.
  • Name: what colleagues should see, such as "Smith Lab GPU".

If the request is vague ("share my stuff"), ask which result they want colleagues to be able to get, then find the code that produces it.

2. Install ToolUniverse sharing (once per computer)

macOS or Linux:

curl -LsSf https://connect.aiscientist.tools/install.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://connect.aiscientist.tools/install.ps1 | iex"

It brings its own Python and puts tu and tuplatform-service in ~/.local/bin for new terminals. Your shell may not see them yet: call them as ~/.local/bin/tu and ~/.local/bin/tuplatform-service, and confirm ~/.local/bin/tu --help works. If the install itself fails (not a sandbox block, see step 0), tell the user what happened in one plain sentence and stop; do not improvise another installer.

Their own code may need its own packages (for example torch). Run the tool in the environment where their code already works: if they use conda or a virtualenv, activate it and install there instead, then use that environment's tu:

python -m pip install -r https://connect.aiscientist.tools/install-requirements.txt

3. Prepare what to share

Pick exactly one path.

A. Their own Python code (most common)

Write a small new file next to their code, for example share_tool.py. Import their function; do not rewrite or move their code.

from tooluniverse import remote_tool

from their_module import score_sequence  # their existing code


@remote_tool
def score_protein(sequence: str, threshold: float = 0.5) -> dict:
    """Score one protein sequence with the lab's model. Returns the score and whether it passes the threshold."""
    if not 1 <= len(sequence) <= 10_000:
        raise ValueError("sequence must be 1 to 10,000 letters")
    score = float(score_sequence(sequence))
    return {"score": score, "passes": score >= threshold}

Rules that keep it safe and usable:

  • One decorated function per operation, with type hints and a docstring written for a scientist reading a tool list: it becomes the tool's description.
  • Inputs are plain values (text, numbers, lists). Never accept a file path, a URL, SQL, a shell command, or a model name chosen by the caller.
  • Check input sizes. Return small JSON-friendly results (numbers, text, short lists); never return secrets, local paths, raw model objects or huge arrays.
  • Load models once at import time, not on every call.
  • A database: write one function per fixed, read-only, parameterized query. Never pass caller text into SQL.

Test it before sharing: call the function directly with a realistic example (python -c "from share_tool import score_protein; print(score_protein('MKT...'))"), and show the user the result in plain words. If

Полный SKILL.md на GitHub

Установить tooluniverse-share-computer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл tooluniverse-share-computer?

Share tools that live on this computer (the user's own Python function, script or notebook code, a model, a program they already run, or ToolUniverse's reviewed GPU models) so the user's and their colleagues' AI scientists can use them through ToolUniverse. You do the work; the user only answers questions and clicks Allow once in a browser. Use when the user says things like "share my model with my lab", "let my colleague use this script", "make this function a tool", "put my GPU models on ToolUniverse", or "keep my tool running".

Как установить скилл tooluniverse-share-computer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tooluniverse-share-computer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tooluniverse-share-computer с