# Headless runs

Use foxora run for one prompt that streams plain text to standard output and exits with failure status when the run fails.

## Examples




Terminal



```
foxora run "summarize this repository"
foxora run fast -n "fix the failing test"
foxora run pro --prompt "review this architecture"
foxora run max -n "analyze the hardest unresolved issue"
```




- Run from the project directory the task should inspect.

- Quote the prompt so the shell passes it as one value.

- Optionally select `fast`, `pro`, or `max` immediately after `run`.

- Capture output or test `$?` in automation.




Terminal



```
foxora run fast -n "review this diff" > review.txt
```




The current command emits human-readable text, not a `--json` contract. Avoid parsing terminal decoration as structured data.




**Expected result:** a successful run prints the reply and exits zero; an unreachable or failed run exits non-zero.

Source: https://www.foxora.ai/docs/ko/cli/headless-runs
