Configuration
Configuration File
All settings live in a single YAML file:
Windows: %USERPROFILE%\.clausi\config.yml
macOS/Linux: ~/.clausi/config.yml
Configuration Structure
Typical structure:
openai_key: "sk-..."
report:
company_name: "ACME Corp"
company_logo: "C:/assets/logo.png"
template: "default" # default | detailed | executive
regulations:
default: EU-AIA # default selection for scans
Configuration Commands
Command | Purpose |
---|---|
clausi config show | Display current configuration |
clausi config set [...] | Update one or more fields |
clausi config edit | Open the YAML in $EDITOR / Notepad |
clausi config path | Print the config file location |
Environment Variables
Variable | Purpose |
---|---|
OPENAI_API_KEY | Overrides openai_key from the YAML file |
CLAUSI_OUTPUT_DIR | Overrides report.output_dir |
Precedence: CLI flag → environment variable → config file → default.