Skip to content

crush run

Run a single non-interactive prompt. This is useful for automation, CI/CD pipelines, or quick one-off tasks without entering the TUI.

Usage

bash
crush run "your prompt here"
crush r "your prompt here"    # short alias

Flags

FlagShortDescription
--model-mModel to use (accepts model or provider/model)
--small-modelSmall model to use for lightweight tasks
--quiet-qHide the progress spinner
--verbose-vShow detailed logs
--session-sContinue a previous session
--continue-CContinue the most recent session
--yolo-yEnable YOLO mode
--debug-dEnable debug logging

Examples

Run a simple prompt

bash
crush run "explain this codebase to me"

Use a specific model

bash
crush run -m claude-sonnet-4 "refactor this function"

Continue a session non-interactively

bash
crush run -C "now add tests for that function"

Quiet mode for scripts

bash
result=$(crush run -q "generate a commit message")

Read from stdin

bash
cat README.md | crush run "summarize this documentation"