Agent skill · Audited from source
Google Colab Guide
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Run and manage Google Colab notebooks for Python and ML research
Cite
Cite this page
ModelsAtlas. “Google Colab Guide (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/google-colab-guide
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/code-exec/google-colab-guideThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Run and manage Google Colab notebooks for Python and ML research
---
name: google-colab-guide
description: "Run and manage Google Colab notebooks for Python and ML research"
metadata:
openclaw:
emoji: "🖥️"
category: "tools"
subcategory: "code-exec"
keywords: ["Google Colab", "Jupyter", "GPU", "machine learning", "Python", "cloud computing"]
source: "https://colab.research.google.com"
---
# Google Colab Guide
Run Python code, train machine learning models, and perform data analysis using Google Colab's free cloud-hosted Jupyter notebooks with GPU and TPU access. This skill covers setup, resource management, persistent storage, and best practices for reproducible research computing.
## Overview
Google Colab (Colaboratory) provides free access to GPU-accelerated Jupyter notebooks running on Google's cloud infrastructure. For academic researchers, Colab eliminates the barrier of expensive hardware for machine learning experiments, large-scale data processing, and computationally intensive statistical analyses. The free tier includes NVIDIA T4 GPUs, and paid tiers (Colab Pro, Pro+) offer A100 GPUs and extended runtime.
Colab notebooks run in ephemeral virtual machines that are recycled after inactivity or maximum runtime. This creates unique challenges for research: managing persistent data, saving checkpoints, reproducing results, and working with large datasets. This skill addresses these challenges with proven patterns used by ML researchers worldwide.
Colab integrates natively with Google Drive for storage, GitHub for version control, and supports the full Python scientific computing ecosystem (NumPy, pandas, scikit-learn, PyTorch, TensorFlow, JAX). Each notebook runs in an isolated environment with root access, allowing installation of any Linux package or Python library.
## Getting Started
### Runtime Configuration
```python
# Check current runtime type
import subprocess
result = subprocess.run(['nvidia-smi'], capture_output=True, text=True)
print(result.stdout) # Shows GPU info if GPU runtime is selected
# Check available resources
import psutil
print(f"RAM: {psutil.virtual_memory().total / 1e9:.1f} GB")
print(f"CPU cores: {psutil.cpu_count()}")
print(f"Disk: {psutil.disk_usage('/').total / 1e9:.1f} GB")
```
### Runtime Selection Guide
| Runtime | GPU | RAM | Use Case |
|---------|-----|-----|----------|
| CPU | None | ~12 GB | Data cleaning, text processing, small models |
| T4 GPU (free) | 16 GB VRAM | ~12 GB | Training medium models, inference |
| A100 GPU (Pro) | 40 GB VRAM | ~50 GB | Large model training, LLM fine-tuning |
| TPU v2 (free) | 8 cores | ~12 GB | JAX/TensorFlow distributed training |
### Google Drive Mount
```python
from google.colab import drive
drive.mount('/content/drive')
# Access files in Drive
import pandas as pd
df = pd.read_csv('/content/drive/MyDrive/research/dataset.csv')
```
## Data Management
### Downloading Datasets
```python
# From URL
!wget -q https://example.com/dataset.zip -O /content/dataset.zip
!unzip -q /content/dataset.zip -d /content/data/
# From Kaggle
!pip install -q kaggle
!mkdir -p ~/.kaggle
# Upload kaggle.json API key first
!kaggle datasets download -d user/dataset-name -p /content/data/
# From Hugging Face
!pip install -q datasets
from datasets import load_dataset
dataset = load_dataset("scientific_papers", "arxiv")
```
### Persistent Storage Patterns
Since Colab VMs are ephemeral, always save important outputs to Google Drive:
```python
import shutil
from pathlib import Path
DRIVE_BASE = Path("/content/drive/MyDrive/research/experiment_001")
DRIVE_BASE.mkdir(parents=True, exist_ok=True)
def save_checkpoint(model, optimizer, epoch, loss):
"""Save training checkpoint to Google Drive."""
checkpoint = {
'epoch': epoch,
'model_state_dict': model.state_dict(),
'optimizer_state_dict': optimizer.state_dict(),
'loss': loss
}
path = DRIVE_BASE / f"checkpoint_epoch_{epoch}.pt"
torch.save(checkpoint, path)
print(f"Checkpoint saved to {path}")
def save_results(df, name):
"""Save results DataFrame to Drive."""
path = DRIVE_BASE / f"{name}.csv"
df.to_csv(path, index=False)
print(f"Results saved to {path}")
```
## Machine Learning Workflows
### PyTorch Training Loop
```python
!pip install -q torch torchvision
import torch
import torch.nn as nn
from torch.utils.data import DataLoader
# Automatic device selection
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
print(f"Using device: {device}")
model = MyModel().to(device)
optimizer = torch.optim.AdamW(model.parameters(), lr=1e-4)
criterion = nn.CrossEntropyLoss()
for epoch in range(num_epochs):
model.train()
total_loss = 0
for batch in train_loader:
inputs, labels = batch[0].to(device), batch[1].to(device)
optimizer.zero_grad()
outputs = model(inputs)
loss = criterion(outputs, labels)
loss.backward()
optimizer.step()
total_loss += loss.item()
avg_loss = total_loss / len(train_loader)
print(f"Epoch {epoch+1}/{num_epochs}, Loss: {avg_loss:.4f}")
# Save checkpoint every 5 epochs
if (epoch + 1) % 5 == 0:
save_checkpoint(model, optimizer, epoch + 1, avg_loss)
```
### Hugging Face Transformers
```python
!pip install -q transformers accelerate
from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trainer
model_name = "allenai/scibert_scivocab_uncased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(
model_name, num_labels=5
)
trainer = Trainer(
model=model,
args=training_args,
train_dataset=train_dataset,
eval_dataset=eval_dataset,
tokenizer=tokenizer
)
trainer.train()
# Save to Drive
model.save_pretrained(str(DRIVE_BASE / "fine_tuned_scibert"))
```
## Environment Management
### Installing Packages
```python
# Install specific versions for reproducibility
!pip install -q transformers==4.40.0 datasets==2.18.0 evaluate==0.Excerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/google-colab-guide/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
brycewang-stanford/Auto-Empirical-Research-Skills
Prepare and justify research grant budgets across funding agencies
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/google-colab-guide/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/google-colab-guide/"><img src="https://modelsatlas.com/skills/brycewang-stanford/google-colab-guide/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Google Colab Guide
What does the Google Colab Guide skill do?
Is Google Colab Guide safe to install?
What can Google Colab Guide access on my machine?
Which assistants does Google Colab Guide work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Google Colab Guide skill do?
- Is Google Colab Guide safe to install?
- What can Google Colab Guide access on my machine?