What are Presets?
Presets are workspace templates that define a set of commands to run when creating a new workspace. They allow you to automate repetitive setup tasks and jump straight into development.Think of presets as “saved terminal commands” that run automatically when you create a workspace.
Use Cases
- Agent Launch: Start a coding agent with a specific prompt
- Dev Environment: Launch dev server, database, and monitoring tools
- Test Suite: Run tests in watch mode
- Build Pipeline: Start build watchers and linters
- Multi-Service Setup: Launch multiple services (API, frontend, workers)
How to Create Presets
Via Settings UI
- Open Settings → Terminal Presets (
⌘/) - Click Add Preset
- Configure your preset:
- Name: Display name (e.g., “Dev Server”)
- Description: What the preset does (optional)
- Commands: Shell commands to execute
- Working Directory: Where to run commands (relative to workspace root)
- Execution Mode: How to run the commands
Execution Modes
Presets support three execution modes:Split Pane
Runs all commands in the active tab, each in its own split pane.Best for: Multiple long-running services
New Tab
Creates a new tab for each command.Best for: Independent tasks you want to monitor separately
New Tab + Split
Creates one new tab with all commands in split panes.Best for: Related commands you want grouped together
Preset Configuration
Presets are stored in the local database with this structure:Example Presets
Launch Claude Code Agent
Launch Claude Code Agent
Full Stack Dev Environment
Full Stack Dev Environment
Test Runner
Test Runner
Build Watchers
Build Watchers
Common Preset Patterns
1. Agent Launch Preset
Launch a coding agent with a specific task:2. Dev Server Preset
Start your development server:3. Multi-Service Preset
Launch multiple services in split panes:4. Database Setup Preset
Start databases and run migrations:5. Test Suite Preset
Run tests across multiple packages:Quick Create with Presets
The fastest way to use presets:Keyboard Shortcut: ⌘⇧N
Press ⌘⇧N to instantly create a workspace with your default preset.
What happens:
- New workspace is created
- Default preset commands run automatically
- You’re ready to work immediately
Mark a preset as default by enabling Apply on Workspace Created in preset settings.
Ctrl+[1-9]: Launch Pinned Preset
PressCtrl+1 through Ctrl+9 to launch presets pinned to the presets bar.
Setup:
- Open Settings → Terminal Presets
- Enable Pin to Presets Bar for your favorite presets
- They’ll appear in the terminal interface
- Press
Ctrl+[1-9]to launch them
Preset Options
Pin to Presets Bar
Option:pinnedToBar: boolean
Displays the preset in the terminal presets bar for quick access.
Default Preset
Option:isDefault: boolean
Marks the preset as the default for new workspaces.
Auto-Apply on Workspace Created
Option:applyOnWorkspaceCreated: boolean
Automatically runs the preset when creating a workspace with Quick Create (⌘⇧N).
Auto-Apply on New Tab
Option:applyOnNewTab: boolean
Automatically runs the preset when creating a new terminal tab (⌘T).
Working Directory
Option:cwd: string
The working directory is relative to the workspace root.
All commands in the preset run from this directory.
Environment Variables in Presets
Preset commands have access to:| Variable | Description |
|---|---|
SUPERSET_WORKSPACE_NAME | Current workspace name |
SUPERSET_ROOT_PATH | Path to main repository |
Advanced Preset Techniques
Conditional Commands
Use shell conditionals in preset commands:Sequential vs Parallel
Commands in a preset run in parallel by default (each in its own terminal pane). For sequential execution, chain commands with&&:
Background Processes
Launch background processes in presets:Preset Management
Editing Presets
- Open Settings → Terminal Presets
- Click the preset to edit
- Modify settings
- Click Save
Deleting Presets
- Open Settings → Terminal Presets
- Click the preset to delete
- Click Delete Preset
- Confirm deletion
Exporting Presets
Presets are stored in your local Superset database. To share presets:- Manually copy preset configuration from Settings
- Share the JSON with your team
- They can recreate the preset in their Superset instance
Future versions of Superset will support preset import/export.
Best Practices
Descriptive Names
Use clear, descriptive names. “Dev Server” is better than “Preset 1”.
Keep Commands Simple
Avoid complex shell scripts in presets. Use separate script files for complex logic.
Pin Your Favorites
Pin frequently-used presets to the presets bar for quick access via Ctrl+[1-9].
One Default Only
Mark only one preset as default for Quick Create. Choose your most common workflow.
Troubleshooting
Preset commands don't run
Preset commands don't run
Possible causes:
- Working directory doesn’t exist
- Command binary not in PATH
- Shell syntax error
Environment variables not available
Environment variables not available
Cause: Variables like
$SUPERSET_WORKSPACE_NAME only exist in workspace terminals, not your main shell.Solution: These variables are automatically available when running preset commands in Superset workspaces.Commands run in wrong directory
Commands run in wrong directory
Cause:
cwd is set incorrectly or directory doesn’t exist in worktree.Solution: Verify the cwd path exists in your workspace. Use . for workspace root.Preset keyboard shortcut doesn't work
Preset keyboard shortcut doesn't work
Cause: Preset isn’t pinned to the presets bar.Solution: Enable Pin to Presets Bar in preset settings.
Examples from Real Projects
Next.js Monorepo
Rust Project
Python Flask App
Go Microservices
Next Steps
Workspaces
Learn how presets integrate with workspaces
Configuration
Configure setup scripts that run before presets
Agents
Create presets to auto-launch coding agents
Keyboard Shortcuts
Master all preset keyboard shortcuts