Skip to content

Commit 2b7015b

Browse files
committed
Update remote-execution.md to match the new lookup order.
1 parent 3f96a6a commit 2b7015b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.agents/skills/common/remote-execution.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ Read this when Claude Code runs on a different machine than the target GPU clust
99
Config locations (checked in order, first found wins):
1010

1111
1. `~/.config/modelopt/clusters.yaml` — user-level (not committed, recommended)
12-
2. `.claude/clusters.yaml` — project-level (can be committed for shared defaults)
13-
3. Interactive input — if neither file exists, ask the user (see SKILL.md Step 0) and write `~/.config/modelopt/clusters.yaml` before proceeding
12+
2. `.agents/clusters.yaml` — project-level, canonical (can be committed for shared defaults)
13+
3. `.claude/clusters.yaml` — project-level, back-compat
14+
4. Interactive input — if no file exists, ask the user (see SKILL.md Step 0) and write `~/.config/modelopt/clusters.yaml` before proceeding
1415

1516
```yaml
1617
clusters:
@@ -38,7 +39,7 @@ rsync -av /path/to/local/checkpoint <cluster-login>:<cluster-workspace>/checkpoi
3839

3940
Use the `workspace` path from your cluster config as the destination. Compute nodes on a given cluster share the same storage as its login node, so once staged, the path works everywhere on that cluster.
4041

41-
See `.claude/clusters.yaml.example` for a fully annotated example with multiple cluster types.
42+
See `.agents/clusters.yaml.example` for a fully annotated example with multiple cluster types.
4243

4344
---
4445

@@ -153,5 +154,5 @@ remote_sync_from <remote_output_subdir> /local/output/
153154
## Reference Files
154155

155156
- **`skills/common/remote_exec.sh`** — Full utility library (session, run, sync, SLURM, Docker helpers)
156-
- **`.claude/clusters.yaml`** — Active cluster configuration
157-
- **`.claude/clusters.yaml.example`** — Annotated example config
157+
- **`.agents/clusters.yaml`** — Active cluster configuration (canonical; `.claude/clusters.yaml` also accepted for back-compat)
158+
- **`.agents/clusters.yaml.example`** — Annotated example config

0 commit comments

Comments
 (0)