adilmunawar/zd-claude-plugin/colab-ram-safe
Claude Code and agent skill by adilmunawar/zd-claude-plugin
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Patterns for RAM-limited notebooks: windowed reads, patch shards, progress files, Drive checkpoints.
Install
npx vskill@latest install adilmunawar/zd-claude-plugin/colab-ram-safeSKILL.md
The same SKILL.md was published earlier as adilmunawar/zd-claude-plugin/colab-ram-safe.
- Mount Drive once; keep datasets on Drive as COGs/parquet; copy the current tile to
/contentonly. - Never load a full raster:
rasterio.open+read(window=...); for GEE exports useExport.image.toDrivewithfileDimensionsso tiles are ≤ ~2 GB. - Extract patches to
.npy/.zarrshards on disk with an index CSV; the Dataset reads shards lazily. - Checkpoint every N tiles to a JSON progress file; make every loop resumable from it.
- Free memory:
del arr; gc.collect(); torch.cuda.empty_cache()after each tile; watchpsutil.virtual_memory(). - Long jobs: run as a
.pywithnohupinside Colab, log to a file on Drive, poll from a cell. - Session timeout insurance: save
last.ptto Drive every epoch; store the config next to it.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/zd-ml/skills/colab-ram-safe/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adilmunawar/zd-claude-plugin/colab-ram-safe)