Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yale-som-hpc/claude-code-marketplace --skill using-the-filesystemgit clone --depth 1 https://github.com/yale-som-hpc/claude-code-marketplaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/using-the-filesystem)<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/using-the-filesystem"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/using-the-filesystem/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/using-the-filesystem"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/using-the-filesystem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.02291 |
| Opus 5.5 | $0.00031 | $0.00916 |
| Sonnet 5.5 | $0.00016 | $0.00458 |
| Haiku 4.5 | $0.00008 | $0.00229 |
Grade C, and why
using-the-filesystem scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
trap 'rm -rf "$workdir"' EXIT # clean on normal exit and on SIGTERM (when paired with `wait` below) How it starts
The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using the Filesystem
Rule: GPFS is good at large files and bad at metadata storms. Prefer fewer, larger files.
GPFS metadata is shared. A job that writes 100k tiny files slows down every other user's ls, find, and job startup — not just your own. This is the most common way to be unintentionally rude on the cluster.
Where things go
Shared (GPFS, visible from any node):
/gpfs/home/$USER/ personal home, not project storage
/gpfs/project/myproject/ shared project data and code
/gpfs/scratch60/$USER/ temporary shared scratch (create on first use)
Per-compute-node local (visible only on that one node, gone when the job is rescheduled):
/tmp xfs on local NVMe, ~20 GB; default $TMPDIR; small high-I/O work
/local xfs on local NVMe, ~700 GB; large temp data that won't fit in /tmp
/dev/shm tmpfs (RAM), ~half of node memory; in-RAM ephemeral
Use /gpfs/project/... for shared research data and final outputs. For high-I/O temp data inside one job, prefer the compute-node local mounts and copy results back to GPFS at the end (see Compute node local storage below).
/gpfs/scratch60/$USER does not exist by default. Create it the first time you need it:
mkdir -p /gpfs/scratch60/$USER
Bad pattern: many tiny files
Bad:
results/
├── result_000001.csv
├── result_000002.csv
└── ... 100,000 tiny files
Good:
results/bootstrap_results.parquet
or one file per Slurm task:
results/task_0001.parquet
results/task_0002.parquet
For append-friendly logs or scraper outputs, use compressed JSON Lines rather than thousands of files. Use one writer per file; for Slurm arrays, write one JSONL file per task and combine later.
import gzip
import json
record = {"url": url, "status": status, "text": text}
with gzip.open("/gpfs/project/myproject/data/raw/pages.jsonl.gz", "at") as f:
f.write(json.dumps(record) + "\n")
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 211 lines · 78 tokens per session scan C 51a7a83afebb
using-the-filesystem is a skill published in the GitHub repository yale-som-hpc/claude-code-marketplace (5 stars, last pushed 3mo ago), licensed Unlicense. It adds 78 tokens to every session and 2,291 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
using-the-filesystem compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| using-the-filesystemyale-som-hpc/claude-code-marketplace | Skill | 5 | 3mo ago | Unlicense | C | 78 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |