agentleFS
YulivuYulivu/debuffer-skills/skills/autodl-hpc/SKILL.md

autodl-hpc

Skill9 starsChanged 3 months agoMITView on GitHub

Prepare, validate, and gate AutoDL/HPC research experiments through the direct SSH command shown by AutoDL, with network acceleration, preflight and smoke gates, FileZilla/SFTP result transfer, verified remote shutdown, and formal-run approval boundaries. Defaults to command preparation over autonomous SSH execution. Use when Codex needs AutoDL, direct SSH access, /root/autodl-tmp, remote GPU/HPC smoke tests, preflight_autodl.py, run_autodl_smoke.sh, network_turbo, formal suite gating, or safe download/audit workflows.

  • Commits and pushes

The file

Show its rules and text

We split this skill into the rules it gives an agent

32 rules. About 0 are common, 13 are distinctive, and 19 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 19

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this skill for AutoDL or similar SSH GPU/HPC machines where the exact provider-issued SSH command is used to access a target machine, …

    line 19
  2. Very specific:

    Read references/autodl-hpc.md before issuing commands, writing a runbook, or changing a repo's AutoDL/HPC workflow.

    line 21
  3. Very specific:

    Always start from the exact SSH command shown in the AutoDL console, for example: ssh -p <PORT> root@connect.<REGION>.seetacloud.com.

    line 25
  4. Very specific:

    All connection and repository examples in this skill are templates.

    line 27
  5. Distinctive:

    Never reuse values from an earlier project or infer missing values.

    line 30
  6. Distinctive:

    Treat the host, port, username, and password as session-specific secrets.

    line 31
  7. Very specific:

    Use the same direct endpoint for ssh, scp, sftp, monitoring, and shutdown verification.

    line 37
  8. Very specific:

    When private GitHub access is needed, route to the reference's six-step machine-key workflow: generate the key on AutoDL, show only .pub, …

    line 41
  9. Distinctive:

    Prefer command preparation over direct SSH execution.

    line 48
  10. Distinctive:

    Keep local work lightweight: repo edits, tests, lint, config validation, manifest updates, and result audit.

    line 52
  11. Distinctive:

    Do not implement fully autonomous SSH workflows.

    line 54
  12. Very specific:

    Keep runbooks concise. Merge repeated operational notes into docs/runbooks/AUTODL_HPC_RUNBOOK.md instead of generating new long Markdown …

    line 56
  13. Very specific:

    Read ../shared-references/autosci-lite-patterns.md for the pilot gate and negative-memory rules.

    line 59
  14. Distinctive:

    Treat target-machine smoke as engineering validation only.

    line 75
  15. Very specific:

    Keep code sync Git-based when possible: commit and push locally, then use the direct SSH endpoint to run git pull --ff-only on the server.

    line 77
  16. Very specific:

    Always make the remote Python path explicit in prepared AutoDL command blocks: export PATH=/root/miniconda3/bin:...

    line 78
  17. Very specific:

    Treat AutoDL as network-restricted by default.

    line 79
  18. Very specific:

    Run setup, preflight, dry-run, smoke, formal dry-run, and formal manifest generation before any formal execution.

    line 80
  19. Very specific:

    Run or review a bounded pilot gate before formal suites.

    line 81
  20. Distinctive:

    Do not hand-edit server code for formal experiments.

    line 88
  21. Distinctive:

    Do not start a long formal run directly from the SSH foreground shell.

    line 89
  22. Very specific:

    Do not auto-shutdown on failure.

    line 90
  23. Distinctive:

    Do not call shutdown successful because the remote command returned.

    line 91
  24. Very specific:

    Do not automate shutdown verification with a plaintext password or sshpass.

    line 93
  25. Very specific:

    Do not upload the whole local repository with FileZilla/SFTP, and never sync .git/.

    line 95
  26. Very specific:

    Do not rely on runtime downloads from UCI, Kaggle, or other external data sites on AutoDL.

    line 96
  27. Very specific:

    Do not write smoke output into experiments/results/.

    line 99
  28. Distinctive:

    Do not treat pilot output as paper evidence.

    line 100
  29. Distinctive:

    Do not edit a frozen protocol after seeing smoke or formal outputs unless making an explicit protocol revision.

    line 102
  30. Distinctive:

    Stop at a failed gate and report the failed command, artifact path, and required fix.

    line 103
  31. Very specific:

    If pilot or smoke fails, update experiments/NEGATIVE_RESULTS.md with the run id, artifact path, failure reason, and decision.

    line 104
  32. Very specific:

    If the repo needs structural changes before AutoDL work, use the research-repo architecture conventions first: reusable code in src/, thin …

    line 109

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AutoDL HPC

Capability Routing

This is a first-layer entry skill. Keep it loaded as the user-facing route; when a request needs a specialized capability below, resolve the debuffer repo root from .debuffer_skills/installed-skills-codex.txt (repo_root) when available, read the referenced library SKILL.md, then follow that skill. Do not copy the whole library skill into this file.

  • /system-profile: read ../library/experiments/system-profile/SKILL.md.
  • /training-check: read ../library/experiments/training-check/SKILL.md.
  • /run-experiment: read ../library/experiments/run-experiment/SKILL.md.
  • /analyze-results: read ../library/experiments/analyze-results/SKILL.md.
  • /hpc-formal-run-gate: read ../library/experiments/hpc-formal-run-gate/SKILL.md.

Use this skill for AutoDL or similar SSH GPU/HPC machines where the exact provider-issued SSH command is used to access a target machine, the repo is validated with preflight/smoke commands, and only then allowed to run formal experiment suites.

Read references/autodl-hpc.md before issuing commands, writing a runbook, or changing a repo's AutoDL/HPC workflow. For any nontrivial remote environment setup or rebuild, also read ../shared-references/compute-env-contract.md and use an env spec + hash ledger + smoke witness before declaring the machine ready.

Direct SSH Contract

  • Always start from the exact SSH command shown in the AutoDL console, for example: ssh -p <PORT> root@connect.<REGION>.seetacloud.com.
  • All connection and repository examples in this skill are templates. Replace <PORT>, <REGION>, <project_slug>, <owner>, <private_repo>, <repo_name>, and <branch> only with values supplied for the current machine and repository. Never reuse values from an earlier project or infer missing values.
  • Treat the host, port, username, and password as session-specific secrets. Never commit them, place the password in a command block, or put the password in a runbook. The user enters a password interactively, or configures an AutoDL public key through the provider console.
  • Store the connection as placeholders or an SSH config alias only after the user has created it locally. Do not invent a region, port, host, or alias.
  • Use the same direct endpoint for ssh, scp, sftp, monitoring, and shutdown verification. Do not silently fall back to an old server alias.
  • The backslash sometimes shown before @ is escaping from a display layer; the shell command is root@host.
  • When private GitHub access is needed, route to the reference's six-step machine-key workflow: generate the key on AutoDL, show only .pub, wait for the user to add the repository Deploy Key, configure IdentityFile, verify authentication and repository access, then diagnose key selection if needed.

Customized Pack Defaults

  • Prefer command preparation over direct SSH execution. If the user has not explicitly approved remote execution, output the exact AutoDL command block and wait for pasted results. When approved, use the provider-issued direct SSH command rather than a generated connection abstraction.
  • Keep local work lightweight: repo edits, tests, lint, config validation, manifest updates, and result audit. Heavy training belongs on AutoDL/HPC.
  • Do not implement fully autonomous SSH workflows. SSH remains a manual or explicitly approved boundary, including shutdown.
  • Keep runbooks concise. Merge repeated operational notes into docs/runbooks/AUTODL_HPC_RUNBOOK.md instead of generating new long Markdown files for every attempt.
  • Read ../shared-references/autosci-lite-patterns.md for the pilot gate and negative-memory rules. Formal suites require a passed pilot or an explicit waiver recorded in the runbook.

Workflow

  1. Classify the current phase: bootstrap, data staging, setup, preflight, smoke, pilot gate, formal approval, formal execution, result download, or local audit.
  2. Confirm the repo has the expected contracts before remote execution:
    • scripts/autodl_setup.sh
    • scripts/hpc/preflight_autodl.py
    • scripts/hpc/run_autodl_smoke.sh
    • scripts/run_experiment_suite.py
    • scripts/analysis/audit_run_bundles.py
    • experiments/suites/autodl_smoke.yaml
    • data/DATA_MANIFEST.md when large uploaded data exists
    • docs/runbooks/AUTODL_HPC_RUNBOOK.md or equivalent
  3. Treat target-machine smoke as engineering validation only. Do not present smoke metrics as paper evidence or formal results.
  4. Prepare a clean local package before touching AutoDL: syntax checks, suite dry-run, manifest generation, job-count inspection, then git commit and git push. Do not use the server as a development workspace.
  5. Keep code sync Git-based when possible: commit and push locally, then use the direct SSH endpoint to run git pull --ff-only on the server. If GitHub access from the server is unavailable, use narrowly scoped scp/rsync transfers; never copy a local private key to the server.
  6. Always make the remote Python path explicit in prepared AutoDL command blocks: export PATH=/root/miniconda3/bin:... and export PYTHON=/root/miniconda3/bin/python. Use $PYTHON in gate commands when possible.
  7. Treat AutoDL as network-restricted by default. Before a slow GitHub or Hugging Face download, run source /etc/network_turbo in the same shell. If Hugging Face remains slow, use the documented https://hf-mirror.com endpoint as an explicit fallback, then verify revision and hashes.
  8. Run setup, preflight, dry-run, smoke, formal dry-run, and formal manifest generation before any formal execution. If setup changes Python/CUDA/packages/weights, update the compute environment ledger first and rerun the smoke witness.
  9. Run or review a bounded pilot gate before formal suites. Pilot output stays under experiments/runs/pilot/... or another raw run path and is not paper evidence.
  10. Require explicit user approval before enabling or running any formal suite. Dry-run formal suites first.
  11. Launch long formal work only in a detached screen/tmux session with logs. If shutdown is requested, use the shutdown protocol in references/autodl-hpc.md; never shut down before the final success sentinel.
  12. Download raw run folders back under experiments/runs/...; do not copy them into experiments/results/ until local audit and result-to-claim scripts have passed.

Key Rules

  • Do not hand-edit server code for formal experiments. Change locally, commit, push, then pull fast-forward on AutoDL.
  • Do not start a long formal run directly from the SSH foreground shell.
  • Do not auto-shutdown on failure. The shutdown command belongs after FORMAL_SUCCESS or an equivalent all-success sentinel.
  • Do not call shutdown successful because the remote command returned; success requires a subsequent SSH connection attempt to fail.
  • Do not automate shutdown verification with a plaintext password or sshpass. Batch verification requires a preconfigured key or agent.
  • Do not upload the whole local repository with FileZilla/SFTP, and never sync .git/.
  • Do not rely on runtime downloads from UCI, Kaggle, or other external data sites on AutoDL. Prefer network_turbo, then an explicit Hugging Face mirror fallback; use aria2c only for range-capable direct archive URLs.
  • Do not write smoke output into experiments/results/.
  • Do not treat pilot output as paper evidence; use it only to decide whether formal runs are safe to launch.
  • Do not edit a frozen protocol after seeing smoke or formal outputs unless making an explicit protocol revision.
  • Stop at a failed gate and report the failed command, artifact path, and required fix.
  • If pilot or smoke fails, update experiments/NEGATIVE_RESULTS.md with the run id, artifact path, failure reason, and decision.

Coordination

If the repo needs structural changes before AutoDL work, use the research-repo architecture conventions first: reusable code in src/, thin entrypoints in scripts/, suites in experiments/suites/, raw outputs in experiments/runs/, and curated outputs only in experiments/results/.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.