Your first YAML recipe
Run two local commands in an ephemeral workspace, without Git, Docker or an agent account.
Create a file, then read it in a second task. You need Node.js 24+ and the Outpost package. This first run needs no Git repository, Docker image or agent account.
1. Install the package
Section titled “1. Install the package”In a new directory, install Outpost. Save both YAML files below in that directory.
2. Describe the work
Section titled “2. Describe the work”recipe.yaml lists the tasks. after: [write] makes the second command wait for the first; both use the same working directory.
3. Choose where it runs
Section titled “3. Choose where it runs”outpost.yaml selects an empty temporary workspace and local execution. Commands run on your machine with your permissions; local provides no isolation. ephemeral describes the working files, not a security boundary.
Use version 3 in both files for these guides. Their versions describe separate YAML formats, not the installed package version. The schema comments enable completion in editors with a YAML language server.
4. Run and inspect
Section titled “4. Run and inspect”Validate the files, then execute the recipe with a final JSON report. Validation does not run commands or allocate a sandbox.
Each task declares one operation. If you put both agent and command in a format-3 task, validation names the conflicting operations and reports the task’s line and column. Split them into separate tasks and connect them with after.
In the report, outputs.read.stdout contains Hello from Outpost!. The workspace is temporary: hello.txt is not created beside your YAML files. Without --json or configured reports, a successful run is silent.
Next steps
Section titled “Next steps”| You want to… | Continue with… |
|---|---|
| Keep generated files, copy a directory or use a Git branch | Choose a workspace |
| Add an agent or switch to Docker | Configure execution |
| Pass inputs and results between tasks | Compose steps |
| See progress and final results | Follow a run |
| Pause for approval and resume | Save progress |
The recipe CLI reference lists commands and flags.

