What problem does it solve? Inline ssh commands with nested quotes, heredocs, or variable substitution fail unpredictably due to multi-layer quoting, and long remote waits get killed by local tool timeouts. This Skill replaces fragile inline ssh strings with a scp-first pattern: write the script locally, upload it, execute it remotely, and iterate by re-uploading. ## Core Features & Use Cases - Scp-first execution pattern: Write scripts locally with node-prefixed names (~/tmp/<node>_<task>.py), scp them to the remote node, and run them there, keeping the local file as the source of truth. - First-contact probing: Run one cheap BatchMode ssh probe to determine reachability and auth mode before sending real work to an unfamiliar node. - Timeout and background-job discipline: Wrap remote waits in a remote timeout, and separate nohup background launches from later verification steps so local tool timeouts never kill a session mid-wait. - Credential hygiene: Never inline passwords in commands; prefer ~/.ssh/config Host aliases with key auth, or sshpass -e with an environment variable. - Use Case: Deploying a long-running data collector to an unfamiliar node — package the source and a deploy script locally, scp the tarball over, create a venv remotely, launch with nohup, verify output grows, then scp results back for local analysis. ## Quick Start Use the remote-script-exec skill to run this multi-line diagnostic script on node gpu-03 instead of inlining it through ssh.