kwongfuk/codex-skills/palmetto-conda-scratch-guard
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Enforce Palmetto storage policy: keep /home for code, configs, and standard small experiment results, while placing Conda envs, caches, datasets, models, containers, checkpoints, and other large files under /scratch; run preflight checks for login-vs-compute node, GPU visibility, and CUDA tools/runtime before installs or training. Use when creating/updating envs, pulling HF models/datasets, preparing Apptainer images, debugging missing GPU/CUDA, or validating cluster node context.
Install
npx vskill@latest install kwongfuk/codex-skills/palmetto-conda-scratch-guardSKILL.md
Palmetto Conda Scratch Guard
Rules
- Treat
/home/$USERas the source tree area: code, configs, small manifests, and standard lightweight experiment results may live there. - Treat
/scratch/$USERas the heavy-storage area: envs, caches, datasets, model weights, container images, checkpoints, raw intermediate outputs, and any large file or large directory go there. - Create new environments under
/scratch/$USER/envs/<env_name>. - Store Hugging Face model cache under
/scratch/$USER/.hf_cache. - Store dataset downloads under
/scratch/$USER/data. - Store model weights and large generated artifacts under
/scratch/$USER/modelsor another scratch-backed project path. - Store container images under
/scratch/$USER/containers. - Store pip cache under
/scratch/$USER/.pip_cache. - In Codex/agent-run Slurm jobs, do not assume
$USERmatches the real Palmetto account. If the session user can becoder, use an explicit absolute scratch root such as/scratch/<real_user>or a validatedSCRATCH_ROOTvariable instead of deriving critical paths from$USER. - Do not create heavy Conda environments under
/home/$USERunless the user explicitly requests it. - Do not place large caches, downloaded models, dataset shards, checkpoints, or other large artifacts under
/home/$USER. - If an env path is missing, create
/scratch/$USER/envsfirst. - Keep login node usage light; prefer compute allocation for heavy install/build workloads.
- Set
PYTHONNOUSERSITE=1for env checks to avoid accidental package shadowing from~/.local.
Workflow
- Run preflight checks:
- Create environment in scratch:
- Activate by absolute path:
- Install packages.
- Set cache paths to scratch before model/data/container downloads:
Decision Guide
- If preflight reports
NODE_CLASS=loginand task is heavy (large pip/conda builds, CUDA extensions, model runtime setup), move to an allocated compute node first (sallocorsrun --pty bash). - If task includes pulling large models/datasets/containers, run on compute allocation and keep all targets under
/scratch/$USER. - If an experiment produces only standard summary artifacts such as final tables, plots, or compact metrics, they may stay with the code under
/home/$USER. - If an output is large, resumable, or expensive to regenerate, keep it under
/scratch/$USEReven if the final summarized result is later copied back to the project tree. - If
nvidia-smiis missing or no GPUs are visible, check node class first. Login nodes often have no GPUs. - If
torch.cuda.is_available()is false but GPUs exist, verify CUDA toolkit/driver compatibility and env package build.
References
- See
references/checklist.mdfor a compact troubleshooting checklist.
Security
- Security scanPassed, 95 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 repositoryCheckingglobal/palmetto-conda-scratch-guard/SKILL.md
Popularity
- 7-day trend score
- 0
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/kwongfuk/codex-skills/palmetto-conda-scratch-guard)