Rechercher

PythonReactSEOPDF
OpenClaw

Ssh Lab

ssh lab — Remote Server SSH Workbench

enderfga0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install enderfga/ssh-lab

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

ssh-lab — Remote Server SSH Workbench

Structured SSH operations for managing remote GPU servers. Standardizes what's universal (GPU/disk/process), delegates interpretation to the LLM.

When to Use

  • User asks about GPU status, server health, remote processes
  • Need to check if training is running, disk is full, GPU is idle
  • Running commands on remote servers
  • Tailing remote log files, listing checkpoints
  • File transfer between local and remote (rsync)
  • Comparing hosts side-by-side (GPU, disk, processes)
  • Setting up alerts for GPU idle, disk full, process died
  • Any mention of: ssh-lab, gpu status, server status, nvidia-smi, remote server

Setup

cd /path/to/ssh-lab && npm run build

After building, use the CLI via any of:

ssh-lab status all          # if npm link'd or installed globally
npx ssh-lab status all      # via npx
node dist/cli.js status all # direct invocation

The CLI reads ~/.ssh/config automatically — zero configuration needed for existing SSH hosts.

Commands

List hosts
ssh-lab hosts [--json]
Server status (GPU + disk + process)
ssh-lab status [host|all] [--json] [--timeout ms] [--heartbeat] [--quiet]

Returns structured probe data: GPU utilization/VRAM/temp, disk usage, active processes. Includes automatic alerts: GPU idle, disk full (>90%), high temp (>85°C). --heartbeat gives compact one-liner output for agent integration. --quiet suppresses all-clear output (for cron).

Run remote command
ssh-lab run <host|all> <command...> [--json] [--timeout ms]

Supports all for parallel execution across all hosts.

Tail remote log
ssh-lab tail <host> <path> [-n lines] [--json]

Default: last 50 lines. Smart truncation at 50KB.

List remote directory
ssh-lab ls <host> <path> [--sort time|size|name] [--json]

Lists files with size, date, permissions. Great for checkpoint directories.

Disk usage
ssh-lab df <host|...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/enderfga/ssh-lab
Version
—
Commit
4c6de55ea2f9f8b08caa1c7ca52f803ca4e77a6c
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

ssh-lab

Remote server SSH workbench for managing GPU training servers. Provides structured data collection (GPU/disk/process probes), declarative alerting, and side-by-side comparison — all through a zero-dependency CLI.

Built for AI agents: structured JSON output, semantic exit codes, heartbeat mode for cron/polling.

Install

git clone <repo-url> && cd ssh-lab
npm install && npm run build

Requires: Node.js 18+, native ssh client.

Quick Start

# List all SSH hosts (reads ~/.ssh/config automatically)
ssh-lab hosts

# GPU/disk/process status for all servers
ssh-lab status all

# Run a command on a specific server
ssh-lab run GMI4 "nvidia-smi"

# Compare two servers side-by-side
ssh-lab compare GMI4 GMI5

# Check if a server is healthy
ssh-lab doctor GMI4

# Set up alerts
ssh-lab alert add gpu_idle all
ssh-lab alert add process_died GMI4 --process-pattern "train.py"
ssh-lab alert add disk_full all --threshold 85

# Check alerts (exit code: 0=ok, 1=warn, 2=critical)
ssh-lab alert check all --quiet

Commands

Command Description
hosts List all configured servers
status [host|all] GPU + disk + process overview
run <host|all> <cmd> Execute command on remote host(s)
tail <host> <path> Tail a remote log file
ls <host> <path> List remote directory
df <host|all> [path] Disk usage details
sync <host> <src> <dst> rsync file transfer
watch <host> <path> Snapshot file state for polling
compare <hosts|all> Side-by-side host comparison
doctor <host> Connectivity & health diagnostics
alert add|list|check|remove Declarative alert rules
add <name> <user@host> Add a custom host

Output Modes

All commands support --json, --raw, or default summary output.

ssh-lab status GMI4 --json    # Structured JSON
ssh-lab status all --raw      # Raw probe output
ssh-lab status all             # Human-readable...

Contenu extrait

SKILL.md
# ssh-lab — Remote Server SSH Workbench

> Structured SSH operations for managing remote GPU servers.
> Standardizes what's universal (GPU/disk/process), delegates interpretation to the LLM.

## When to Use

- User asks about GPU status, server health, remote processes
- Need to check if training is running, disk is full, GPU is idle
- Running commands on remote servers
- Tailing remote log files, listing checkpoints
- File transfer between local and remote (rsync)
- Comparing hosts side-by-side (GPU, disk, processes)
- Setting up alerts for GPU idle, disk full, process died
- Any mention of: `ssh-lab`, `gpu status`, `server status`, `nvidia-smi`, remote server

## Setup

```bash
cd /path/to/ssh-lab && npm run build
```

After building, use the CLI via any of:
```bash
ssh-lab status all          # if npm link'd or installed globally
npx ssh-lab status all      # via npx
node dist/cli.js status all # direct invocation
```

The CLI reads `~/.ssh/config` automatically — zero configuration needed for existing SSH hosts.

## Commands

### List hosts
```bash
ssh-lab hosts [--json]
```

### Server status (GPU + disk + process)
```bash
ssh-lab status [host|all] [--json] [--timeout ms] [--heartbeat] [--quiet]
```
Returns structured probe data: GPU utilization/VRAM/temp, disk usage, active processes.
Includes automatic alerts: GPU idle, disk full (>90%), high temp (>85°C).
`--heartbeat` gives compact one-liner output for agent integration. `--quiet` suppresses all-clear output (for cron).

### Run remote command
```bash
ssh-lab run <host|all> <command...> [--json] [--timeout ms]
```
Supports `all` for parallel execution across all hosts.

### Tail remote log
```bash
ssh-lab tail <host> <path> [-n lines] [--json]
```
Default: last 50 lines. Smart truncation at 50KB.

### List remote directory
```bash
ssh-lab ls <host> <path> [--sort time|size|name] [--json]
```
Lists files with size, date, permissions. Great for checkpoint directories.

### Disk usage
```bash
ssh-lab df <host|...
README
# ssh-lab

Remote server SSH workbench for managing GPU training servers. Provides structured data collection (GPU/disk/process probes), declarative alerting, and side-by-side comparison — all through a zero-dependency CLI.

Built for AI agents: structured JSON output, semantic exit codes, heartbeat mode for cron/polling.

## Install

```bash
git clone <repo-url> && cd ssh-lab
npm install && npm run build
```

Requires: Node.js 18+, native `ssh` client.

## Quick Start

```bash
# List all SSH hosts (reads ~/.ssh/config automatically)
ssh-lab hosts

# GPU/disk/process status for all servers
ssh-lab status all

# Run a command on a specific server
ssh-lab run GMI4 "nvidia-smi"

# Compare two servers side-by-side
ssh-lab compare GMI4 GMI5

# Check if a server is healthy
ssh-lab doctor GMI4

# Set up alerts
ssh-lab alert add gpu_idle all
ssh-lab alert add process_died GMI4 --process-pattern "train.py"
ssh-lab alert add disk_full all --threshold 85

# Check alerts (exit code: 0=ok, 1=warn, 2=critical)
ssh-lab alert check all --quiet
```

## Commands

| Command | Description |
|---------|-------------|
| `hosts` | List all configured servers |
| `status [host\|all]` | GPU + disk + process overview |
| `run <host\|all> <cmd>` | Execute command on remote host(s) |
| `tail <host> <path>` | Tail a remote log file |
| `ls <host> <path>` | List remote directory |
| `df <host\|all> [path]` | Disk usage details |
| `sync <host> <src> <dst>` | rsync file transfer |
| `watch <host> <path>` | Snapshot file state for polling |
| `compare <hosts\|all>` | Side-by-side host comparison |
| `doctor <host>` | Connectivity & health diagnostics |
| `alert add\|list\|check\|remove` | Declarative alert rules |
| `add <name> <user@host>` | Add a custom host |

## Output Modes

All commands support `--json`, `--raw`, or default summary output.

```bash
ssh-lab status GMI4 --json    # Structured JSON
ssh-lab status all --raw      # Raw probe output
ssh-lab status all             # Human-readable...

Skills associés

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...