palmetto-conda-scratch-guard

Enforce Palmetto storage policy with preflight checks and scratch-based environments.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/KwongFuk/codex-skills --skill palmetto-conda-scratch-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: palmetto-conda-scratch-guard
Source: https://github.com/KwongFuk/codex-skills/tree/main/global/palmetto-conda-scratch-guard
Command: npx skills add https://github.com/KwongFuk/codex-skills --skill palmetto-conda-scratch-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Enforce Palmetto storage policy for code, configs, and large artifacts by guiding users to place heavy data under /scratch while keeping lightweight code and configurations under /home, and by providing a structured preflight workflow before environments are created or experiments run.

Core Features & Use Cases

  • Preflight checks detect login vs compute node, GPU visibility, and CUDA readiness to prevent failed runs.
  • Scratch-based environment management: create and activate environments under /scratch/$USER/envs for heavy workloads.
  • Comprehensive documentation and workflow references to ensure consistent usage across teams and projects.

Quick Start

Run the preflight script to validate your node class and prepare the scratch-based environment setup for your project.

Frequently Asked Questions about palmetto-conda-scratch-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage conda environments on Palmetto HPC without violating storage quotas?

To manage conda environments on Palmetto HPC without violating storage quotas, create and activate heavy environments under /scratch/$USER/envs. This keeps large datasets and artifacts out of your /home directory while maintaining lightweight code and configurations locally.

How do I check GPU visibility and CUDA readiness before running a job on Palmetto?

To check GPU visibility and CUDA readiness before running a job on Palmetto, execute a preflight script. This script detects whether you are on a login or compute node and validates your hardware environment to prevent failed runs.

What is the best way to structure HPC workflows for large datasets and models on Palmetto?

The best way to structure HPC workflows for large datasets and models on Palmetto is to enforce a storage policy. Keep lightweight code under /home and move heavy data to /scratch, using documented workflows to govern node access and environment creation.

Does the Palmetto scratch storage policy apply to environment caches and model artifacts?

Yes, the Palmetto scratch storage policy applies to environment caches and model artifacts. It enforces placing large artifacts, datasets, and scratch-based environments under /scratch while retaining only lightweight code and configs under /home.

Why do my CUDA experiments fail on Palmetto login nodes?

Your CUDA experiments fail on Palmetto login nodes because GPUs are typically unavailable for compute tasks there. A preflight check detects login vs compute nodes and validates GPU visibility to ensure you run experiments only on appropriate hardware.