---
name: dstackai-dstack-presets
description: "Create and manage dstack presets: a toolkit that streamlines model inference optimization with agents, and a portable preset format. Use together with the dstack skill, and only when the user explicitly asks to create a preset or manage existing presets, not for deploying or serving a model."
license: "MPL-2.0"
metadata:
  decimalai-skill-id: "b1976c10-a588-4770-a36d-c52f18e1cea5"
  decimalai-version-id: "ec5eddaf-89c6-46c4-afb4-99deacd704be"
  decimalai-version: "1"
  decimalai-body-sha256: "50cb4168fe7af38f53b3f0a9f01e2834eda4ae07da69de9049aae94f8bb6423d"
  decimalai-name: "dstackai/dstack-presets"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "ai-ml"
  decimalai-source: "https://app.decimal.ai/s/dstackai-dstack-presets@1/SKILL.md"
---
# dstack Presets

Use `/dstack` for CLI commands, YAML fields, apply behavior, fleets, and other
dstack syntax. This skill covers creating and managing presets.

## Overview

Presets offer two things: a toolkit that streamlines model inference optimization using agents, and a portable format that deploys the final preset to any cloud, Kubernetes cluster, or bare-metal fleet. A preset holds the serving configuration that produced the result, the benchmark it reached, and the exact hardware it was verified on.

Presets are used for three kinds of work: finding an optimized baseline, optimizing through patching source code, and supporting new hardware.

**When to use this skill:**
- The user explicitly asks to create a preset, or to optimize model inference via a preset
- Managing already created presets: watching sessions, listing, exporting, and deleting them via `dstack preset` commands

**When NOT to use this skill:**
- Deploying or serving a model: use a service instead (see the `dstack` skill)

## How to use presets

Follow the [presets documentation](https://dstack.ai/docs/concepts/presets.md).

[Configuration reference](https://dstack.ai/docs/reference/dstack.yml/preset.md) | [CLI reference](https://dstack.ai/docs/reference/cli/dstack/preset.md)
