diff --git a/skills/profile_likelihood/SKILL.md b/skills/profile_likelihood/SKILL.md index 0ca8961..81e2382 100644 --- a/skills/profile_likelihood/SKILL.md +++ b/skills/profile_likelihood/SKILL.md @@ -1,7 +1,6 @@ --- -name: profile_likelihood +name: profile-likelihood description: Run a multi-config JAX likelihood profiling sweep (CPU/GPU × fp64/mp, optional A100 on RAL HPC) for a given likelihood function. Produces structured JSON+PNG outputs with comparison tables under autolens_workspace_developer/jax_profiling/results/jit/. -user-invocable: true --- # Profile Likelihood @@ -18,14 +17,17 @@ workflow. Verbose command blocks, gotchas and run precedent are in ## Usage ``` -/profile_likelihood +$profile-likelihood ``` +In Claude, invoke the same skill as `/profile_likelihood`. + `` ∈ `imaging` / `interferometer` / `point_source`. `` is a canonical reference script present at `autolens_workspace_developer/jax_profiling/jit//.py` (mge, delaunay, rectangular, delaunay_mge, rectangular_mge, …). Examples: -`/profile_likelihood imaging mge`, `/profile_likelihood interferometer rectangular_mge`. +`$profile-likelihood imaging mge`, +`$profile-likelihood interferometer rectangular_mge`. ## What this produces @@ -54,7 +56,7 @@ GPU/HPC availability, the PyAutoGPU venv ordering, and the canonical reference). only) — [`reference.md`](reference.md) → "Scaffold". 3. **SLURM submit scripts** (first time only) — [`reference.md`](reference.md) → "SLURM submit scripts". -4. **Plan + worktree** — run `/plan_branches`; worktree +4. **Plan + worktree** — run `$start-dev` (`/start_dev` in Claude); worktree `autolens_workspace_developer` on `feature/-profiling-a100`. 5. **Local sweep** — 4 configs (GPU/CPU × fp64/mp); spot-check `device.backend`. 6. **HPC sweep** — A100 fp64 + mp via `hpc/sync`, then consolidate. diff --git a/skills/profile_likelihood/reference.md b/skills/profile_likelihood/reference.md index 6e9fdd8..1cab762 100644 --- a/skills/profile_likelihood/reference.md +++ b/skills/profile_likelihood/reference.md @@ -40,9 +40,10 @@ both. ### Plan + worktree -Run `/plan_branches`. Affected: `z_projects/profiling` (no remote, local-only — -commit to local main) and `autolens_workspace_developer` (artifacts, has remote -— feature branch + PR). Branch `feature/-profiling-a100`. +Run `$start-dev` (`/start_dev` in Claude). Affected: +`z_projects/profiling` (no remote, local-only — commit to local main) and +`autolens_workspace_developer` (artifacts, has remote — feature branch + PR). +Branch `feature/-profiling-a100`. ```bash source admin_jammy/software/worktree.sh