agentleFS
NVIDIAKnown publisherNVIDIA/cloudai/.agents/skills/cloudai-remote-experiment/SKILL.md

cloudai-remote-experiment

Skill103 starsChanged 58 days agoApache-2.0View on GitHub

Run, monitor, stop, and retrieve a CloudAI experiment (test scenario) on a remote Slurm or standalone cluster.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use cloudai-remote-install first.

    line 8
  2. Distinctive:

    Use its wrapper for all remote commands and transfers, not direct SSH.

    line 10
  3. Very specific:

    Run the CloudAI controller as a detached daemon that survives disconnects, with stdin closed and output redirected.

    line 11
  4. Distinctive:

    Do not run compute-heavy standalone workloads on login nodes without explicit user approval.

    line 17
  5. Distinctive:

    Do not change partition, resources or workload to bypass queue waits without user approval.

    line 18
  6. Very specific:

    Use background monitoring when available.

    line 23
  7. Very specific:

    Check the recorded process with ps and read bounded log increments no more than once per minute.

    line 24
  8. Distinctive:

    No recursive scans, whole-log rereads or continuous result syncing on shared storage.

    line 26
  9. Very specific:

    Never use squeue --me or equivalent user-wide queue queries.

    line 27
  10. Distinctive:

    Stop confirmed stuck work after its stall timeout, using repeated evidence of missing expected progress in an active allocation.

    line 34
  11. Distinctive:

    Before stopping, recheck process identity and job ownership.

    line 36
  12. Distinctive:

    Verify termination and allocation release.

    line 42
  13. Very specific:

    After success, failure or cancellation, copy the exact run directory into results/<cluster-nickname>/<run-directory>/ locally, without …

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Run

  • Use cloudai-remote-install first. Identify this checkout's remote installation and system config; do not use another checkout's deployment. Use its wrapper for all remote commands and transfers, not direct SSH.
  • Run the CloudAI controller as a detached daemon that survives disconnects, with stdin closed and output redirected. Keep separate per-run controller/debug logs in remote home, not Lustre. Record the actual controller PID, start time, deployment, selected configs, exact results directory and eventual exit status.
  • Establish expected progress and a workload-specific stall timeout before launching. Include legitimate silent phases such as initialization; ask if expectations are unclear.
  • Do not run compute-heavy standalone workloads on login nodes without explicit user approval.
  • Do not change partition, resources or workload to bypass queue waits without user approval.

Monitor and stop

  • Stay responsible for monitoring until the run finishes or is explicitly handed back. Use background monitoring when available; stay quiet when unchanged and stop monitoring when done. Check the recorded process with ps and read bounded log increments no more than once per minute; back off when unchanged. Sample only a few known artifacts for progress. No recursive scans, whole-log rereads or continuous result syncing on shared storage.
  • Never use squeue --me or equivalent user-wide queue queries. Let CloudAI poll Slurm; do not add scheduler polling loops. If diagnosis requires scheduler state, make a targeted query for this run's recorded job IDs only.
  • Track submitted job IDs from this run's own log. Completion metadata can corroborate ownership but may not exist while jobs are running. Never infer ownership from username, job name or checkout alone: a checkout may have several runs.
  • Silence alone is not a stall, and queued jobs are not wasting an allocation. Stop confirmed stuck work after its stall timeout, using repeated evidence of missing expected progress in an active allocation. Ask if the evidence is ambiguous.
  • Before stopping, recheck process identity and job ownership. Send SIGTERM to this run's controller and allow a bounded grace period for finalization. If it does not exit, keeps submitting jobs, or leaves DSE workers running, recheck ownership and send SIGKILL to the surviving controller/workers belonging to this run. Once submissions have stopped, refresh this run's job IDs and scancel its remaining exact allocation IDs, including queued jobs. Killing local processes does not release Slurm allocations. Verify termination and allocation release. For standalone runs, stop only this run's process tree. Never use user-wide cancellation or broad process-name matching. Preserve logs explaining why the run was stopped.

Results

  • Confirm completion from logs, job outcomes and expected artifacts, not just a vanished PID or zero exit code. After success, failure or cancellation, copy the exact run directory into results/<cluster-nickname>/<run-directory>/ locally, without overwriting another run.
  • Derive the cluster nickname from the selected config and SSH target, not blindly from the config name: <cluster>-for-testing still belongs under <cluster>. Ask if ambiguous.
  • Retrieve with deploy.py HOST fetch 'REMOTE_RUN_DIR' 'results/<cluster-nickname>/'. Copy this run's output, not the shared results tree; preserve remote files. Report the outcome and local results path, including any incomplete retrieval.

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.