colab-remotelisted
Install: claude install-skill broomva/skills
# Colab Remote — SSH-Operated GPU Training
Operate Google Colab Pro/Pro+ instances as headless GPU backends from the local terminal.
## Architecture
```
Local Mac (Claude Code)
├── agent-browser → Chrome → colab.research.google.com
�� └── Opens notebook, runs colab-ssh setup cell
├── SSH tunnel → Colab runtime (via ngrok or cloudflared)
│ └── Run training, monitor GPU, transfer files
└── /autoany EGRI loop (local)
└── Proposes mutations → SSH executes on Colab → evaluates results
```
## Phase 1: Launch Colab Session (Browser Automation)
Use `/agent-browser` to open Colab and set up SSH access.
### Step 1: Open Colab and create notebook
```bash
agent-browser open "https://colab.research.google.com/#create=true"
agent-browser wait --load networkidle
agent-browser snapshot -i
```
If login is required, prompt the user to authenticate manually, then re-snapshot.
### Step 2: Select GPU runtime
Navigate Runtime > Change runtime type, select GPU (T4/V100/A100 depending on plan), and save.
### Step 3: Install colab-ssh and get connection details
Type the SSH setup code into a cell. Two methods supported:
**Method A: ngrok (recommended)**
```python
!pip install colab-ssh --upgrade
from colab_ssh import launch_ssh
launch_ssh("YOUR_NGROK_TOKEN")
```
User must provide ngrok authtoken from https://ngrok.com.
**Method B: cloudflared (no account needed)**
```python
!pip install colab-ssh --upgrade
from colab_ssh import launch_ssh_cloudflared
launch_ssh_cl