Remote Experiment Execution
Installation
SKILL.md
Remote Experiment Execution
你可以通过 compute-helper CLI 在远程服务器上自主执行代码和命令。
compute-helper 路径和服务器信息在 system prompt 的
<compute_node>块中给出。 如果没有,在sidecar/bin/compute-helper.mjs查找。
命令速查
| 命令 | 用途 | 何时用 |
|---|---|---|
node <helper> ssh "<cmd>" |
仅远程执行命令 | 检查环境、查看文件、不涉及代码改动时 |
node <helper> sync up --cwd <root> |
同步本地代码到服务器 | 手动同步(通常不需要,run 自动同步) |
node <helper> run "<cmd>" --cwd <root> |
同步代码 + 远程执行 | 修改代码后需要在服务器运行时 |
node <helper> sync down --cwd <root> --files "logs/ results/" |
从服务器拉回文件 | 需要查看结果文件时 |
node <helper> info |
查看节点配置 | 确认连接信息时 |