Google Colab Runner logo

Google Colab Runner

Community
mojomast
google-colab-runner

Run video-director productions on Google Colab. It packages a manifest into a self-contained Google Colab bundle (a generated .ipynb that installs ComfyUI and custom nodes at pinned commits, downloads the open-weights models with the user's own Hugging Face token from Google Colab secrets, renders every shot, detects the GPU tier and collects outputs to Drive or a zip), or it lets the director drive a running Google Colab ComfyUI through a tunnel URL with a compute-unit estimate, the spend gate, a hard cap, drop-and-resume and teardown. Use it when the user has no local GPU, or asks to run on Google Colab.

Overview

Publishermojomast
Repositoryopen-higgsfield-skills
Skill namegoogle-colab-runner
Stars
97
Forks
19
Bundled files
14
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 14 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mojomast on GitHub. Read the source before you install it.

Installation

Install the Google Colab Runner AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mojomast/open-higgsfield-skills/tree/main/skills/google-colab-runner
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mojomast/open-higgsfield-skills.git /tmp/open-higgsfield-skills
mkdir -p .claude/skills
cp -r /tmp/open-higgsfield-skills/skills/google-colab-runner .claude/skills/google-colab-runner
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Google Colab Runner in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Google Colab Runner on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Google Colab Runner is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

google-colab-runner

Two modes, both from video-director:

modecommandwho presses RunQA loop
packagedirect.py package --target google-colab <manifest>the user, in Google Colabafter the run: colab.py ingest, then still-qa / shot-qc locally
orchestratedirect.py run <manifest> --target google-colab --url <tunnel>the user starts the notebook in orchestrate mode; the director submits every joblive: the director's normal judge, retry and continuity loop

Nothing here starts a Google Colab session or spends compute units by itself, and no credential is read or stored. The Hugging Face token is the user's own, read at run time inside Google Colab from the secret HF_TOKEN.

Files

pathwhat
scripts/colab.pyestimate, package, orchestrate, teardown, ingest (stdlib only)
scripts/notebook.pybuilds the nbformat-4 notebook and the bundle README
templates/runner.pythe bundle runner: GPU detection, tier pick, upload, submit, poll, download, resumable state.json
scripts/comfy_client.pycopy of comfyui-connect's client, shipped inside every bundle
references/models.jsonevery model file the API workflows load: target folder, pinned Hugging Face URL, size, gated flag, licence note
references/custom-nodes.lock.jsonComfyUI and node-pack commits the notebook checks out
references/gpu-tiers.jsonT4 / L4 / A100 / H100 → tier, compute units per hour, speed factor (unverified)
references/google-colab.mdthe runbook: step by step for an agent
references/ui-to-api.md + ui-to-api.report.jsonhow the Comfy-Org UI templates were converted to API format, and the result per template
scripts/ui_to_api/the converter (headless ComfyUI frontend graphToPrompt) and the /object_info validator
tests/mock_comfy.py, tests/test_static.pystdlib mock ComfyUI + VLM and the static end-to-end tests

Rules

  1. Ask before any start. Show colab.py estimate (session minutes and compute units, including setup and the collect-and-stop reserve) and wait for a yes. orchestrate stops at the spend gate unless it is approved, even when the manifest says auto.
  2. Hard cap. orchestrate refuses to start without a compute-unit cap (target.budget.max_credits or --max-cu) and refuses an estimate over it. During the run, the wall-clock meter plus the reserve is checked before every render; at the cap it logs cap_hit and stops. The notebook watchdog enforces MAX_SESSION_MINUTES on the runtime side.
  3. Tear down. Always end by offering colab.py teardown --url <tunnel> (the watchdog releases the runtime), or use --teardown auto|on-cap. Tell the user that Google Colab bills while the runtime is connected.
  4. Drops resume. A dropped session exits with code 5 and the manifest saved. The user restarts the notebook and gives the new URL; re-running the same command resumes. Finished outputs stay on the user's machine and are re-uploaded to the new session.
  5. Open weights and licences. models.json carries each file's licence note. LTX-2 family weights are under the Lightricks LTX-2 Community License (not OSI). The one UI template that needs a closed hosted API node (GeminiImage2Node) is excluded.

Exit codes: 0 done, 3 waiting at a gate, 4 stopped at a stage (awaiting approval or blocked), 5 Google Colab ComfyUI unreachable or dropped, 6 refused by the spend cap.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Google Colab Runner AI skill do?

Run video-director productions on Google Colab. It packages a manifest into a self-contained Google Colab bundle (a generated .ipynb that installs ComfyUI and custom nodes at pinned commits, downloads the open-weights models with the user's own Hugging Face token from Google Colab secrets, renders every shot, detects the GPU tier and collects outputs to Drive or a zip), or it lets the director drive a running Google Colab ComfyUI through a tunnel URL with a compute-unit estimate, the spend gate, a hard cap, drop-and-resume and teardown. Use it when the user has no local GPU, or asks to run...

Why use Google Colab Runner on TypingMind?

Because you install it once and use it with any model. Google Colab Runner is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Google Colab Runner in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mojomast/open-higgsfield-skills/tree/main/skills/google-colab-runner. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Google Colab Runner?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Google Colab Runner?

As many as you like. As long as a model supports skills, you can use Google Colab Runner with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Google Colab Runner AI skill free?

It is published on GitHub by mojomast. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇