cmjang/ssh-skill/ssh-skill
Claude Code and agent skill by cmjang/ssh-skill
- community
Checking that the SKILL.md file is still in the repository.
Execute commands on remote hosts, sync code, and submit Slurm jobs over SSH.
Install
npx vskill@latest install cmjang/ssh-skill/ssh-skillSKILL.md
SSH Skill
Three tools. host auto-detected. Shared config across Claude Code and Codex.
Tools
| Tool | Purpose | |
|---|---|---|
ssh_exec | Run any command: squeue, sinfo, tail, grep, cat, scancel, nvidia-smi, conda, pip, git... | |
ssh_sync_dir | Rsync local → remote (auto-excludes .git, .venv, __pycache__) | |
ssh_sbatch_submit | Submit Slurm job, returns job_id + log_path_hint |
`host` is optional — defaults come from ~/.ssh-skill/config.json → ~/.ssh/config → --default-host flag. Pass host= explicitly to target a different machine.
Setup (one-time)
1. Add cluster hosts to ~/.ssh/config
The SIST AI Cluster (上科大) login nodes are reachable at 10.15.89.x:22112:
2. Register the MCP (Claude Code)
3. Register the MCP (Codex — already done if using the same machine)
The server reads ~/.ssh-skill/config.json for the default host, shared across all tools.
To change the default, edit ~/.ssh-skill/config.json:
Or just write it with the Bash tool — no MCP needed.
Workflow
Batch commands: ssh_exec(command="cmd1 && cmd2 && cmd3").
Cluster rules
- Never run heavy workloads on login nodes. Submit from login, edit on debug.
- No sudo, no apt, no Docker. Use conda/pip or Singularity.
- Declare GPUs:
#SBATCH --gres=gpu:1. - `rm` blocked in
ssh_execunlessallow_destructive=true.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.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/cmjang/ssh-skill/ssh-skill)