Command Palette

Search for a command to run...

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

nodetool-deployment

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

Self-host a NodeTool server with Docker Compose or nodetool deploy, rent a Runpod or Vast GPU worker with nodetool worker, or configure server auth…

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

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

You help users run NodeTool somewhere other than their desktop. Every command below runs in the user's shell. The in-product agent has no shell and no deployment tools, so it explains the steps and leaves running them to the user. Its one exception is rented workers: list_workers, get_worker_status and stop_worker show and pause them. Renting and destroying stay in the shell.

Which one

Need Use
A long-lived server that people connect in to Docker: docker-compose.yml from the repository, or nodetool deploy for a remote host over SSH
A rented GPU that the user's NodeTool connects out to, billed by the minute nodetool worker on Runpod or Vast

nodetool deploy supports one target type, docker. There is no SSH-service, Runpod-endpoint or Cloud Run deploy type. Runpod and Vast are nodetool worker.

Server authentication

The server picks its auth mode from SUPABASE_URL and SUPABASE_KEY alone. It reads neither AUTH_PROVIDER nor NODETOOL_SERVER_MODE.

Mode Enabled by Accepted credentials
Local Default, with the Supabase variables unset Loopback connections run as user "1" with no token. NODETOOL_TRUST_LOCALHOST=false turns that off. Sources in NODETOOL_TRUST_LOCAL_NETWORKS (comma-separated CIDRs) also run as user "1" with no token. A bearer equal to SERVER_AUTH_TOKEN runs as user "1". A token minted by nodetool deploy users-add runs as that API user. Anything else gets 401.
Supabase SUPABASE_URL and SUPABASE_KEY both set Every non-public request needs a valid Supabase JWT. SERVER_AUTH_TOKEN, NODETOOL_TRUST_LOCAL_NETWORKS and API-user tokens are ignored. Loopback is trusted only with NODETOOL_TRUST_LOCALHOST=true.

In both modes, an access token (ntk_…) created in Settings → MCP → Connect an agent remotely authenticates as the person who created it. Send any token as Authorization: Bearer <token>. A WebSocket client that cannot set headers passes ?api_key=<token> on the /ws URL.

Docker NATs a published-port connection, so it arrives from the bridge gateway, not loopback. In Local mode that means 401 until the source range is in NODETOOL_TRUST_LOCAL_NETWORKS or the client sends a token. Every listed range runs as user "1" with no password, so list only networks you control. A server that other people reach over the internet needs Supabase mode, with SUPABASE_ANON_KEY set too so the web login screen works.

Docker Compose (single host)

The repository's docker-compose.yml is the reference self-host setup.

cp .env.example .env          # fill in the provider keys you use
docker compose up -d          # serves http://localhost:17777
  • It runs in Local mode and trusts Docker's bridge ranges (172.16.0.0/12,192.168.65.0/24) by default. Safe on a laptop, LAN or VPN. Before exposing the port publicly, set SUPABASE_URL, SUPABASE_KEY and SUPABASE_ANON_KEY in .env.
  • All state (database, assets, vector store, model cache, generated secret key) lives on the nodetool-data volume at /workspace.
  • NODETOOL_PORT changes the host port. NODETOOL_VERSION pins an image tag.

nodetool deploy (remote Docker host)

deployment.yaml lives in the user config directory, not the working directory. Open it with nodetool deploy edit rather than guessing the path.

nodetool deploy init                         # create deployment.yaml
nodetool deploy add my-server --type docker  # describe one target
nodetool deploy plan my-server               # review before touching the host
nodetool deploy apply my-server              # --dry-run to print the steps only
nodetool deploy status my-server
nodetool deploy logs my-server --follow --tail 200
nodetool deploy list                         # live state of every target
nodetool deploy show my-server               # config only, no remote call
nodetool deploy destroy my-server            # --force skips the confirmation
deployments:
  my-server:
    type: docker
    host: 192.168.1.10        # localhost skips SSH and uses the local Docker
    ssh:
      user: ubuntu
      key_path: ~/.ssh/id_ed25519
    image:
      name: ghcr.io/nodetool-ai/nodetool
      tag: latest
    container:
      name: nodetool-server
      port: 8000              # host port
      gpu: "0"                # GPU device ids, or omit
      environment:            # extra env, e.g. SUPABASE_URL, provider keys
        OPENAI_API_KEY: "..."
    paths:
      workspace: ~/nodetool_data/workspace
      hf_cache: ~/nodetool_data/hf-cache

The CLI writes a generated server_auth_token and a container.environment.SECRETS_MASTER_KEY into deployment.yaml for any target that lacks them. apply starts the container with the token as SERVER_AUTH_TOKEN, so in Local mode a client authenticates with Authorization: Bearer <server_auth_token>. The container keeps its database, assets, vect

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

Установить nodetool-deployment в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл nodetool-deployment?

Self-host a NodeTool server with Docker Compose or nodetool deploy, rent a Runpod or Vast GPU worker with nodetool worker, or configure server auth. Everything here runs in the user's shell: the in-product agent explains the steps and does not run them.

Как установить скилл nodetool-deployment?

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

Скилл nodetool-deployment запускает скрипты?

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

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

Сравнить nodetool-deployment с