Skip to content

warden run

Terminal window
warden [targets...] [options]
warden run [targets...] [options]

Runs Warden analysis against explicit targets or the current branch by default. The bare warden command is an alias for this command.

ArgumentPurpose
targets...Files, globs, git refs, or @files containing target lists.
OptionPurpose
-C, --cwd <path>Run as if invoked from this directory.
--skill <name|path>Run only this skill by name or path. Names fall back to built-ins.
--config <path>Path to warden.toml.
-m, --model <model>Model fallback when warden.toml does not specify one. See Models and Runtimes.
--jsonOutput results as JSON.
-o, --output <path>Write full run output to a JSONL file.
--fail-on <severity>Exit with code 1 if findings meet this severity.
--report-on <severity>Only show findings at or above this severity.
--min-confidence <level>Only show findings at or above this confidence.
--fixAutomatically apply all suggested fixes.
--parallel <n>Max concurrent file analyses across running skills.
-x, --fail-fastStop after the first finding.
--stagedAnalyze only staged changes.
--gitForce ambiguous targets to be treated as git refs.
--offlineUse cached remote skills without network access.
--quietErrors and final summary only.
-v, --verboseIncrease verbosity. Repeat as -vv or combine with --debug.
--debugEnable debug output.
--logUse log output mode.
--color / --no-colorOverride color detection.
-h, --helpShow help for this command.
Terminal window
warden src/auth.ts
warden @targets.txt --skill security-review
warden "src/**/*.ts" --skill security-review
warden HEAD~3
warden --staged --fix