remote-compute-ssh
Что он делает
Этот скилл позволяет агенту запускать короткие команды и длинные задачи на одобренных удалённых серверах, например с графическими процессорами, по SSH. Он нужен тем, кому требуется тяжёлая работа на машинах мощнее их собственной.
Когда использовать
- ✓Когда научной или data-задаче нужен графический процессор или больше памяти, чем у вашего компьютера.
- ✓Когда вы хотите, чтобы долгая задача шла на удалённом сервере и сообщила о результате по завершении.
- ✓Когда нужно выбрать, какой из включённых вычислительных хостов запустит задачу.
Ссылка на скилл
https://github.com/aipoch/open-science/blob/main/resources/skills/remote-compute-ssh/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Запусти эту задачу обучения на одном из моих включённых GPU-хостов и пришли результаты, когда она завершится.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент проверяет, какие вычислительные хосты включены, затем запускает короткие команды или отправляет длинные задачи. Он читает прогресс, не ожидая, и забирает результаты по окончании задачи.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
This skill covers remote compute over SSH, including direct execution and Slurm submission:
listing hosts, creating handles, running short remote commands (callCommand), reading/writing host
knowledge docs, and the full async job lifecycle — submit → save job_id → read non-blocking
snapshots by that ID →
harvest → analysis turn → publish artifacts.
Where host.compute runs: host.compute lives ONLY on the control-plane REPL kernel — run
every example below with the repl_execute tool (JavaScript), the same kernel that hosts
host.mcp. The python/r data kernels have NO host.compute (SSH and approvals stay outside
the sandbox workspace); calling it from a python/r cell will fail with host.compute is undefined.
Choose an execution location
Only Compute Hosts enabled for this Session are visible or callable. Discover them in one catalog;
each entry has role selected or available. A non-empty selected pool is an execution instruction:
run tool-backed task work on one or more selected hosts as the task requires. The pool has no
priority and does not imply automatic multi-host scheduling. If no host is selected, choose from the
available entries. Read details() only for candidates that need closer evaluation.
Never guess or reuse a provider id absent from the catalog. A user naming a disabled host does not make it callable; explain that it must first be enabled for this Session. If no eligible host is usable, explain the blocker and ask the user how to proceed.
const hosts = await host.compute.listHosts()
const selectedHosts = hosts.filter((host) => host.role === 'selected')
const candidates = selectedHosts.length > 0 ? selectedHosts : hosts
Each list item is a compact summary with provider_id, display_name, shape, execution_mode,
status, and role
(last_probe_ok, probe_failed, or not_probed). last_probe_ok means the most recent persisted
Probe succeeded; it does not assert live connectivity. Knowledge documents and resource probe
snapshots are deliberately excluded from discovery results.
API reference
// List this Session's enabled hosts as one role-bearing compact catalog
const hosts = await host.compute.listHosts()
// Compatibility discovery names remain available; both still hide disabled hosts.
const visibleHosts = await host.compute.listRegistered()
const selectedHosts = await host.compute.listPreferred()
// Create a handle to a specific host (no network call)
const c = host.compute.create('ssh:<alias>')
// Run a short remote command (throws on approval_denied / host_unreachable / timeout)
const result = await c.callCommand('<shell command>', '<one-line intent for the approval card>', {
loginShell: true, // default: true — runs login profiles, then readable ~/.bashrc, before this command
timeoutSeconds: 60 // optional — the host applies its own default (60s) when omitted
})
// result → { exit_code, stdout, stderr, truncated }
// Read the persisted operation instructions and the independent resource probe snapshot.
// doc is always the exact saved text (including '' before instructions are saved).
// probe is explicitly null when this host has never been probed.
const info = await host.compute.details('ssh:<alias>', { mode: 'read' })
// Append a note to the persisted host knowledge doc (agent writes; 32 KB cap enforced).
// Append changes only doc; it never copies or changes probe observations.
await host.compute.details('ssh:<alias>', {
mode: 'append',
text: '\n## Note\nlearned X on <date>'
})
// Alternatively, replace the entire host knowledge doc. Read again before replacing,
// especially if you appended above: oldText must match the persisted doc exactly.
const latest = await host.compute.details('ssh:<alias>', { mode: 'read' })
await host.compute.details('ssh:<alias>', {
mode: 'replace',
text: '<new full doc>',
oldText: latest.doc
})
Treat doc as operation instructions and durable host knowledge. Treat probe as a dated
observation: resource values may change, and detecting a scheduler does not authorize submitting a
job or select an account, partition, or queue. On a document mismatch or details_conflict error,
read again and merge your draft with the latest document before retrying. A resource-only probe
refresh does not change doc or cause a replacement conflict. After writing, read again to verify
the saved contents. A successful append or replace result is only { ok: true }. The write res
Частые вопросы
Может ли он использовать любой мой сервер?
Нет. Он использует только вычислительные хосты, включённые для текущей сессии.
Работает ли он в ядрах данных Python и R?
Нет. Скилл говорит, что удалённые вычисления идут только в управляющем REPL, а не в ядрах данных Python или R.
Что происходит после завершения задачи?
Агент собирает выходные данные и может их проанализировать, затем поделиться результатами, которые вы выберете.
Подробности
Оригинальное описание автора
Evaluate and use SSH Remote Compute before choosing where to run GPU, high-memory, parallel, batch, model-inference, bioinformatics, or other long-running scientific work; supports short remote commands and asynchronous jobs with automatic harvest and analysis.
repo: aipoch/open-science
Популярность
- Звёзды на GitHub
- 5.4k
- Место в рейтинге
- #14869
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
alphafold2
5.4kПомогает агенту предсказать трёхмерную структуру белка по его последовательности, в том числе комплексов белков, с помощью AlphaFold2 через ColabFold.
boltz
5.4kПомогает агенту предсказать структуру комплексов белков, ДНК, РНК и малых молекул с открытой моделью Boltz-2, с необязательной оценкой сродства связывания.
borzoi
5.4kПомогает агенту предсказывать треки активности генома, например экспрессию, по ДНК и сравнивать варианты по предсказанному эффекту.
chai1
5.4kПомогает агенту предсказать структуру комплексов белков, нуклеиновых кислот и лигандов по одному файлу FASTA с помощью модели Chai-1 под лицензией Apache.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.