Skip to content

Commit 2410c47

Browse files
[Docs] Update SKILL.md (#3536)
* [Docs] Enhance dstack SKILL.md with user request interpretations and best practices (WIP) * Major update of SKILL.md (especially around `dstack attach`). * [Docs] Added `Install agent skills` to `Installation`
1 parent 851d8a6 commit 2410c47

File tree

2 files changed

+150
-187
lines changed

2 files changed

+150
-187
lines changed

docs/docs/installation.md

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -109,30 +109,6 @@ Once the server is up, you can access it via the `dstack` CLI.
109109
(or `Use Git and optional Unix tools from the Command Prompt`), and
110110
`Use bundled OpenSSH`.
111111

112-
### Configure the default project
113-
114-
To point the CLI to the `dstack` server, configure it
115-
with the server address, user token, and project name:
116-
117-
<div class="termy">
118-
119-
```shell
120-
$ dstack project add \
121-
--name main \
122-
--url http://127.0.0.1:3000 \
123-
--token bbae0f28-d3dd-4820-bf61-8f4bb40815da
124-
125-
Configuration is updated at ~/.dstack/config.yml
126-
```
127-
128-
</div>
129-
130-
This configuration is stored in `~/.dstack/config.yml`.
131-
132-
<!-- ### Check offers -->
133-
134-
<!-- To verify that both the server and CLI are properly configured, use the [`dstack offer`](reference/cli/dstack/offer.md#list-gpu-offers) command to list available GPU offers. If you don't see valid offers, ensure you've set up [backends](concepts/backends.md). -->
135-
136112
??? info "Shell autocompletion"
137113

138114
`dstack` supports shell autocompletion for `bash` and `zsh`.
@@ -199,9 +175,41 @@ This configuration is stored in `~/.dstack/config.yml`.
199175
> If you get an error similar to `2: command not found: compdef`, then add the following line to the beginning of your `~/.zshrc` file:
200176
> `autoload -Uz compinit && compinit`.
201177

178+
### Configure the default project
179+
180+
To point the CLI to the `dstack` server, configure it
181+
with the server address, user token, and project name:
182+
183+
<div class="termy">
184+
185+
```shell
186+
$ dstack project add \
187+
--name main \
188+
--url http://127.0.0.1:3000 \
189+
--token bbae0f28-d3dd-4820-bf61-8f4bb40815da
190+
191+
Configuration is updated at ~/.dstack/config.yml
192+
```
193+
194+
</div>
195+
196+
This configuration is stored in `~/.dstack/config.yml`.
197+
198+
### Install agent skills
199+
200+
Install [skills](https://skills.sh/dstackai/dstack/dstack) to help AI agents use the `dstack` CLI and edit configuration files.
201+
202+
<div class="termy">
203+
204+
```shell
205+
$ npx skills add dstackai/dstack
206+
```
207+
208+
</div>
209+
210+
Agent skills are experimental. Share your feedback via [GitHub issues](https://github.com/dstackai/dstack/issues).
211+
202212
!!! info "What's next?"
203213
1. See [Backends](concepts/backends.md)
204214
2. Follow [Quickstart](quickstart.md)
205215
3. Check the [server deployment](guides/server-deployment.md) guide
206-
4. Browse [examples](../examples.md)
207-
5. Join the community via [Discord](https://discord.gg/u8SmfwPpMd)

0 commit comments

Comments
 (0)