Skip to content

Configuration

OMAS uses sensible defaults with all configuration defined in src/omas/config.py. This page documents all paths, thresholds, and environment variables.

Data Paths

Claude Code Paths

PathDescription
~/.claude/Claude Code data directory
~/.claude/projects/Project session logs (JSONL files)
~/.claude/history.jsonlClaude Code command history

OMAS Paths

PathDescription
~/.omas/OMAS data directory
~/.omas/metrics.dbSQLite database with all computed metrics
~/.omas/reports/Generated report files
~/.omas/upload_queue.jsonFailed upload retry queue

Thread Classification Thresholds

These thresholds determine how sessions are classified into thread types. They are evaluated in priority order — the first matching rule wins.

Z-thread (Zero-touch)

ConstantValueDescription
Z_THREAD_MAX_HUMAN_MESSAGES1Maximum human messages allowed
Z_THREAD_MIN_TOOL_CALLS10Minimum tool calls required

B-thread (Big)

ConstantValueDescription
B_THREAD_MIN_DEPTH2Minimum sub-agent nesting depth

L-thread (Long)

ConstantValueDescription
L_THREAD_MIN_AUTONOMOUS_MINUTES30.0Minimum autonomous stretch in minutes
L_THREAD_MIN_TOOL_CALLS50Minimum tool calls required

F-thread (Fusion)

ConstantValueDescription
F_THREAD_MIN_SIMILARITY0.7Minimum Jaccard similarity between sub-agent prompts

P-thread (Parallel)

ConstantValueDescription
P_THREAD_MIN_CONCURRENT2Minimum concurrent agents

C-thread (Chained)

ConstantValueDescription
C_THREAD_MIN_HUMAN_MESSAGES3Minimum human messages
C_THREAD_MIN_TOOLS_PER_GAP3Minimum tool calls between each human message pair

Fair Comparison Thresholds

Sessions must meet all of these to be included in aggregate scoring:

ThresholdValueDescription
session_duration_minutes5Minimum session duration
total_tool_calls10Minimum tool calls
total_human_messages1Minimum human messages

Automated Message Filters

OMAS filters out automated/system messages that don't represent actual human input. Messages containing any of these patterns are excluded from human message counts:

python
AUTOMATED_MESSAGE_PATTERNS = [
    "<observed_from_primary_session>",
    "<local-command-",
    "<system-reminder>",
]

Environment Variables

VariableDescriptionDefault
OMAS_API_URLCloud API base URLhttps://api.omas.dev
OMAS_DISABLE_CLOUDDisable all cloud features when set to 1(unset)

CLI Global Options

OptionDescriptionDefault
--claude-dirPath to Claude Code data directory~/.claude

Released under the MIT License.