kwongfuk/codex-skills/path-storage-policy
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Enforce a general path planning and storage policy: keep /home for code, configs, manifests, and standard lightweight experiment results, while placing caches, environments, datasets, model weights, checkpoints, intermediate artifacts, and any large files under /scratch. Use when deciding where to create files, store outputs, download assets, configure caches, or lay out experiment directories.
Install
npx vskill@latest install kwongfuk/codex-skills/path-storage-policySKILL.md
Path Storage Policy
Apply this skill whenever a task creates, downloads, writes, moves, or plans files and directories.
Core Policy
- Treat
/home/$USERas the durable source tree area. - Treat
/scratch/$USERas the heavy-storage and high-churn area. - Keep code, configs, notebooks, manifests, small logs, and standard lightweight experiment results under
/home/$USER. - Keep environments, caches, datasets, model weights, checkpoints, container images, raw intermediates, append-heavy outputs, and any large file or large directory under
/scratch/$USER. - If an artifact may grow substantially, is expensive to regenerate, or may exceed home quota, place it on scratch by default.
- If only a compact final summary is needed, keep the summary in the project tree and leave the heavy upstream artifacts on scratch.
Decision Rules
- Put it in
/home/$USERwhen it is primarily:
- source code
- configuration
- notebooks
- lightweight documentation
- small manifests or metadata
- standard small experiment outputs such as final tables, plots, and compact metrics
- Put it in
/scratch/$USERwhen it is primarily:
- a cache
- a virtual environment or Conda environment
- downloaded data
- downloaded or generated model weights
- checkpoints or resumable run state
- raw predictions, intermediate outputs, or staged preprocessing results
- a container image
- a large result directory
- a file or directory that is large, append-heavy, temporary-but-costly, or high churn
- If uncertain, prefer this split:
- small human-reviewed deliverables in
/home/$USER - heavy machine-generated artifacts in
/scratch/$USER
Planning Workflow
- Identify every path the task will read or write.
- Classify each path as one of:
- source/config
- cache/env
- dataset/model
- checkpoint/intermediate
- final result
- log/record
- Place source/config, logs, records, and small standard outputs under
/home/$USER. - Place cache/env, dataset/model, checkpoints, intermediates, and large outputs under
/scratch/$USER. - When a final result has both heavy and lightweight forms, store:
- heavy primary artifact on scratch
- lightweight summary or pointer in the project tree
- Use absolute paths when the runtime environment may rewrite
$USERor$HOME.
Recommended Layout
Operational Rules
- Before downloads or installs, redirect caches to scratch.
- Before long runs, ensure checkpoint and large-output directories point to scratch.
- Do not silently write large artifacts under
/home/$USER. - If a tool defaults to
~/.cache,~/.conda, or project-local heavy outputs, override it to scratch when practical. - If the task is on shared compute or HPC, assume scratch is the default destination for heavy artifacts unless the user explicitly asks otherwise.
Examples
- A git repository, training script, and final markdown report belong under
/home/$USER. - A Conda env, Hugging Face cache, dataset shard, and model checkpoint belong under
/scratch/$USER. - A 200 MB prediction dump belongs under
/scratch/$USER, while a 20 KB summary CSV can stay in the repository. - A long-running experiment may keep compact metrics under the project
results/directory while storing checkpoints and raw batch outputs on scratch.
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 repositoryCheckingglobal/path-storage-policy/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/path-storage-policy)