Google Colab Runnerのロゴ

Google Colab Runner

コミュニティ
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.

概要

公開者mojomast
リポジトリopen-higgsfield-skills
スキル名google-colab-runner
スター
97
フォーク
19
同梱ファイル
14
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    mojomastがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Google Colab Runner」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mojomast/open-higgsfield-skills/tree/main/skills/google-colab-runner
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGoogle Colab Runnerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGoogle Colab Runnerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Google Colab Runnerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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...

TypingMindでGoogle Colab Runnerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Google Colab Runnerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGoogle Colab Runnerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mojomast/open-higgsfield-skills/tree/main/skills/google-colab-runnerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Google Colab Runnerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Google Colab Runnerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGoogle Colab Runnerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Google Colab Runner」は無料ですか?

mojomastがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇