Overview
AtlasOS uses the AME Wizard Playbook format to automate Windows modifications. The playbook is a structured directory containing configuration files, executables, and metadata that define how Atlas transforms Windows.Directory Structure
The playbook is located atsrc/playbook/ and follows this structure:
playbook.conf File Format
Theplaybook.conf file is an XML configuration file that defines the playbook’s metadata, requirements, and user interface.
Basic Structure
Key Configuration Sections
Metadata Fields
Supported Windows Builds
playbook.conf:15-20
Requirements
The playbook enforces specific requirements before installation:playbook.conf:22-29
Configuration Options
playbook.conf:30-40
Feature Pages
The playbook defines interactive setup pages for user customization:Radio Pages (Single Choice)
playbook.conf:57-70
Checkbox Pages (Multiple Choice)
playbook.conf:99-115
Radio Image Pages (Visual Selection)
playbook.conf:141-174
OOBE Configuration
Controls the Out-Of-Box Experience:playbook.conf:41-51
ISO Configuration
playbook.conf:52-55
How Playbooks Work
Execution Flow
- AME Wizard reads
playbook.confand validates requirements - User Configuration - Users make selections through Feature Pages
- File Copying - Executables folder is copied to
C:\Windows\AtlasDesktopandC:\Windows\AtlasModules - Task Execution -
Configuration/custom.ymlorchestrates all tasks:- Loads default user registry hive
- Copies files to Windows directory
- Executes core configuration tasks from
atlas/folder - Applies tweaks from
tweaks/folder - Runs cleanup and optimization scripts
- Unloads registry hive
Task Orchestration
The root configuration file (custom.yml) coordinates all tasks:
Action Types
Playbooks support various action types:!powerShell- Execute PowerShell scripts!cmd- Execute Command Prompt commands!task- Reference another YAML configuration file!writeStatus- Update installation progress text!taskKill- Terminate processes!run- Launch executables!registryValue- Modify registry values!scheduledTask- Configure scheduled tasks!service- Configure Windows services
Building the Playbook
- Windows
- Linux
.apbx playbook package file.The
.apbx file is a compressed archive containing all playbook files that AME Wizard can execute.Best Practices
Configuration Organization
Configuration Organization
- Keep core system changes in
Configuration/atlas/ - Categorize tweaks by purpose (debloat, performance, privacy, qol, security)
- Use descriptive file names that explain what the tweak does
Task Dependencies
Task Dependencies
- Set
wait: truefor tasks that must complete before others - Use
onUpgrade: falsefor tasks that should only run on fresh installs - Use
oobe: falsefor tasks that should only run during actual installation
Error Handling
Error Handling
- Use
ignoreErrors: truefor optional tasks - Use
handleExitCodes: { "!0": halt }to stop on critical failures - Include fallback options for system-specific variations
Related Resources
Configuration Files
Learn about YAML configuration file structure
Executables
Explore scripts and tools in the Executables folder