colab-cli

Automate Colab runtime control and Jupyter integration from the command line.

Updated Aug 7, 2026
One-click install
npx skills add https://github.com/everCoke/colab-cli --skill colab-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: colab-cli
Source: https://github.com/everCoke/colab-cli/tree/main
Command: npx skills add https://github.com/everCoke/colab-cli --skill colab-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires websocket-client, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates Colab runtime control and Jupyter integration from the command line, replacing repetitive UI steps with a programmable CLI workflow.

Core Features & Use Cases

  • Assign or reuse Colab CPU/GPU/TPU runtimes and start or reuse Jupyter kernels.
  • Execute Python code or notebooks remotely and inspect remote files.
  • Sync artifacts and data via Google Drive and keep credentials under programmatic control.

Quick Start

Install and bootstrap the skill, then run the CLI to connect to a Colab runtime.

Frequently Asked Questions about colab-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Colab runtimes from the command line?

You can control Colab runtimes from the command line by using a CLI to automate runtime assignments, start Jupyter kernels, and execute code without relying on the Colab web UI.

Can I execute Python notebooks remotely and manage Colab assets without the web UI?

Yes, you can execute Python notebooks remotely and manage Colab assets by using CLI subcommands to start kernels, run code, and inspect remote files programmatically.

What do I need to manage Google OAuth credentials for Colab CLI automation?

To manage Google OAuth credentials for Colab CLI automation, you need to handle token refreshes and local state persistence to maintain programmatic access to your runtimes and Drive.

How do I sync artifacts and data via Google Drive when automating Jupyter integration?

You sync artifacts and data via Google Drive by using the CLI to manage Drive-backed artifacts programmatically, ensuring your remote execution outputs are persisted locally.

Does websocket-client support remote Colab runtime connections?

Yes, the websocket-client dependency supports remote Colab runtime connections by enabling the CLI to communicate with Jupyter kernels and execute code remotely over websockets.

What are the limitations of assigning CPU, GPU, or TPU runtimes through a CLI?

Assigning CPU, GPU, or TPU runtimes through a CLI requires stable Google OAuth token management and local state persistence, meaning you must handle credential refreshes to avoid session interruptions.