AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Unlicense Self-run

Starting A New Project

skill-yale-som-hpc-claude-code-marketplace-starting-a-new-project · by yale-som-hpc

Create a research project layout under /gpfs/project on the Yale SOM HPC cluster — reproducible, resumable, safe for shared use. TRIGGER when starting or reorganizing a project on the Yale SOM HPC cluster, choosing GPFS directories, or setting up cluster-side logs, lockfiles, and Slurm scripts.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-yale-som-hpc-claude-code-marketplace-starting-a-new-project

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access Used
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yale-som-hpc-claude-code-marketplace-starting-a-new-project)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Starting A New Project? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Starting a New Project

Rule: make the project understandable to a new RA and restartable by a future you.

Recommended layout

/gpfs/project/myproject/
├── code/                 # Git repo
│   ├── README.md
│   ├── CLAUDE.md
│   ├── pyproject.toml
│   ├── uv.lock
│   ├── renv.lock
│   ├── src/
│   ├── scripts/
│   └── slurm/
├── data/
│   ├── raw/              # read-only original data
│   └── derived/          # rebuildable intermediates
├── output/               # tables, figures, final outputs
├── logs/                 # Slurm logs
└── cache/                # API/download/model caches

First commands

For collaborative work, request a shared /gpfs/project/... folder from SOM IT instead of coordinating through one person's home directory. Put shared data, scripts, logs, and outputs there so permissions and ownership match the project.

mkdir -p /gpfs/project/myproject/{code,data/raw,data/derived,output,logs,cache}
cd /gpfs/project/myproject/code
git init
uv init --app
mkdir -p src scripts slurm

.gitignore

Track code, lockfiles, and documentation. Do not track data, credentials, environments, logs, or generated output. Pull a starting point from github/gitignore and add data/, logs/, output/, .env.

README minimum

# Project Name

## Setup

1. Clone repo into `/gpfs/project/myproject/code`.
2. Run `uv sync` on the login node.
3. If using R, run `Rscript -e 'renv::restore()'` on the login node.
4. Submit `sbatch slurm/test.sh`.

## Pipeline

1. `sbatch slurm/01_prepare_data.sh`
2. `sbatch slurm/02_estimate.sh`
3. Outputs appear in `/gpfs/project/myproject/output/`.

## Data

- `data/raw/`: original data, do not edit.
- `data/derived/`: rebuildable from raw data and code.

Seed a CLAUDE.md

Drop a short CLAUDE.md in the repo root so the project's cluster norms persist across sessions — Claude Code reads it automatically at the start of every session, and so does a future RA. Keep it to the project's specifics; the installed skills already carry the general rules.

# Project notes

- This project runs on the Yale SOM HPC cluster. Follow the `hpc` skills.
- Project root: `/gpfs/project/myproject`. Raw data in `data/raw/` is read-only.
- Run analysis on compute nodes via `sbatch slurm/*.sh`, never on the login node.
- Python env is managed with uv; build it once with `uv sync --frozen`, don't `uv sync` inside jobs.
- After a real job, run `seff` and report whether it was right-sized.

Claude Code reads CLAUDE.md, not AGENTS.md. If collaborators also use other agents (Codex, Cursor) that read AGENTS.md, keep the shared notes in AGENTS.md and make CLAUDE.md a one-line pointer to it. Claude Code expands the @ import at load, so this pulls the whole file in:

Read @AGENTS.md for this project's context.

(A symlink — ln -s AGENTS.md CLAUDE.md — works too if you don't need any Claude-only lines.)

Capture your commands in a task runner

Put the project's common commands (setup, build, submit) in one file so they're reproducible and the agent can rerun them. just is not installed on the cluster — start with a Makefile or run.sh, which work out of the box. See [task runner](../task-runner/SKILL.md) for the full treatment and when to use shell vs make vs just.

.PHONY: setup test-job
setup:
	uv sync

test-job:
	sbatch slurm/test.sh        # resources live in the sbatch file, not here

Keep recipes thin — the real logic lives in your Python/R/Stata scripts, not the runner.

First test job

Always submit a tiny test job before any full run. Use the minimal sbatch template from [managing jobs](../managing-jobs/SKILL.md) with --time=00:10:00 --mem=2G --cpus-per-task=1, and have it print sys.version and pathlib.Path.cwd(). If that fails, fix it before submitting anything larger.

Make raw data read-only after ingest

After the raw-data ingest is complete and checked, freeze it:

chmod -R g-w /gpfs/project/myproject/data/raw

Do not lock data/raw/ before collaborators have finished placing the initial files there.

Checklist

  • [ ] Project lives in /gpfs/project/..., not one person's home directory.
  • [ ] Code is in Git.
  • [ ] Raw data is read-only.
  • [ ] Environments are reproducible from lockfiles.
  • [ ] Logs go to logs/.
  • [ ] A task runner (Makefile/run.sh) or README documents the common commands.
  • [ ] CLAUDE.md records the project's cluster norms (Claude Code reads it, not AGENTS.md).
  • [ ] First Slurm test job passes before any full run.

Further reading

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.