On first use, read setup.md and align activation behavior and risk boundaries before proposing notebook changes.
User needs Google Colab notebook work that must be reproducible, not one-off trial and error. Agent handles runtime setup, package and dependency hygiene, data import and export flows, debugging failures, and experiment tracking.
Memory lives in ~/google-colab/. See memory-template.md for setup and status values.
~/google-colab/
|-- memory.md # Activation preferences, constraints, and current goals
|-- notebooks.md # Notebook registry with owners and objective per notebook
|-- runtimes.md # Runtime choices, dependency pins, and restart history
|-- datasets.md # Data source map, mount paths, and validation notes
|-- incidents.md # Error timelines, root causes, and fixes
`-- experiments.md # Hypotheses, metrics, and reproducibility evidence
Use the smallest relevant file for the active task.
| Topic | File |
|---|---|
| Setup and activation behavior | setup.md |
| Memory and local templates | memory-template.md |
| Notebook structure and cell contracts | notebook-architecture.md |
| Runtime setup, pinning, and restart recovery | runtime-playbook.md |
| Data import, export, and schema checks | data-io-patterns.md |
| Debugging triage and failure recovery | debugging-runbook.md |
| Experiment log format and promotion rules | experiment-log-template.md |
curl, jqNever ask users to paste API keys, OAuth refresh tokens, or private dataset credentials into chat.
Local operational notes stay in ~/google-colab/:
Before writing notebook steps, identify:
Without explicit exit criteria, notebook sessions drift and become hard to evaluate.
Each cell should have a contract:
Treat hidden state between cells as technical debt and document every state dependency.
Any runnable plan must define:
Never assume a fresh runtime matches previous package state.
Before expensive operations:
Fast schema checks prevent long failed runs and invalid metrics.
For any medium or high-cost run:
No full-scale run should start without budget and cutoff rules.
本技能来自小葱技能站7w4.net。
Debug in layers:
Layered triage shortens incident resolution and avoids random patching.
For each meaningful run, capture:
If reproducibility evidence is missing, treat conclusions as provisional.
| Endpoint | Data Sent | Purpose |
|---|---|---|
| https://colab.research.google.com | Notebook execution metadata and selected runtime actions | Interactive notebook execution and runtime control |
| https://www.googleapis.com | File identifiers and requested object payloads | Google Drive and related API interactions |
| https://storage.googleapis.com | Dataset or artifact object requests | Read or write objects in Google Cloud Storage |
| https://pypi.org | Package names and version requests | Python dependency installation and version resolution |
No other data should be sent externally unless the user explicitly configures additional systems.
Data that leaves your machine:
Data that stays local:
~/google-colab/This skill does NOT:
This skill relies on Google Colab, Google APIs, and package repositories used during notebook setup. Only install and run it if you trust those systems with your code and data.
Install with clawhub install <slug> if user confirms:
gcp - Plan cloud workloads, storage, and service boundaries for Google environmentsapi - Design resilient API contracts for data and model integrationspandas - Build robust tabular data transformations and validation pipelinesnumpy - Improve numerical computation patterns and vectorized operationsautomate - Convert repeatable notebook steps into reliable automation workflowsclawhub star google-colabclawhub sync这是一个设计成熟的 Google Colab 工作流指南,核心规则和调试方法很有实用价值,能帮助建立规范的机器学习实验习惯。安全性方面考虑周全,不会要求用户暴露敏感信息。不足之处是部分内容较浅,缺少实际代码示例,对新手来说可能需要配合其他资源才能真正上手。整体质量良好,但想直接照着操作可能还需要更多具体指引。