Skip to main content
The following environment variables are available in all agent bash tool executions, including init hooks.

Available Variables

Matching MUX_* names remain accepted aliases. When both are set, the SHUX_* value wins. See Mux compatibility.

Usage Example

Use Cases

  • PR footers: Include model and cost information in automated PR descriptions
  • Conditional logic: Adapt scripts based on runtime environment
  • Logging: Track which model and settings were used for a task
  • Cost monitoring: Check cumulative costs before expensive operations