setup-immune-compass-remote-tool
БесплатноБез исполняемых скриптовНе проверенSet up, launch, validate, and troubleshoot the immune COMPASS ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when…
от mims-harvard★ 1 813 звёзд на GitHubОб этом скилле
Set up immune COMPASS as a remote tool
Sharing this model for a user, not developing it? Follow the
tooluniverse-share-computerguide; no ToolUniverse source checkout is needed. The model runs in its own Python environment, with its dependencies:~/.local/bin/uv venv --python 3.12 ~/.tooluniverse/envs/immune-compass curl -fsSL -o ~/.tooluniverse/envs/immune-compass-tooluniverse.txt https://connect.aiscientist.tools/install-requirements.txt curl -fsSL -o ~/.tooluniverse/envs/immune-compass-requirements.txt https://raw.githubusercontent.com/mims-harvard/ToolUniverse/main/src/tooluniverse/remote/immune_compass/requirements.txt ~/.local/bin/uv pip install --python ~/.tooluniverse/envs/immune-compass/bin/python -r ~/.tooluniverse/envs/immune-compass-tooluniverse.txt -r ~/.tooluniverse/envs/immune-compass-requirements.txt ~/.local/bin/tu remote check immune-compass --python ~/.tooluniverse/envs/immune-compass/bin/python # lists anything still missing ~/.local/bin/tu serve --allow immune-compass --python ~/.tooluniverse/envs/immune-compass/bin/python --share --detach --name "<computer name>" --service https://tooluniverse-backend.onrender.comIf the check reports a missing environment variable (a data folder, a model cache, a provider key), set it in the same shell before
tu serve; "Obtain credentials, data, and model weights" below says what each one is. The model reads only the variables it declares.The rest of this guide is for developers working from the ToolUniverse source, and for diagnosing problems with this model.
Validation status (2026-08-16): working CPU deployment. The live MCP call ran the official all-cohort COMPASS checkpoint, converted to safetensors plus data-only preprocessing, on the official GIDE sample. In the pinned
torch==2.10.0environment, the safe artifact and upstream checkpoint had zero difference in both class probabilities and all 44 concept scores. This is execution-equivalence evidence, not a clinical-accuracy benchmark. Authenticated private Platform import and owner testing passed on 2026-08-16; public publication and independent-caller authorization/isolation remain untested.
Prerequisites
- Run from the ToolUniverse repository root on Linux with Python 3.12.3.
- The validated deployment uses CPU. GPU availability alone does not justify changing the device without a separate equivalence and resource test.
- Keep provider data, weights, caches, and credentials outside Git.
- Bind to loopback. A non-loopback bind requires TOOLUNIVERSE_API_TOKEN; never put it in arguments or results.
Run the standard-library contract check before downloading large dependencies:
python scripts/remote_validation/setup_skill_preflight.py --implementation immune-compass
After exporting provider resources, add --check-provider-env. After the
server starts, add --live to verify the exact MCP tool set without running
the model. Before sharing, add --check-connect-prereqs; this reports only
whether a key is set and never prints its value.
Create an isolated environment
python3 -m venv .venvs/immune-compass
. .venvs/immune-compass/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install -r src/tooluniverse/remote/immune_compass/requirements.txt
Package/network-dependent commands must be rerun in a clean environment before marking this skill complete.
Obtain data and provision safe model weights
- Obtain the official COMPASS source/checkpoint and confirm model/data terms. The validated source revision is
0e5c87665247e3a300f28282c8bbcc14e26973bd;example/model/finetuner_pft_all.pthas SHA-256fc83d7b5eac3697bcd9d117acefa35b56cf4c4c3c5880de367c85a870aef4b0b. - In an isolated provisioning environment only, convert that reviewed whole-object checkpoint:
python src/tooluniverse/remote/immune_compass/convert_checkpoint.py \
caches/compass/source/finetuner_pft_all.pt \
caches/compass/safe-model \
--expected-sha256 fc83d7b5eac3697bcd9d117acefa35b56cf4c4c3c5880de367c85a870aef4b0b \
--upstream-revision 0e5c87665247e3a300f28282c8bbcc14e26973bd
export COMPASS_SAFE_MODEL_DIR="$PWD/caches/compass/safe-model"
The live server must never call torch.load or loadcompass. It verifies the emitted digests and loads only safetensors, JSON metadata, and an allow_pickle=False preprocessing NPZ.
Authorize once, then share with one short command
After installing dependencies, exporting the provider resources above, and installing the pinned relay SDK described under Connect below, run from the repository root. Log in only once per machine (and again after key rotation):
tu remote login
# Or import an existing protected 0600 file without sourcing it:
tu remote login --env-file /path/to/tooluniverse-service.env
Then each private share is one short command:
tu remote share immune-compass
By default, tu remote login requests
Установить setup-immune-compass-remote-tool в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл setup-immune-compass-remote-tool?
Set up, launch, validate, and troubleshoot the immune COMPASS ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation.
Как установить скилл setup-immune-compass-remote-tool?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup-immune-compass-remote-tool запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic