Agent skill

Dstack

by dstackai in dstackai/dstack

dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

MPL-2.0Auto-check: warningsDevOps & Cloud

Install Dstack

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add dstackai/dstack --skill dstack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dstackai/dstack dstack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dstackai/dstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dstack .claude/skills/dstack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dstack
GitHub stars
2.3k
Token cost
~6.2k tokens
SKILL.md length
2,597 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MPL-2.0

At a glance

dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

  • Works in 6 steps: Dev environments → Tasks → Services → …
  • Tasks that involve Container orchestration
  • SKILL.md covers Overview, How it works, Quick agent flow (detached runs) and Agent execution guidelines, plus 4 more sections
  • Calls ssh and curl; needs HF_TOKEN and HUGGING_FACE_HUB_TOKEN

What it does

Dstack is an agent skill from dstackai/dstack. dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

Its SKILL.md is about 6.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Container orchestration and GPU and accelerator computing. It works with Kubernetes, NVIDIA AI Platform, Docker and Python. The repository describes itself as: A unified orchestration layer for heterogeneous AI compute. It standardizes how to manage compute and run training and inference on GPU clouds, Kubernetes, VMs, or bare-metal… The licence is MPL-2.0.

When your agent uses it

  • Tasks that involve Container orchestration
  • Tasks that involve GPU and accelerator computing

Example prompts

  • “/dstack”

Requirements

  • Docker

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Dev environments
  2. Tasks
  3. Services
  4. Fleets
  5. Volumes
  6. Gateways

What it can do on your machine

Read from SKILL.md and the folder at commit 0d578c8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • ssh
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • dstack.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HF_TOKEN
    • HUGGING_FACE_HUB_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dstack loads about 6.2k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 2,597 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:117
    `~/.dstack/ssh/config` (and may update `~/.ssh/config`) to enable `ssh <run name>`, IDE connections, port forwarding, an
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:143
    ox (permissions writing `~/.dstack` or `~/.ssh`, timeouts), request escalation to run attach outside the sandbox. If not
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:304
    identity_file: ~/.ssh/id_rsa

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dstackai/dstack at commit 0d578c8, republished under its MPL-2.0 licence (© dstackai). 2,597 words, ~6,164 tokens.

Download SKILL.mdSave it as .claude/skills/dstack/SKILL.md (or your agent's skills folder).
name
dstack
description
dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

dstack

Overview

dstack provisions and orchestrates workloads across GPU clouds, Kubernetes, and on-prem via fleets.

When to use this skill:

  • Running or managing dev environments, tasks, or services on dstack
  • Creating, editing, or applying *.dstack.yml configurations
  • Managing fleets, volumes, gateways, and checking available offers

How it works

dstack operates through three core components:

  1. dstack server - Can run locally, remotely, or via dstack Sky (managed)
  2. dstack CLI - Applies configurations and manages or inspects fleets, runs, logs, events, volumes, gateways, and offers; it uses project configurations stored in ~/.dstack/config.yml, which can be managed with dstack project
  3. dstack configuration files - YAML files ending with .dstack.yml

dstack apply shows a plan and submits configuration changes. For run configurations, it attaches when the run reaches running by default: it configures SSH access, forwards declared ports, and streams logs. With -d, it submits and exits.

Quick agent flow (detached runs)

  1. Show plan: echo "n" | dstack apply -f <config>
  2. If plan is OK and user confirms, apply detached: dstack apply -f <config> -y -d
  3. Check the run: dstack run get <run-name> --json
  4. If dev-environment or task with ports and running: attach to surface IDE link/ports/SSH alias (agent runs attach in background); ask to open link
  5. If attach fails in sandbox: request escalation; if not approved, ask the user to run dstack attach locally and share the output

CRITICAL: Never propose dstack CLI commands or YAML syntaxes that don't exist.

  • Only use CLI commands and YAML syntax documented here or verified via --help
  • If uncertain about a command or its syntax, check the links or use --help

NEVER do the following:

  • Invent CLI flags not documented here or shown in --help
  • Guess YAML property names - verify in configuration reference links
  • Run dstack apply for runs without -d in automated contexts (blocks indefinitely)
  • Retry failed commands without addressing the underlying error
  • Summarize or reformat tabular CLI output - show it as-is
  • Use echo "y" | when -y flag is available
  • Assume a command succeeded without checking output for errors

Agent execution guidelines

Output accuracy
  • NEVER reformat, summarize, or paraphrase CLI output. Display tables, status output, and error messages exactly as returned.
  • When showing command results, use code blocks to preserve formatting.
  • If output is truncated due to length, indicate this clearly (e.g., "Output truncated. Full output shows X entries.").
Verification before execution
  • When uncertain about any CLI flag or YAML property, run dstack <command> --help first.
  • Never guess or invent flags. Example verification commands:
    bash
    dstack --help                               # List all commands
    dstack apply -h <configuration type>        # Flags for apply per configuration type (dev-environment, task, service, fleet, etc)
    dstack fleet --help                         # Fleet subcommands
    dstack ps --help                            # Flags for ps
  • If a command or flag isn't documented, it doesn't exist.
Command timing and confirmation handling

Commands that stream indefinitely in the foreground:

  • dstack attach
  • dstack apply without -d for runs
  • dstack ps -w

Agents should avoid blocking: use -d, timeouts, or background attach. When attach is needed, run it in the background by default (nohup ...), but describe it to the user simply as "attach" unless they ask for a live foreground session.

When waiting programmatically for a specific run, use dstack run get <run-name> --json and read its top-level status. Run statuses are pending, submitted, provisioning, running, terminating, terminated, failed, and done; the last three are terminal. Stop waiting when the run reaches the state needed for the next action or a terminal status. Never parse or grep human-readable dstack ps output; its status column may display a job message such as no offers.

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.

Confirmation handling:

  • dstack apply, dstack stop, dstack fleet delete require confirmation
  • Use -y flag to auto-confirm when user has already approved
  • For dstack stop, always use -y after the user confirms to avoid interactive prompts
  • Use echo "n" | to preview dstack apply plan without executing (avoid echo "y" |, prefer -y)

Best practices:

  • Prefer modifying configuration files over passing parameters to dstack apply (unless it's an exception)
  • When user confirms deletion/stop operations, use -y flag to skip confirmation prompts
Detached run follow-up (after -d)

After submitting a run with -d (dev-environment, task, service), first determine whether submission failed. If the apply output shows errors (validation, no offers, etc.), stop and surface the error.

If the run was submitted, check it with dstack run get <run-name> --json, then guide the user through relevant next steps: If you need to prompt for next actions, be explicit about the dstack step and command (avoid vague questions). When speaking to the user, refer to the action as "attach" (not "background attach").

  • Monitor status: Report the current status and offer to keep watching. If watching, poll dstack run get <run-name> --json every 10-20 seconds until it reaches the state needed for the next action or a terminal status.
  • Attach when running: For agents, run attach in the background by default so the session does not block. Use it to capture IDE links/SSH alias or enable port forwarding; when describing the action to the user, just say "attach".
  • Dev environments or tasks with ports: Once running, attach to surface the IDE link/port forwarding/SSH alias, then ask whether to open the IDE link. Never open links without explicit approval.
  • Services: Prefer using service endpoints. Attach only if the user explicitly needs port forwarding or full log replay.
  • Tasks without ports: Default to dstack logs for progress; attach only if full log replay is required.
Attaching behavior (blocking vs non-blocking)

dstack attach runs until interrupted and blocks the terminal. Agents must avoid indefinite blocking. If a brief attach is needed, use a timeout to capture initial output (IDE link, SSH alias) and then detach.

Note: dstack attach writes SSH alias info under ~/.dstack/ssh/config (and may update ~/.ssh/config) to enable ssh <run name>, IDE connections, port forwarding, and real-time logs (dstack attach --logs). If the sandbox cannot write there, the alias will not be created.

Permissions guardrail: If dstack attach fails due to sandbox permissions, request permission escalation to run it outside the sandbox. If escalation isn’t approved or attach still fails, ask the user to run dstack attach locally and share the IDE link/SSH alias output.

Background attach (non-blocking default for agents):

bash
nohup dstack attach <run name> --logs > /tmp/<run name>.attach.log 2>&1 & echo $! > /tmp/<run name>.attach.pid

Then read the output:

bash
tail -n 50 /tmp/<run name>.attach.log

Offer live follow only if asked:

bash
tail -f /tmp/<run name>.attach.log

Stop the background attach (preferred):

bash
kill "$(cat /tmp/<run name>.attach.pid)"

If the PID file is missing, fall back to a specific match (avoid killing all attaches):

bash
pkill -f "dstack attach <run name>"

Why this helps: it keeps the attach session alive (including port forwarding) while the agent remains usable. IDE links and SSH instructions appear in the log file -- surface them and ask whether to open the link (open "<link>" on macOS, xdg-open "<link>" on Linux) only after explicit approval.

If background attach fails in the sandbox (permissions writing ~/.dstack or ~/.ssh, timeouts), request escalation to run attach outside the sandbox. If not approved, ask the user to run attach locally and share the IDE link/SSH alias.

Interpreting user requests

"Run something": When the user asks to run a workload (dev environment, task, service), use dstack apply with the appropriate configuration. Note: dstack run only supports dstack run get --json for retrieving run details -- it cannot start workloads.

"Connect to" or "open" a dev environment: If a dev environment is already running, use dstack attach <run name> --logs (agent runs it in the background by default) to surface the IDE URL (cursor://, vscode://, etc.) and SSH alias. If sandboxed attach fails, request escalation or ask the user to run attach locally and share the link.

Multi-node tasks and multi-replica services

Unless you use Multi-node tasks (see ### 2. Tasks) or Multi-replica services (see ### 3. Services), both tasks and services run on a single node. That's why dstack logs <run name>, dstack attach <run name>, and ssh <run name> default to the first replica/job.

  • In a multi-node task, each node runs its own job, numbered from 0 in order across node groups. Target a node via dstack logs <run name> --job 1 or dstack attach <run name> --job 1.
  • In a multi-replica service, replicas are numbered from 0 in order across replica groups. Target a replica via dstack logs <run name> --replica 1 or dstack attach <run name> --replica 1.
  • Attaching with a non-zero --job or --replica creates the SSH alias ssh <run name>-<job num>-<replica num>.

Configuration types

dstack supports run configurations (dev environments, tasks, and services) and infrastructure configurations (fleets, volumes, and gateways). Configuration files can be named <name>.dstack.yml or simply .dstack.yml.

Common parameters: All run configurations (dev environments, tasks, services) support many parameters including:

  • Git integration: Clone repos automatically (repo) or mount existing repos (repos)
  • File upload: Upload local files (files; see concept docs for examples)
  • Docker support: Use custom Docker images (image); use docker: true if you want to use Docker from inside the container (VM-based backends only)
  • Environment: Set environment variables (env), often via .envrc. Secrets are supported but less common.
  • Storage: Persistent network volumes (volumes), specify disk size
  • Resources: Define GPU, CPU, memory, and disk requirements

Best practices:

  • Prefer giving configurations a name property for easier management
  • When configurations need credentials (API keys, tokens), list only env var names in the env section (e.g., - HF_TOKEN), not values. Recommend storing actual values in a .envrc file alongside the configuration, applied via source .envrc && dstack apply.
  • python and image are mutually exclusive in run configurations. If image is set, do not set python.
Show full SKILL.md (1,146 more words)Show less
files and repos intent policy

Use files and repos only when the user intends to use local/repo files inside the run.

  • If user asks to use project code/data/config in the run, then add files or repos as appropriate.
  • If it is totally unclear whether files or repos must be mounted, ask one explicit clarification question or default to not mounting.

files guidance:

  • Relative paths are valid and preferred for local project files.
  • A relative files path is placed under the run's working_dir (default or set by user).

repos + image/working directory guidance:

  • With non-default Docker images, prefer explicit absolute mount targets for repos (e.g., .:/dstack/run).
  • When setting an explicit repo mount path, also set working_dir to the same path.
  • Reason: custom images may have a different/non-empty default working directory, and mounting a repo into a non-empty path can fail.
  • With dstack default images, the default working_dir is already /dstack/run.
1. Dev environments

Use for: Interactive development with IDE integration (VS Code, Cursor, etc.).

yaml
type: dev-environment
name: cursor

python: "3.12"
ide: vscode

resources:
  gpu: 80GB

Concept documentation | Configuration reference

2. Tasks

Use for: Batch jobs, training runs, fine-tuning, web applications, any executable workload.

Key features: Distributed training (multi-node) and port forwarding for web apps.

yaml
type: task
name: train

python: "3.12"
env:
  - HUGGING_FACE_HUB_TOKEN
commands:
  - uv pip install -r requirements.txt
  - uv run python train.py
ports:
  - 8501  # Optional: expose ports for web apps

resources:
  gpu: A100:40GB:2

Port forwarding: When you specify ports, dstack apply forwards them to localhost while attached. Use dstack attach <run name> to reconnect and restore port forwarding. The run name becomes an SSH alias (e.g., ssh <run name>) for direct access.

Multi-node tasks: Set nodes to run a task across multiple nodes, or use groups to define node groups, each with its own nodes count, resources, commands, and ports (groups and top-level nodes are mutually exclusive). Requires a fleet that supports inter-node communication (see placement: cluster in fleets).

Concept documentation | Configuration reference

3. Services

Use for: Deploying models or web applications as production endpoints.

Key features: OpenAI-compatible model serving, auto-scaling (RPS/queue), custom gateways with HTTPS.

yaml
type: service
name: llama31

python: "3.12"
env:
  - HF_TOKEN
commands:
  - uv pip install vllm
  - uv run vllm serve meta-llama/Meta-Llama-3.1-8B-Instruct
port: 8000
model: meta-llama/Meta-Llama-3.1-8B-Instruct

resources:
  gpu: 80GB
  disk: 200GB

Service endpoints:

  • Without gateway: <server URL>/proxy/services/<project name>/<run name>/
  • With gateway: https://<run name>.<gateway domain>/
  • Authentication: Unless auth is false, include Authorization: Bearer <user token> on service requests.
  • Model endpoint: If model is set, service.model.base_url from dstack run get <run name> --json provides the model endpoint. For OpenAI-compatible models (the default, unless format is set otherwise), this will be service.url + /v1.
  • Example (with gateway):
    bash
    curl -sS -X POST "https://<run name>.<gateway domain>/v1/chat/completions" \
      -H "Authorization: Bearer <user token>" \
      -H "Content-Type: application/json" \
      -d '{"model":"<model name>","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'

Multi-replica services: Set replicas to run multiple replicas, or use groups to define replica groups, each with its own replicas count, resources, and commands (groups and top-level replicas are mutually exclusive). If replicas require an interconnect (e.g., PD disaggregation), the service must run on a fleet with placement: cluster.

Concept documentation | Configuration reference

4. Fleets

Use for: Pre-provisioning infrastructure for workloads, managing on-prem GPU servers, creating auto-scaling instance pools.

yaml
type: fleet
name: my-fleet
nodes: 0..2

resources:
  gpu: 24GB..
  disk: 200GB

spot_policy: auto # other values: spot, on-demand
idle_duration: 5m

On-demand provisioning: When nodes is a range (e.g., 0..2), dstack creates a template and provisions instances on demand within the min/max. Use idle_duration to terminate idle instances.

Distributed workloads: Use placement: cluster for fleets intended for multi-node tasks that require inter-node networking.

SSH fleet (on-prem or pre-provisioned):

yaml
type: fleet
name: on-prem-fleet

ssh_config:
  user: ubuntu
  identity_file: ~/.ssh/id_rsa
  hosts:
    - 192.168.1.10
    - 192.168.1.11

Concept documentation | Configuration reference

5. Volumes

Use for: Persistent storage for datasets, model checkpoints, training artifacts.

yaml
type: volume
name: my-volume

backend: aws
region: us-east-1

resources:
  disk: 500GB

Instance volumes (local, ephemeral, often optional):

yaml
type: dev-environment
# ... other config
volumes:
  - instance_path: /dstack-cache/pip
    path: /root/.cache/pip
    optional: true
  - instance_path: /dstack-cache/huggingface
    path: /root/.cache/huggingface
    optional: true

Mounting volumes: Use volumes in dev environments, tasks, and services. Network volumes persist independently; instance volumes are tied to the instance lifecycle.

Concept documentation | Configuration reference

6. Gateways

Use for: Gateways are optional for basic service endpoints. They are required when a service uses auto-scaling or rate limits, needs HTTPS on a custom domain, requires WebSockets, or cannot work with the server proxy path prefix.

yaml
type: gateway
name: my-gateway

backend: aws
region: us-east-1
domain: example.com

Concept documentation | Configuration reference

Essential CLI commands

Apply configurations

Important behavior:

  • dstack apply shows a plan with estimated costs and may ask for confirmation
  • In attached mode (default), the terminal blocks and shows output
  • In detached mode (-d), it submits and exits without attaching

Workflow for applying run configurations (dev-environment, task, service):

  1. Show plan:

    bash
    echo "n" | dstack apply -f config.dstack.yml

    Display the FULL output including the offers table and cost estimate. Do NOT summarize or reformat.

  2. Wait for user confirmation. Do NOT proceed if:

    • Output shows "No offers found" or similar errors
    • Output shows validation errors
    • User has not explicitly confirmed
  3. Execute (only after user confirms):

    bash
    dstack apply -f config.dstack.yml -y -d
  4. Verify apply status:

    bash
    dstack run get <run-name> --json

Workflow for infrastructure (fleet, volume, gateway):

  1. Show plan:

    bash
    echo "n" | dstack apply -f infra.dstack.yml

    Display the FULL output. Do NOT summarize or reformat.

  2. Wait for user confirmation.

  3. Execute:

    bash
    dstack apply -f infra.dstack.yml -y
  4. Verify: Use dstack fleet, dstack volume, or dstack gateway respectively.

Fleet management
bash
# Create/update fleet
dstack apply -f fleet.dstack.yml

# List fleets
dstack fleet

# Get fleet details
dstack fleet get my-fleet

# Get fleet details as JSON (for troubleshooting)
dstack fleet get my-fleet --json

# Delete entire fleet (use -y when user already confirmed)
dstack fleet delete my-fleet -y

# Delete specific instance from fleet (use -y when user already confirmed)
dstack fleet delete my-fleet -i <instance num> -y

Host GPU driver: for NVIDIA, AMD, and Tenstorrent, VM-based backends and SSH fleets report the host GPU driver version in instances[].gpu_driver.version, available via dstack fleet get my-fleet --json once the instance is idle or busy. Useful when you're uncertain whether a host's driver is compatible with your workload.

Monitor runs
bash
# List all runs
dstack ps

# Verbose output with full details
dstack ps -v

# JSON output (for troubleshooting/scripting)
dstack ps --json

# Get specific run details as JSON
dstack run get my-run-name --json
Attach to runs
bash
# Attach and replay logs from start (preferred, unless asked otherwise)
dstack attach my-run-name --logs

# Attach without replaying logs (restores port forwarding + SSH only)
dstack attach my-run-name
View logs
bash
# Stream logs (tail mode)
dstack logs my-run-name

# Debug mode (includes additional runner logs)
dstack logs my-run-name -d

# Fetch logs from specific replica (multi-node runs)
dstack logs my-run-name --replica 1

# Fetch logs from specific job
dstack logs my-run-name --job 0
Stop runs
bash
# Stop specific run (use -y after user confirms)
dstack stop my-run-name -y

# Abort (force stop)
dstack stop my-run-name --abort
List offers

Offers represent available instance configurations that match resource requirements. If --fleet is omitted, dstack offer checks all configured backends. Listing offers does not create capacity; submitting a run still requires at least one fleet that can provision or reuse matching instances. Use --fleet to inspect offers available through specific fleets.

bash
# Filter by specific backend
dstack offer --backend aws

# Filter by GPU type
dstack offer --gpu A100

# Filter by GPU memory
dstack offer --gpu 24GB..80GB

# Combine filters
dstack offer --backend aws --gpu A100:80GB

# Limit to a specific fleet
dstack offer --fleet my-fleet

# Combine offers from multiple fleets
dstack offer --fleet my-fleet --fleet other-fleet

# JSON output (for troubleshooting/scripting)
dstack offer --json

With one --fleet, dstack offer shows offers available through that fleet. With multiple --fleet, it combines offers available through the selected fleets. Identical backend offers are shown once, while matching existing instances stay separate.

Max offers: By default, dstack offer returns first N offers (output also includes the total number). Use --max-offers N to increase the limit.

Grouping: Prefer --group-by gpu for aggregated output across all offers, not --max-offers. Other supported fields are backend, region, and count; region requires backend.

Troubleshooting

When diagnosing issues with dstack workloads or infrastructure:

  1. Use JSON output for detailed inspection:

    bash
    dstack fleet get my-fleet --json
    dstack run get my-run --json
    dstack ps -n 10 --json
    dstack offer --json
  2. Check verbose run status:

    bash
    dstack ps -v
  3. Examine logs with debug output:

    bash
    dstack logs my-run -d
  4. Attach with log replay:

    bash
    dstack attach my-run --logs

Common issues:

  • No offers: Check dstack offer; if submitting a run, ensure at least one fleet can provision or reuse matching instances
  • No fleet: Ensure at least one fleet is created
  • Configuration errors: Validate YAML syntax; check dstack apply output for specific errors
  • Provisioning timeouts: Inspect the run with dstack run get <run-name> --json; consider spot vs on-demand
  • Connection issues: Verify server status, check authentication, ensure network access to backends

When errors occur:

  1. Display the full error message unchanged
  2. Do NOT retry the same command without addressing the error
  3. Refer to the Troubleshooting guide for guidance

Additional resources

Core documentation:

Additional concepts:

Guides:

Accelerator-specific examples:

Full documentation: https://dstack.ai/llms-full.txt

© dstackai, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/dstack of dstackai/dstack.

Open the folder on GitHubat commit 0d578c8

Compare with similar skills

Dstack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dstack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dstack this skilldstackai/dstack2.3k—~6.2kAutomated safety check: WarnMPL-2.0
Paidf Orchestration SetupNVIDIA/skills3.5k—~3.8kAutomated safety check: WarnApache-2.0
Helm Dev EnvironmentNVIDIA/OpenShell15k—~4.9kAutomated safety check: PassApache-2.0
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills148—~2.6kAutomated safety check: NotesApache-2.0
TensorRT-LLM InferenceOrchestra-Research/AI-Research-SKILLs13k5 repos~1.3kAutomated safety check: PassMIT
GPU Kubernetes Operationssickn33/agentic-awesome-skills47k2 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Official

    Audit, prepare, and deploy PAIDF Orchestration on a Kubernetes GPU cluster - single-GPU H100/L40S hosts, managed Kubernetes, kubeadm, and similar.

    3.5k GitHub stars~3.8k tokensUpdated today
    DevOps & CloudAuto-check: warnings
  • Helm Dev Environment

    NVIDIA/OpenShell

    Official

    Start up, tear down, and configure the local Kubernetes development environment for OpenShell.

    15k GitHub stars~4.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • TensorRT-LLM Inference

    Orchestra-Research/AI-Research-SKILLs

    Optimizes and serves LLMs on NVIDIA GPUs with TensorRT-LLM, covering quantization, in-flight batching, multi-GPU parallelism and the trtllm-serve command.

    13k GitHub starsUsed in 5 repos~1.3k tokens
    AI & LLM EngineeringAuto-check passed
  • GPU Kubernetes Operations

    sickn33/agentic-awesome-skills

    Operate GPU-backed Kubernetes clusters for AI inference and training with scheduling, autoscaling, node health, MIG partitioning, and cost controls.

    47k GitHub starsUsed in 2 repos~3.2k tokens
    DevOps & CloudAuto-check passed
  • Deploying Go SDK Bundles

    astronomer/agents

    Builds, packs, and deploys compiled Airflow Go SDK bundles so the ExecutableCoordinator can run them.

    450 GitHub stars~1.8k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes

More from dstackai/dstack

  • Dstack Prototyping

    dstackai/dstack

    Use with the dstack skill for model-serving work when the image, serving command, resources, backend/fleet choice, or service behavior is not proven.

    2.3k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Dstack Presets

    dstackai/dstack

    Create and manage dstack presets: a toolkit that streamlines model inference optimization with agents, and a portable preset format.

    2.3k GitHub stars~403 tokensUpdated today
    Auto-check passed

Questions about Dstack

What does Dstack do?

dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters. Dstack is an agent skill from dstackai/dstack. dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

When should I use Dstack?

Dstack fits situations like: tasks that involve Container orchestration; tasks that involve GPU and accelerator computing.

How do I install Dstack in Claude Code?

Run `npx skills add dstackai/dstack --skill dstack -a claude-code`. Or copy the skill folder (skills/dstack in dstackai/dstack) into .claude/skills/dstack in your project. Claude Code loads it when a task matches its description.

How do I install Dstack in Codex?

Run `npx skills add dstackai/dstack --skill dstack -a codex`. Or copy the skill folder (skills/dstack in dstackai/dstack) into .agents/skills/dstack in your project. Codex loads it when a task matches its description.

Can I use Dstack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dstackai/dstack --skill dstack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dstack, .gemini/skills/dstack, .github/skills/dstack and .opencode/skills/dstack in your project.

What does Dstack need to run?

Going by SKILL.md and its folder, Dstack needs the command-line tools its instructions call (ssh and curl) and credentials named HF_TOKEN and HUGGING_FACE_HUB_TOKEN. Our summary lists: Docker.

Does Dstack access the network?

SKILL.md names 1 domain. As links in the text: dstack.ai. This is read from the text; nothing was executed.

Is Dstack safe to install?

Our automated static check of SKILL.md flagged 3 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Dstack use?

Dstack is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dstack use?

About 6.2k tokens (SKILL.md is roughly 25k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dstack?

Skills that share tags, products or a category with Dstack: Paidf Orchestration Setup (NVIDIA/skills, 3.5k stars), Helm Dev Environment (NVIDIA/OpenShell, 15k stars), Alibabacloud Ecs Sec Userspace (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars) and TensorRT-LLM Inference (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dstack?

dstackai (a GitHub organization) maintains it in dstackai/dstack, which has 2,272 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: dstackai/dstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.