Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI Reference

Environment Variables

VariableDescriptionDefault
VIBE_CONFIGPath to config file~/.vibe-action/config.yaml
VIBE_ACTION_PATHPath to actions directory~/.vibe-action/actions/
VIBE_LOG_TYPEOutput mode: cli, plain, json, tracing, testcli
VIBE_TRACE_LEVELTracing level: error, warn, info, debug, trace (Only works when VIBE_LOG_TYPE=tracing)info
VIBE_SKIP_LOCKDisables the singleton guard allowing multiple instances to run in parallel (e.g., for API clusters)Not set (guard enabled)

Output Modes

ModeDescription
cliANSI colors, progress bar, framed results (default)
plainResult only, no formatting (for tests/CI)
jsonJSON objects {"level":"...","message":"..."} (for IDE/extension integration)
tracingStructured logs with timestamps and log levels (supports VIBE_TRACE_LEVEL)
testInternal testing mode

Trace Levels

Note: VIBE_TRACE_LEVEL is only respected when VIBE_LOG_TYPE is set to tracing. Using it with other modes will cause an error.

LevelDescription
errorErrors only
warnWarnings and errors
infoFlow progress and results
debugDetailed engine internals
traceMaximum verbosity

Commands

Execute a YAML-defined action directly:

vibe-action <name> [args...]
vibe-action commit -p .
vibe-action translate-small -f README.md -l Russian
vibe-action tone   # reads from clipboard
vibe-action --help

System commands:

vibe-action clean              # Remove all cache and temp files
vibe-action status             # Show version and actions count
vibe-action stop               # Stop all running processes
vibe-action bench              # Run all benchmarks
vibe-action bench -a faq -v    # Run benchmarks for specific action with output

Action Arguments

Each action defines its own arguments in YAML. Use --help to see available options:

vibe-action commit --help
vibe-action extract --help

Exit Codes

CodeDescription
0Success
1Error (validation failed, shell command failed, LLM error)
130Instance superseded by a newer run (auto-cancelled)

Debug Mode

Set VIBE_LOG_TYPE=tracing and VIBE_TRACE_LEVEL=debug (or trace) for detailed logs:

VIBE_LOG_TYPE=tracing VIBE_TRACE_LEVEL=debug vibe-action commit -p .

Shows:

  • Original and resolved action text
  • Shell command output
  • LLM prompts and responses