haibarazz/awesome-codex-research/autodl-remote
Claude Code and agent skill by haibarazz/awesome-codex-research
- community
Checking that the SKILL.md file is still in the repository.
Use when the host coding agent should control an AutoDL or SSH server from the local machine, run remote commands, and explicitly upload or download selected files.
Install
npx vskill@latest install haibarazz/awesome-codex-research/autodl-remoteSKILL.md
The same SKILL.md was published earlier as haibarazz/awesome-codex-research/autodl-remote.
AutoDL Remote
Use this skill when the user wants the host coding agent to work locally while controlling AutoDL through SSH.
Operating Model
- The plugin is a thin SSH tool layer.
- When the
autodl_*MCP tools are available, prefer them for bounded account, project, file, transfer, execution, job/run, fleet, tmux, dashboard, and shutdown operations. Supply the absolute local project path asprojectRoot. - Keep MCP file, transfer, sync-up, remote-cwd, and dashboard-output operands project-relative. Use the explicit account/remote context overrides when a different bound remote root is intended.
- Use the CLI when the operation intentionally remains outside MCP: password save/delete, interactive
shell,exec --script,exec --stdin, following logs, or a continuously watched/opened dashboard. - MCP destructive actions require their documented confirmation value. Never invent confirmation on the user's behalf when approval is required.
- For AutoDL or remote SSH work, first verify the tool with
autodl-remote --version, then useautodl-remoteas the default gateway for remote commands and file transfer. - Do not hand-write raw
ssh,expect,scp, orrsyncworkflows for AutoDL work unlessautodl-remoteis unavailable, the command fails after a reasonable retry, or the user explicitly asks to bypass the plugin. - If bypassing
autodl-remote, state the concrete reason before doing so and avoid printing passwords or embedding credentials in shell history/logs. - For complex remote checks or multi-line scripts, use
autodl-remote exec --scriptorautodl-remote exec --stdin -- bash; do not pack nested Python heredocs or long quoted scripts into a raw SSH command. - Do not decide that local or remote is the source of truth globally.
- Do not use
local-main,remote-main, manifests, sparse-cache modes, or automatic code ownership rules. - The host coding agent decides the smallest useful action each time: inspect, upload, download, run, or tail logs.
- Reusable project assets must be created or edited locally first, then uploaded with
put,sync-up, orput-runbefore remote execution. This includes source code, notebooks, YAML/JSON/TOML configs, prompts, templates, and files needed to reproduce an experiment. Do not create or modify these durable files directly on the remote machine with heredocs,cat > file, editors, or shell redirection, unless the user explicitly asks for a remote-only edit. - Shell commands and shell launch wrappers are normally runtime control, not durable project assets. They may be generated or executed remotely without local persistence for startup glue, environment checks, quoting-heavy commands, process supervision, and one-off experiment launches. Only save shell scripts locally when the user asks to keep them or they become a named project entrypoint.
- Do not download LLM weights, checkpoints, datasets, or large outputs unless the user explicitly asks.
- Prefer reading remote files/logs in place with
cat,tail,ls, andtree. - Use detached job commands for long training runs instead of manually guessing process state.
- For long-running, interactive, multi-run, or multi-device work, consider using the tmux backend with
autodl-remote exec --tmux --name <run> -- <command>. Use ordinaryexecorexec --detachfor short non-interactive commands. - If tmux is useful but missing on the remote machine, do not bypass the plugin with raw SSH. Run
autodl-remote tmux check, then install it withautodl-remote tmux installunless the user has explicitly forbidden remote package installation. - For tmux-backed jobs, prefer
autodl-remote tmux capture <name>or the dashboard to inspect live pane output. The dashboard may show tmux pane output directly instead of only log files. - Use run metadata (
--model,--tag,--stage,--purpose) when launching experiments sorun listand the dashboard explain what is running. - Use
fleetfor multi-device projects anddashboardfor display-only visibility. The dashboard must not be treated as an operation surface. - Do not start or open the dashboard by default. For single-device work, prefer
run status,run tail,job status, ortailunless the user explicitly asks for a dashboard or live visual monitoring. - For multi-device work, the dashboard is appropriate only when the user asks for a dashboard, overview, or live monitoring; otherwise keep the workflow in CLI commands.
- When the user wants to watch progress visually, run
autodl-remote dashboard --watch <seconds> --lines <n> --openinstead of copying logs into chat. - Use
shutdownwhen the user asks to stop the remote machine; treat SSH disconnect during shutdown as likely success. - Before using AutoDL Remote in a project, read
.autodl-remote/CONVENTIONS.mdif it exists. Treat it as the project-specific source for runtime, paths, sync rules, and notes. - When the user and the host coding agent discuss or decide any project-specific remote configuration, runtime environment, path convention, model/data/output location, sync preference, or safety rule, update
.autodl-remote/CONVENTIONS.mdso future sessions can reuse it. - Keep
.autodl-remote/CONVENTIONS.mdconcise and project-specific; do not turn it into a generic manual. - When writing remote run scripts, emit clear stdout logs because dashboard content comes from the remote log, not from Codex narration. Prefer markers such as
[START],[ENV],[PROGRESS],[METRIC],[OUTPUT],[DONE], and[ERROR]. For Python, preferPYTHONUNBUFFERED=1 python -u ....
Setup
Use an existing account or create one:
Bind the current local directory to the concrete remote directory the user wants:
The project config should only contain ACCOUNT and REMOTE_ROOT.
Core Commands
Behavior Rules
- Before editing remote-existing code, inspect with
tree,ls,cat, orgetonly the needed files. - Before running remote code that depends on local edits, explicitly upload the edited files or directories with
putorsync-up. - Do not use
exec --stdin, heredocs,cat >, remote editors, or remote shell redirection to create reusable project assets on the remote host. Keep durable code and configuration local-first so git and the user's local workspace remain the record. This restriction does not apply to shell commands or shell wrappers used to start, check, or supervise runs. - After remote execution, inspect logs remotely first; pull only small result files when useful.
- If both local and remote have similar files, do not assume one should overwrite the other. Compare or inspect first, then choose
putorget. - Use
exec --detachfor long training jobs and thentailthe log path. - Use
exec --tmux --name <run>when live pane visibility matters, when several experiments run in parallel, or when multiple hosts need clearer terminal-state monitoring. - Prefer
job status <name>,job tail <name>, andjob stop <name>for detached jobs created with--name. Do not reuse an active name unlessexec --replaceexplicitly stops the recorded job first. - Prefer
tmux capture <name>for tmux-backed jobs when the user asks what the remote terminal currently shows. - Prefer
run list,run status,run tail,run stop, andrun notewhen the user is thinking in terms of experiments/models rather than raw jobs. - For multiple machines, use
fleet add/list/statusby default. Usedashboard --fleet <name>only after the user asks for a dashboard, overview, or live monitoring. - When inspecting a non-default fleet device, pass
--accountand--remotetotree,ls,cat,tail,put,get, andexecinstead of rebinding the project. - The dashboard is read-only and can be used for one device or many devices. Do not add operational assumptions just because the dashboard exists.
- Dashboard logs are pulled from remote run log files. Add useful stdout logging to scripts instead of expecting Codex to summarize progress in chat.
- Prefer
exec --scriptorexec --stdinfor complex multi-line commands, Python heredocs, env vars, JSON, awk, or sed. - Use
put-runwhen the workflow is "upload these local paths, then immediately run this remote command". model-dirprints the project model directory convention. The first project command creates.autodl-remote/CONVENTIONS.mdlocally for concise project notes.shutdownfirst syncs the remote filesystem, then tries provider-safe shutdown methods, waits, and verifies that SSH disconnects.- Treat broad destructive commands as dangerous; require explicit user approval before using
--allow-dangerous.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/autodl-remote/skills/autodl-remote/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/haibarazz/awesome-codex-research/autodl-remote)