colab
Run code on Colab GPUs or TPUs and track compute units.
Skill by Médéric HURIER (Fmind)
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fmind-colab
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/colab
What's inside
- Skill name
colab- Description
- Run code on Colab GPUs or TPUs and track compute units.
- License
- MIT
- Metadata
- kind: connector · author: Médéric HURIER (Fmind) · source: github.com/fmind/dot/tree/main/skills/colab · created: 2026-09-16 · updated: 2026-10-23
- Instructions
- 46 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Google Colab CLI Use `colab` to inspect existing sessions or run work on an accelerator the workstation lacks. The official Colab skill documents every command; this skill owns provider selection, session hygiene, and the spend boundary. ## Authentication Pass the global `--auth adc` or `--auth oauth2` before every subcommand: CLI 0.7.5 defaults to OAuth, so do not rely on implicit defaults or upstream main. ADC reuses credentials from [gcloud](../gcloud/SKILL.md); for user ADC, run `dot login colab`, which requests the configured ADC grant only when it lacks the Colab scopes and verifies session access (`--dry-run` previews the native commands; the [authentication guide](../dot-cli/references/authentication.md#colab-adc) owns its scopes and semantics). Session state lives under `~/.config/colab-cli/`. Examples assume ADC; substitute `oauth2` for an existing OAuth profile. ## Inspect without allocating Check `colab version` and installed help, then use `colab --auth adc sessions` and `colab --auth adc status`; they synchronize session metadata without allocating or stopping a VM. Check authentication diagnostics before interpreting an empty listing as success. Use `colab --auth adc usage` for compute-unit rate and balance; if it is unavailable, report a missing capability instead of allocating a VM. `colab pay` opens a purchase page and is not a balance query. Session inspection does not require `new`, `run`, `exec`, or `stop`. ## Run accelerator work Follow this workflow only when remote execution is in scope; establish the authorized accelerator, duration, and budget before allocation. 1. **Prefer ephemeral runs for self-persisting scripts**: `colab run` rents a VM, runs the script, and attempts to release it. Save needed artifacts to an authorized durable destination before the script exits; local VM files disappear on release. Use an explicitly managed session when artifacts must be downloaded afterwards. A shebang `#!/usr/bin/env -S colab --auth adc run --gpu T4` supports single-file execution per [python-script](../python-stack/references/python-script/GUIDE.md). ```bash colab --auth adc run --gpu T4 --timeout 3600 train.py ``` 1. **Keep a session only while iterating**: `colab --auth adc new -s <name> --gpu L4` (or `--tpu v6e1`), then `colab --auth adc exec -s <name> -f snippet.py --timeout 600`. Use `upload`, `download`, `ls`, `status`, and `log` with the same provider; verify and retrieve needed artifacts before stopping. 1. **Stop what you started and verify release**: `colab --auth adc stop -s <name>`, then refresh `colab --auth adc sessions`; an idle session keeps consuming compute units. CLI 0.7.5's ephemeral cleanup suppresses release errors, so a successful `run` exit or “Session terminated” message is not release proof. Check authentication diagnostics and the backend listing before reporting cleanup complete. ## Gotchas - **Override the 30-second default**: `colab run` and `colab exec` abort code execution after 30 seconds unless `--timeout <seconds>` covers the whole job. - **Let Colab pick the kernel client**: google-colab-cli 0.7.5 pins `jupyter-kernel-client==0.9.0`; let Colab select its compatible client instead of adding a conflicting mise `with` override. - **Treat `colab pay` as spend**: accelerator availability depends on the subscription; `colab pay` opens the compute-units page, so treat it as spend. - **Treat the VM as disposable**: keep secrets off the session beyond what the task needs; use `colab drivemount` only when Drive data is required. ## Official Skills Upstream: `googlecolab/google-colab-cli`, the same source `colab skill` prints. Follow the shared [vendor-skill policy](../agent-project/references/vendor-skills.md) and select only the Colab workflow needed by the project. ## Documentation - [Colab CLI](https://github.com/googlecolab/google-colab-cli) - Releases: [google-colab-cli tags](https://github.com/googlecolab/google-colab-cli/tags) - ML workflows: [python-mlops](../python-mlops/SKILL.md) owns data validation, training, experiments, and model delivery. - Companion skills: [kaggle](../kaggle/SKILL.md), [hf](../hf/SKILL.md), [python-script](../python-stack/references/python-script/GUIDE.md), [gcloud](../gcloud/SKILL.md).
From fmind/dot, MIT.
More from fmind/dot
- 0.636score
code-security
Médéric HURIER (Fmind)
Review code security, threat-model designs, and vet third-party skills; scan secrets and vulnerabilities with Gitleaks and Trivy.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
dot-cli
Médéric HURIER (Fmind)
Run dot: doctor, login/setup, repo status/pull, trust, secret run, cache/prune, disk space, orphans, context budgets, archives.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
full-review
Médéric HURIER (Fmind)
Full review or routine upkeep: read every repo area, fix tools, dead code, stale config, and ignore files, and prove all checks pass.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
course-development
Médéric HURIER (Fmind)
Design technical courses, lessons, exercises, and executable labs.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
chezmoi
Médéric HURIER (Fmind)
Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-skills
Médéric HURIER (Fmind)
Maintain fmind/dot skill packages, catalog budgets, package contracts, and installed links.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-frameworks
Médéric HURIER (Fmind)
Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-evaluation
Médéric HURIER (Fmind)
Evaluate prompt, model, retrieval, and agent changes with repeated graded trials.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-harnesses
Médéric HURIER (Fmind)
Operate and configure Claude Code, Codex, Copilot, Grok, and OpenCode.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-protocols
Médéric HURIER (Fmind)
Implement A2A agents, MCP servers, and ACP editor integrations in Python.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-usage
Médéric HURIER (Fmind)
Analyze agent token usage and costs with dot and DuckDB queries.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-development
Médéric HURIER (Fmind)
Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.
SkillAFreshness: A★ 12Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 12
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (3 days ago)
- Last release
- Oct 24, 2026 (3 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fmind/dot
- Website
- fmind.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Médéric HURIER (Fmind)
- 0.636score
full-review
Médéric HURIER (Fmind)
Full review or routine upkeep: read every repo area, fix tools, dead code, stale config, and ignore files, and prove all checks pass.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
dot-cli
Médéric HURIER (Fmind)
Run dot: doctor, login/setup, repo status/pull, trust, secret run, cache/prune, disk space, orphans, context budgets, archives.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
code-security
Médéric HURIER (Fmind)
Review code security, threat-model designs, and vet third-party skills; scan secrets and vulnerabilities with Gitleaks and Trivy.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-frameworks
Médéric HURIER (Fmind)
Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
chezmoi
Médéric HURIER (Fmind)
Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-skills
Médéric HURIER (Fmind)
Maintain fmind/dot skill packages, catalog budgets, package contracts, and installed links.
SkillAFreshness: A★ 12Claude Code +9
Cite this page
colab skill. Agent Mart. https://agentmart.dev/skills/fmind-colab (last updated 2026-10-24)