Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

autodl-train自动列车

Agent Skill

autodl-train 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,656

周安装

283

GitHub Stars

1

下载量

2,332
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autodl-train(自动列车)
来源仓库:https://github.com/zhuoran-liu/autodl-train
安装命令:
openclaw skills install autodl-train
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install autodl-train

简介

远程在 AutoDL Linux 服务器执行训练任务。

  • 通过 SSH 连接提交模型训练作业。
  • 支持监控 GPU 状态与日志实时查看。
  • 需预先配置密钥认证与防火墙规则。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 训练期间会占用大量计算资源。autodl-train 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
operating-autodl-training
description
Operates remote model training jobs on AutoDL Linux servers over SSH. Use when starting a training run, checking whether training is still alive, reviewing GPU/CPU/memory/disk usage, reading recent logs, diagnosing abnormal interruptions, or summarizing the latest training outcome with next-step recommendations.

Operating AutoDL Training

Use this skill for remote training operations on an AutoDL Linux server. It is designed for high-frequency workflows around "start training, watch progress, inspect resources, read logs, diagnose failures, and decide what to do next" while keeping execution constrained to one configured project directory.

What This Skill Does

  • Starts a configured training command in the target project directory over SSH.
  • Activates the remote Python environment with Conda or virtualenv fallbacks.
  • Checks whether training is still running by combining process, GPU, and log freshness signals.
  • Summarizes GPU, CPU, memory, and disk pressure instead of dumping raw command output.
  • Reads recent logs and extracts likely metrics such as epoch, step, loss, lr, grad_norm, val_loss, accuracy, mAP, and F1.
  • Detects common training failures such as CUDA OOM, NCCL errors, NaN, disk full, timeout, and segmentation faults.
  • Produces a human-readable training summary and recommends whether to continue, tune, or resume from a checkpoint.

Required Inputs

Collect or confirm these values before running any script:

  • host: AutoDL server hostname or IP.
  • port: SSH port, usually 22.
  • username: Remote Linux username.
  • project_path: Absolute project directory on the remote server, for example /root/autodl-tmp/your-project.
  • One environment option: env_name, env_activate, or venv_path.
  • train_command: The training launch command, such as python train.py, python -m torch.distributed.run ..., or bash scripts/train.sh.
  • Optional password mode: provide AUTOCLAW_TRAIN_SSH_PASSWORD as an environment variable or local .env file when SSH key login is not available.

Prefer a config file at config.example.json copied to a real file such as config.json, or environment variables based on .env.example.

Safety Rules

  • Only operate inside the configured project_path.
  • Do not invent missing SSH credentials or secrets.
  • Do not write plaintext passwords into files.
  • Prefer SSH keys or environment variables.
  • Refuse obviously destructive launch commands such as rm -rf, reboot, shutdown, mkfs, or fork bombs.
  • Do not kill unrelated processes or run global destructive recovery commands.

Workflow

1. Confirm Configuration

Read config.example.json and references/usage.md to understand the expected fields. Ask the user for any missing values instead of guessing.

2. Start Or Resume Training

Run scripts/remote_train.py to start a background job or build a resume command:

python scripts/remote_train.py --config config.json
python scripts/remote_train.py --config config.json --resume-from outputs/checkpoints/last.ckpt

Use this when the user asks to launch training, re-launch after interruption, or resume from a checkpoint.

3. Check Live Status

Run scripts/check_status.py when the user asks whether training is still running:

python scripts/check_status.py --config config.json

This script combines process matching, nvidia-smi, and recent log updates to classify the run as running, stopped, failed, or unknown.

4. Inspect Resource Pressure

Run scripts/monitor_resources.py to summarize GPU/CPU/memory/disk usage:

python scripts/monitor_resources.py --config config.json

Use the human-readable bottleneck assessment in the output instead of pasting raw command output unless the user asks for raw data.

5. Read Logs And Summaries

Run scripts/summarize_log.py in one of these modes:

python scripts/summarize_log.py --config config.json --action read --tail 200
python scripts/summarize_log.py --config config.json --action detect-failure --tail 400
python scripts/summarize_log.py --config config.json --action summarize --tail 400

Use read for recent excerpts and metrics, detect-failure for exception diagnosis, and summarize for a concise human-facing assessment with next steps.

Script Map

  • scripts/remote_train.py: start training, optional resume templating, structured launch result.
  • scripts/check_status.py: process/GPU/log-based training status.
  • scripts/monitor_resources.py: GPU/CPU/memory/disk summary and bottleneck hints.
  • scripts/summarize_log.py: read logs, detect failures, summarize convergence and next actions.
  • scripts/common.py: shared config loading, SSH execution, safe path checks, remote helpers.
  • scripts/log_utils.py: reusable log parsing, failure detection, trend analysis, recommendation logic.

References

  • Read references/usage.md for setup steps, example configs, and example commands.
  • Read references/troubleshooting.md when SSH, environment activation, logs, or training recovery fail.

Agent Guidance

  • Start with the least invasive action that answers the user’s request.
  • When the user asks a yes/no status question, prefer scripts/check_status.py before reading a long log.
  • When the user asks why training stopped, run scripts/check_status.py and then scripts/summarize_log.py --action detect-failure.
  • When the user asks whether to continue training, run scripts/summarize_log.py --action summarize and include the recommendations from the script in the final response.
  • When a checkpoint path is provided, prefer scripts/remote_train.py --resume-from ... so the resume command is explicit and auditable.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.33%
按下载量换算2,270

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills