# Dstack Presets

Create and manage dstack presets: a toolkit that streamlines model inference...

- Repository: https://github.com/dstackai/dstack (2298 stars)
- Category: AI and agents
- License: MPL-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add dstackai/dstack --skill dstack-presets -g -a claude-code -y`
Codex: `npx skills add dstackai/dstack --skill dstack-presets -g -a codex -y`
Cursor: `npx skills add dstackai/dstack --skill dstack-presets -g -a cursor -y`
Gemini CLI: `npx skills add dstackai/dstack --skill dstack-presets -g -a gemini-cli -y`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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)

