Headless Mode
wilson --run "<query>"Runs a single AI query without the interactive TUI. Wilson processes the query, executes any necessary tools, and prints the result to stdout.
Examples
Section titled “Examples”# Quick spending checkwilson --run "How much did I spend on dining this month?"
# Generate a summarywilson --run "Give me a spending summary for last month"
# Find anomalieswilson --run "Are there any duplicate charges or unusual transactions?"
# Run a skillwilson --run "Run the subscription audit skill"Scripting
Section titled “Scripting”Combine with other CLI commands:
# Import and summarizewilson --run "Import transactions from ~/Downloads/chase.csv" && \wilson --summary month
# Daily import via cron0 9 * * * cd ~/wilson && bun start --run "Import ~/Downloads/latest.csv"Output
Section titled “Output”Headless mode prints the AI’s final answer to stdout. Tool execution details are suppressed. Use --status or --summary for structured reports instead of --run when you need predictable output formats.
Combining with Report Commands
Section titled “Combining with Report Commands”For automated reporting, prefer the dedicated report flags over --run:
# Weekly spending emailwilson --summary week --offset 0 > /tmp/weekly.txt && \ mail -s "Weekly Spending" you@email.com < /tmp/weekly.txt
# Monthly P&L exportwilson --pnl month --offset 1 > ~/reports/pnl-$(date +%Y-%m).txt