Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

google-colab-guide

Skill by brycewang-stanford

Guides an assistant through running and managing Google Colab notebooks for Python and machine learning work. It is aimed at ML and academic researchers who need GPU access and reproducible experiments.

  • Score 76
  • 5.1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install google-colab-guide

Built from the published package, never by AI.

git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/code-exec/google-colab-guide ~/.claude/skills/google-colab-guide

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install google-colab-guide in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a practical guide to Google Colab, the cloud-hosted Jupyter notebook service with GPU and TPU access. It covers checking the runtime and resources, selecting a runtime type, mounting Google Drive, and downloading datasets from URLs, Kaggle, or Hugging Face. It also covers saving checkpoints and results to Drive, since Colab virtual machines are ephemeral.

The guide includes code patterns for PyTorch training loops, Hugging Face Transformers fine-tuning, package installation, seed setting for reproducibility, and mixed precision training. It also shows how to clone and push to GitHub from a notebook. The source is written for machine learning researchers and other academics doing Python data analysis.

Written from the project's SKILL.md and checked against it.

What it can do

  • Runtime configurationChecks the GPU, RAM, CPU cores, and disk available in the current Colab runtime.
  • Runtime selectionCompares CPU, T4, A100, and TPU runtimes by use case, RAM, and GPU memory.
  • Google Drive mountMounts Google Drive in a notebook and reads research files from it.
  • Dataset downloadsDownloads datasets from URLs, Kaggle, and Hugging Face into the Colab environment.
  • Persistent storageSaves model checkpoints and results to Google Drive so they survive VM recycling.
  • PyTorch training loopProvides a training loop with automatic device selection and periodic checkpoint saving.
  • Hugging Face fine-tuningShows loading a SciBERT model and fine-tuning it with the Transformers Trainer.
  • Reproducibility setupSets random seeds and exports and restores pip requirements files.
  • Mixed precision and memoryCovers monitoring GPU memory, clearing the cache, and using autocast with GradScaler.
  • GitHub integrationClones a repository into Colab and commits and pushes results back to GitHub.

What you need

  • Access to Google Colab
  • Google Drive for saving outputs
  • Kaggle API key for Kaggle datasets
  • Colab Pro or Pro+ for A100 GPUs and longer runtimes

Try asking

  • Check which GPU and RAM my Colab runtime has right now
  • Mount my Google Drive and load research/dataset.csv into pandas
  • Set up a PyTorch training loop that saves a checkpoint every 5 epochs to Drive

Good to know

  • Colab virtual machines are ephemeral and recycled after inactivity or maximum runtime
  • Free tier disconnects after 90 minutes of inactivity
  • A100 GPUs and 24-hour runtimes require Colab Pro

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/43-wentorai-research-plugins/skills/tools/code-exec/google-colab-guide/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to google-colab-guide

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

google-colab-guide: common questions

Does Colab keep my files between sessions?

The source says Colab VMs are ephemeral, so it recommends saving important outputs to Google Drive.

Which GPUs does Colab offer according to this guide?

The free tier includes NVIDIA T4 GPUs, and Colab Pro and Pro+ offer A100 GPUs.

How do I avoid Colab disconnecting during long experiments?

The guide suggests tqdm progress bars, frequent checkpoints to Google Drive, sessions that finish in one run, and Colab Pro for longer runtimes.

How do I install google-colab-guide?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is google-colab-guide free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is google-colab-guide safe to use?

It scores 76 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to google-colab-guide?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

google-colab-guide Install

Add to stack

Loading.