ワンクリックで
ssh-remote-dev
Best practices for remote development and server management over SSH using the opencode-ssh-session plugin
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Best practices for remote development and server management over SSH using the opencode-ssh-session plugin
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | ssh-remote-dev |
| description | Best practices for remote development and server management over SSH using the opencode-ssh-session plugin |
| license | MIT |
| metadata | {"audience":"developers","workflow":"remote-development"} |
Provide guidance on effective remote development patterns using the SSH session plugin tools. I help you work efficiently with remote servers while avoiding common pitfalls.
ssh_connect — Open a persistent connection to a remote hostssh — Run commands on the active session (shell state persists between calls)ssh_disconnect — Close the session and free resourcesssh_info — Check connection status, uptime, and queue statessh_upload — Transfer a local file to the remote hostssh_download — Transfer a remote file to the local machineLoad this skill when you need to:
ssh_info before assuming a session existscd, exported variables, and shell statessh_connectvim, nano, top, htop, less, more, man, ssh (nested)cat instead of less, ps aux instead of top, sed/awk instead of vimtimeout parameter or background with nohup cmd &&& or ; in a single ssh call to reduce round tripsSmall files (< 1MB): Use ssh_upload / ssh_download — they use base64 over the existing connection.
Creating files on remote: For small content, pipe through ssh:
echo 'content' > /path/to/file
Reading remote files: Use ssh with cat:
cat /path/to/file
Large files (> 1MB): The base64 encoding adds ~33% overhead. For very large files, suggest the user use scp or rsync directly outside of OpenCode.
ssh_info — verify connection or ssh_connect if neededssh — navigate to project dir and pull latest codessh — install dependencies and buildssh — restart services (systemctl restart, pm2 restart, etc.)ssh — verify service is running (curl localhost:PORT, systemctl status)ssh_disconnect — clean up when donesystemctl status <service>journalctl -u <service> -n 50 --no-pagerss -tlnp or netstat -tlnpdf -h, free -m, ps aux --sort=-%mem | headcurl -v localhost:<port>sudo commands that require a password prompt — they will hangnohup — they die when the session closesuname -a and which apt yum dnf brew first