Skip to content

Commit eeafc56

Browse files
Updated SKILL.md
1 parent 70bb5aa commit eeafc56

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

skills/dstack/SKILL.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ By default, `dstack apply` requires a confirmation, and once first job within th
7070

7171
### Command timing and confirmation handling
7272

73-
**Commands that stream indefinitely (use timeout to capture output, then exit):**
73+
**Commands that run indefinitely (agents should avoid these):**
7474
- `dstack attach` - maintains connection until interrupted
7575
- `dstack apply` without `-d` for runs - streams logs after provisioning
76+
- `dstack ps -w` - watch mode, auto-refreshes until interrupted
77+
78+
Instead, use `dstack ps -v` to check status, or `dstack apply -d` for detached mode.
7679

7780
**All other commands:** Use 10-60s timeout. Most complete within this range. **While waiting, monitor the output** - it may contain errors, warnings, or prompts requiring attention.
7881

@@ -291,9 +294,9 @@ volumes:
291294

292295
[Concept documentation](https://dstack.ai/docs/concepts/volumes.md) | [Configuration reference](https://dstack.ai/docs/reference/dstack.yml/volume.md)
293296

294-
## Essential Commands
297+
## Essential CLI commands
295298

296-
### Apply Configurations
299+
### Apply configurations
297300

298301
**Important behavior:**
299302
- `dstack apply` shows a plan with estimated costs and may ask for confirmation (respond with `y` or use `-y` flag to skip)
@@ -323,7 +326,7 @@ volumes:
323326
dstack apply -f config.dstack.yml -y -d
324327
```
325328

326-
4. **Verify submission:**
329+
4. **Verify apply status:**
327330
```bash
328331
dstack ps -v
329332
```
@@ -386,7 +389,7 @@ dstack fleet delete my-fleet -y
386389
dstack fleet delete my-fleet -i <instance num> -y
387390
```
388391

389-
### Monitor Runs
392+
### Monitor runs
390393

391394
```bash
392395
# List all runs
@@ -398,9 +401,6 @@ dstack ps --json
398401
# Verbose output with full details
399402
dstack ps -v
400403
401-
# Watch mode (auto-refresh)
402-
dstack ps -w
403-
404404
# Get specific run details as JSON
405405
dstack run get my-run-name --json
406406
```
@@ -523,12 +523,12 @@ Common issues:
523523

524524
## Additional Resources
525525

526-
**Core Documentation:**
526+
**Core documentation:**
527527
- [Overview](https://dstack.ai/docs/overview.md)
528528
- [Installation](https://dstack.ai/docs/installation.md)
529529
- [Quickstart](https://dstack.ai/docs/quickstart.md)
530530

531-
**Additional Concepts:**
531+
**Additional concepts:**
532532
- [Secrets](https://dstack.ai/docs/concepts/secrets.md) - Manage sensitive credentials
533533
- [Projects](https://dstack.ai/docs/concepts/projects.md) - Projects isolate the resources of different teams
534534
- [Metrics](https://dstack.ai/docs/concepts/metrics.md) - Track GPU utilization

0 commit comments

Comments
 (0)